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

Open
#159 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
julia
Domain
desktop

Research direction

Reproduce the crash by initializing QQmlPropertyMap() or JuliaPropertyMap() on an M1 Mac with the Julia REPL. Start at the reported assertion in jlcxx/type_conversion.hpp line 641 and determine why boxed_cpp_pointer fails; done when property-map initialization no longer aborts the REPL.

Written by the indexing model from the issue text.

Description

mac needs more info

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
Dominant language
Julia
Stars
437
Forks
39
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaGraphics/QML.jl

All issues in JuliaGraphics/QML.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.