# Segfaults on Julia 1.7 Apple M1

**URL:** <https://discourse.julialang.org/t/segfaults-on-julia-1-7-apple-m1/72566>\
**Category:** General Usage\
**Tags:** segfault\
**Created:** [December 4, 2021, 8:05am UTC](https://discourse.julialang.org/t/segfaults-on-julia-1-7-apple-m1/72566 "2021-12-04T08:05:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![essenciary](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/essenciary/32/210469_2.png) [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Post date:** [December 4, 2021, 8:05am UTC](https://discourse.julialang.org/t/segfaults-on-julia-1-7-apple-m1/72566/1 "2021-12-04T08:05:25Z")

</div>

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?

Example:

```julia
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/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
print_to_string at ./strings/io.jl:144
jl_apply_generic at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
string at ./strings/io.jl:185
jl_apply_generic at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (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/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
start_task at /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib (unknown line)
Allocations: 162743241 (Pool: 162687169; Big: 56072); GC: 90

```

```julia
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
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, cyclone)

```

---

<div class="post-metadata">

**Author:** ![hexaeder](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hexaeder/32/24403_2.png) [@hexaeder](https://discourse.julialang.org/u/hexaeder)\
**Post date:** [December 4, 2021, 8:19am UTC](https://discourse.julialang.org/t/segfaults-on-julia-1-7-apple-m1/72566/2 "2021-12-04T08:19:47Z")

</div>

There are plenty of known bugs in the native version, especially segfaults and deadlocks. See [issue tracker](https://github.com/JuliaLang/julia/labels/apple%20silicon).  
Thats why it is only tier 3 support. I’d suggest to stick to the rosetta version for now…

---

<div class="post-metadata">

**Author:** ![essenciary](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/essenciary/32/210469_2.png) [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Post date:** [December 4, 2021, 10:43am UTC](https://discourse.julialang.org/t/segfaults-on-julia-1-7-apple-m1/72566/3 "2021-12-04T10:43:22Z")

</div>

Understood, thank you, I’ll do that.
