Description
openedon Sep 14, 2023
This is a continuation of my issue/potential bug discussed on Discourse: https://discourse.julialang.org/t/determining-source-of-failure-to-precompile-when-using-precompiletools/103705.
Originally, I was using version 1.9.2; then I was advised to use the debug build for 1.9.3. After doing so, the full stacktrace corresponding to the segfault is:
[79493] signal (11.2): Segmentation fault: 11
in expression starting at REPL[2]:1
jl_load_unaligned_i64 at /Users/pluie/julia/src/support/dtypes.h:289
crc32c_armv8 at /Users/pluie/julia/src/crc32c.c:262
jl_crc32c at /Users/pluie/julia/src/crc32c.c:336
jl_restore_package_image_from_stream at /Users/pluie/julia/src/staticdata.c:3333
jl_restore_incremental_from_buf at /Users/pluie/julia/src/staticdata.c:3388
ijl_restore_package_image_from_file at /Users/pluie/julia/src/staticdata.c:3503
_include_from_serialized at ./loading.jl:1052
_tryrequire_from_serialized at ./loading.jl:1442
unknown function (ip: 0x10450c9df)
_jl_invoke at /Users/pluie/julia/src/gf.c:2758
ijl_invoke at /Users/pluie/julia/src/gf.c:2765
_require at ./loading.jl:1816
_require_prelocked at ./loading.jl:1660
macro expansion at ./loading.jl:1648 [inlined]
macro expansion at ./lock.jl:267 [inlined]
require at ./loading.jl:1611
jfptr_require_39877 at /Users/pluie/julia/usr/lib/julia/sys-debug.dylib (unknown line)
_jl_invoke at /Users/pluie/julia/src/gf.c:2739
ijl_apply_generic at /Users/pluie/julia/src/gf.c:2940
jl_apply at /Users/pluie/julia/src/./julia.h:1880
call_require at /Users/pluie/julia/src/toplevel.c:466
eval_import_path at /Users/pluie/julia/src/toplevel.c:503
jl_toplevel_eval_flex at /Users/pluie/julia/src/toplevel.c:731
jl_toplevel_eval_flex at /Users/pluie/julia/src/toplevel.c:856
ijl_toplevel_eval at /Users/pluie/julia/src/toplevel.c:921
ijl_toplevel_eval_in at /Users/pluie/julia/src/toplevel.c:971
eval at ./boot.jl:370 [inlined]
eval_user_input at /Users/pluie/julia/usr/share/julia/stdlib/v1.9/REPL/src/REPL.jl:153
repl_backend_loop at /Users/pluie/julia/usr/share/julia/stdlib/v1.9/REPL/src/REPL.jl:249
#start_repl_backend#46 at /Users/pluie/julia/usr/share/julia/stdlib/v1.9/REPL/src/REPL.jl:234
start_repl_backend at /Users/pluie/julia/usr/share/julia/stdlib/v1.9/REPL/src/REPL.jl:231
jl_fptr_args at /Users/pluie/julia/src/gf.c:2405
_jl_invoke at /Users/pluie/julia/src/gf.c:2739
ijl_apply_generic at /Users/pluie/julia/src/gf.c:2940
#run_repl#59 at /Users/pluie/julia/usr/share/julia/stdlib/v1.9/REPL/src/REPL.jl:379
run_repl at /Users/pluie/julia/usr/share/julia/stdlib/v1.9/REPL/src/REPL.jl:365
jfptr_run_repl_60106 at /Users/pluie/julia/usr/lib/julia/sys-debug.dylib (unknown line)
_jl_invoke at /Users/pluie/julia/src/gf.c:2739
ijl_apply_generic at /Users/pluie/julia/src/gf.c:2940
#1017 at ./client.jl:421
jfptr_YY.1017_53335 at /Users/pluie/julia/usr/lib/julia/sys-debug.dylib (unknown line)
_jl_invoke at /Users/pluie/julia/src/gf.c:2739
ijl_apply_generic at /Users/pluie/julia/src/gf.c:2940
jl_apply at /Users/pluie/julia/src/./julia.h:1880
jl_f__call_latest at /Users/pluie/julia/src/builtins.c:774
#invokelatest#2 at ./essentials.jl:819 [inlined]
invokelatest at ./essentials.jl:816 [inlined]
run_main_repl at ./client.jl:405
exec_options at ./client.jl:322
_start at ./client.jl:522
jfptr__start_29995 at /Users/pluie/julia/usr/lib/julia/sys-debug.dylib (unknown line)
_jl_invoke at /Users/pluie/julia/src/gf.c:2739
ijl_apply_generic at /Users/pluie/julia/src/gf.c:2940
jl_apply at /Users/pluie/julia/src/./julia.h:1880
true_main at /Users/pluie/julia/src/jlapi.c:573
jl_repl_entrypoint at /Users/pluie/julia/src/jlapi.c:717
Allocations: 8227768 (Pool: 8225538; Big: 2230); GC: 12
zsh: segmentation fault ./julia
#################################
Results from versioninfo():
Julia Version 1.9.3
Commit bed2cd5 (2023-08-24 14:43 UTC)
Build Info:
DEBUG build
Note: This is an unofficial build, please report bugs to the project
responsible for this build and not to the Julia project unless you can
reproduce the issue using official builds available at https://julialang.org/downloads
Platform Info:
OS: macOS (arm64-apple-darwin22.3.0)
CPU: 8 × Apple M1
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
Threads: 1 on 4 virtual cores