JuliaGraphics / QML.jl

Build Qt6 QML interfaces for Julia programs.
Other
386 stars 35 forks source link

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

Open f-ij opened 1 year ago

f-ij commented 1 year ago

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
jonathonprehn commented 1 year ago

Hello,

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

EDIT: looks like the main brain is working for me, https://github.com/barche/QML.jl/issues/161#issuecomment-1543345232

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

ufechner7 commented 1 year ago

@f-ij Does version 0.8.1 work for you?