Segfaults on Julia 1.7 Apple M1

Julia 1.7 is extremely unstable for me, to the point of being unusable. Getting segfaults in some apps about 50% of the times. It’s been like that since pre-release days but I hoped the issue would go away in the final release.

Anything I can do and any way I can help fix these?


signal (11): Segmentation fault: 11
in expression starting at none:0
#string#403 at ./intfuncs.jl:0
string at ./intfuncs.jl:772 [inlined]
show at ./show.jl:1061 [inlined]
print at ./strings/io.jl:35
unknown function (ip: 0x104d8663b)
jl_apply_generic at /Applications/ (unknown line)
print_to_string at ./strings/io.jl:144
jl_apply_generic at /Applications/ (unknown line)
string at ./strings/io.jl:185
jl_apply_generic at /Applications/ (unknown line)
route_request at /Users/adrian/.julia/dev/Genie/src/Router.jl:157
handle_request at /Users/adrian/.julia/dev/Genie/src/AppServer.jl:235
#24 at /Users/administrator/src/julia/usr/share/julia/stdlib/v1.7/Distributed/src/macros.jl:123 [inlined]
run_work_thunk at /Users/administrator/src/julia/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:63
#remotecall_fetch#154 at /Users/administrator/src/julia/usr/share/julia/stdlib/v1.7/Distributed/src/remotecall.jl:437 [inlined]
remotecall_fetch at /Users/administrator/src/julia/usr/share/julia/stdlib/v1.7/Distributed/src/remotecall.jl:437 [inlined]
#remotecall_fetch#158 at /Users/administrator/src/julia/usr/share/julia/stdlib/v1.7/Distributed/src/remotecall.jl:479 [inlined]
remotecall_fetch at /Users/administrator/src/julia/usr/share/julia/stdlib/v1.7/Distributed/src/remotecall.jl:479 [inlined]
setup_http_listener at /Users/adrian/.julia/dev/Genie/src/AppServer.jl:262
setup_http_listener at /Users/adrian/.julia/dev/Genie/src/AppServer.jl:261 [inlined]
handle at /Users/adrian/.julia/packages/HTTP/aTjcj/src/Handlers.jl:254 [inlined]
handle at /Users/adrian/.julia/packages/HTTP/aTjcj/src/Handlers.jl:277
setup_http_streamer at /Users/adrian/.julia/dev/Genie/src/AppServer.jl:251
#7 at /Users/adrian/.julia/dev/Genie/src/AppServer.jl:117
macro expansion at /Users/adrian/.julia/packages/HTTP/aTjcj/src/Servers.jl:415 [inlined]
#13 at ./task.jl:423
unknown function (ip: 0x104d41b57)
jl_apply_generic at /Applications/ (unknown line)
start_task at /Applications/ (unknown line)
Allocations: 162743241 (Pool: 162687169; Big: 56072); GC: 90
julia> versioninfo()
Julia Version 1.7.0
Commit 3bf9d17731 (2021-11-30 12:12 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.1.0)
  CPU: Apple M1
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, cyclone)

There are plenty of known bugs in the native version, especially segfaults and deadlocks. See issue tracker.
Thats why it is only tier 3 support. I’d suggest to stick to the rosetta version for now…


Understood, thank you, I’ll do that.