JuliaGraphics / QML.jl

Build Qt6 QML interfaces for Julia programs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash on using QQmlPropertyMap()/JuliaPropertyMap() on M1 Macbook

f-ij opened this issue · comments

Upon initializing a property map, my whole julia REPL crashes and I get the following error:

Assertion failed: (jl_datatype_nfields(dt) == 1), function boxed_cpp_pointer, file /opt/aarch64-apple-darwin20/aarch64-apple-darwin20/sys-root/usr/local/include/jlcxx/type_conversion.hpp, line 641.

[11534] signal (6): Abort trap: 6
in expression starting at REPL[2]:1
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 2463025 (Pool: 2462396; Big: 629); GC: 3
zsh: abort      /Applications/Julia-1.9.app/Contents/Resources/julia/bin/julia

Hello,

I am on Windows 11, and am having this issue as well.

EDIT: looks like the main brain is working for me, #161 (comment)

For anyone else having this problem, you need to use

add QML#put commit-hash here

and copy from the most recent commit in this repository for the hash as of 8/17/2023

@f-ij Does version 0.8.1 work for you?