You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered this segfault on 1.10.5 when running a program that had been revised a few times using Revise.jl. The trace seems similar to #48354, but I did not load Julia with a sysimage (unless Julia did that on its own?).
[333095] signal (11.1): Segmentation fault
in expression starting at REPL[34]:1
jl_object_id__cold at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/builtins.c:455
type_hash at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/jltypes.c:1584
typekey_hash at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/jltypes.c:1614
jl_precompute_memoized_dt at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/jltypes.c:1694
inst_datatype_inner at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/jltypes.c:2141
jl_inst_arg_tuple_type at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/jltypes.c:2243
arg_type_tuple at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:2232 [inlined]
jl_lookup_generic_ at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3021 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3073
print_to_string at ./strings/io.jl:143
string at ./strings/io.jl:189 [inlined]
showerror at ./errorshow.jl:79
#showerror#919 at ./errorshow.jl:95
showerror at ./errorshow.jl:93 [inlined]
showvalue at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/Logging/src/ConsoleLogger.jl:56
unknown function (ip: 0x7f08fafde7a9)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3077
#handle_message#3 at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/Logging/src/ConsoleLogger.jl:134
handle_message at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/Logging/src/ConsoleLogger.jl:106
unknown function (ip: 0x7f09370e5d96)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3077
jl_apply at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/julia.h:1982 [inlined]
jl_f__call_latest at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/builtins.c:812
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3077
jl_apply at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/julia.h:1982 [inlined]
do_apply at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/builtins.c:768
#invokelatest#2 at ./essentials.jl:894
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3077
jl_apply at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/julia.h:1982 [inlined]
do_apply at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/builtins.c:768
invokelatest at ./essentials.jl:889
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3077
macro expansion at ./logging.jl:377 [inlined]
#invoke_interactive#392 at /path/to/mycode.jl:387
invoke_interactive at /path/to/mycode.jl:286
unknown function (ip: 0x7f08faf69845)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3077
test_interactive at /path/to/mycode.jl:17
unknown function (ip: 0x7f08faf418a2)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3077
jl_apply at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/julia.h:1982 [inlined]
do_call at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/interpreter.c:126
eval_value at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/interpreter.c:223
eval_stmt_value at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/interpreter.c:174 [inlined]
eval_body at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/interpreter.c:617
jl_interpret_toplevel_thunk at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/interpreter.c:775
jl_toplevel_eval_flex at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/toplevel.c:934
jl_toplevel_eval_flex at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/toplevel.c:877
jl_toplevel_eval_flex at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/toplevel.c:877
jl_toplevel_eval_flex at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/toplevel.c:877
ijl_toplevel_eval_in at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/toplevel.c:985
eval at ./boot.jl:385 [inlined]
eval_user_input at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:150
repl_backend_loop at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:246
#start_repl_backend#46 at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:231
start_repl_backend at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:228
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3077
#run_repl#59 at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:389
run_repl at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/usr/share/julia/stdlib/v1.10/REPL/src/REPL.jl:375
jfptr_run_repl_91805.1 at /home/salmon/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3077
#1013 at ./client.jl:432
jfptr_YY.1013_82772.1 at /home/salmon/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3077
jl_apply at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/julia.h:1982 [inlined]
jl_f__call_latest at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/builtins.c:812
#invokelatest#2 at ./essentials.jl:892 [inlined]
invokelatest at ./essentials.jl:889 [inlined]
run_main_repl at ./client.jl:416
exec_options at ./client.jl:333
_start at ./client.jl:552
jfptr__start_82798.1 at /home/salmon/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:2895 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3077
jl_apply at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/julia.h:1982 [inlined]
true_main at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/jlapi.c:582
jl_repl_entrypoint at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/jlapi.c:731
main at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/cli/loader_exe.c:58
unknown function (ip: 0x7f0b0f3e91c9)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x4010b8)
Allocations: 2280975759 (Pool: 2277641463; Big: 3334296); GC: 1421
[1] 333095 segmentation fault (core dumped) julia -t auto,auto --project
backtrace from the core dump:
(gdb) bt
#0 jl_object_id__cold (dt=0x0, v=0x7f0b080fd000) at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/builtins.c:455
#1 0x00007f0b0e8002d8 in ijl_object_id_ (v=0x7f0b080fd000, tv=<optimized out>) at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/builtins.c:472
#2 0x00007f0b0e7d8018 in type_hash (kj=kj@entry=0x7f0b080fd000, failed=failed@entry=0x7fffddcedbcc) at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/jltypes.c:1584
#3 0x00007f0b0e7d80c5 in typekey_hash (tn=0x7f0afedbc930 <jl_system_image_data+72569328>, key=0x7f08fc3532d8, n=2, nofail=<optimized out>) at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/jltypes.c:1614
#4 0x00007f0b0e7db69a in jl_precompute_memoized_dt (dt=0x7f08fdf7cc10, cacheable=cacheable@entry=0) at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/jltypes.c:1694
#5 0x00007f0b0e7dcc81 in inst_datatype_inner (dt=<optimized out>, p=<optimized out>, iparams=<optimized out>, ntp=<optimized out>, ntp@entry=2, stack=0x7fffddcedce0, stack@entry=0x0, env=env@entry=0x0, check=<optimized out>, nothrow=<optimized out>)
at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/jltypes.c:2141
#6 0x00007f0b0e7dea0f in jl_inst_arg_tuple_type (arg1=arg1@entry=0x7f0afae4c000 <jl_system_image_data+6047936>, args=args@entry=0x7fffddcedef0, nargs=nargs@entry=2, leaf=leaf@entry=1) at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/jltypes.c:2243
#7 0x00007f0b0e7ec45b in arg_type_tuple (nargs=2, args=0x7fffddcedef0, arg1=0x7f0afae4c000 <jl_system_image_data+6047936>) at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:2232
#8 jl_lookup_generic_ (world=32105, callsite=<optimized out>, nargs=2, args=0x7fffddcedef0, F=0x7f0afae4c000 <jl_system_image_data+6047936>) at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3021
#9 ijl_apply_generic (F=0x7f0afae4c000 <jl_system_image_data+6047936>, args=0x7fffddcedef0, nargs=1) at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-10/src/gf.c:3073
#10 0x00007f0af990a9c6 in japi1_print_to_string_69274 () at strings/io.jl:143
#11 0x00007f08fafde16d in ?? ()
#12 0x0000000000000000 in ?? ()
(gdb) info registers
rax 0x7f0b0f3be0d0 139685476950224
rbx 0x7fffddcedbcc 140736914709452
rcx 0x0 0
rdx 0xd48147e480000000 -3134144818947555328
rsi 0x7f0b080fd000 139685356621824
rdi 0x0 0
rbp 0x7fffddcedb90 0x7fffddcedb90
rsp 0x7fffddcedb68 0x7fffddcedb68
r8 0x7f0afedbef50 139685202227024
r9 0x0 0
r10 0x20 32
r11 0x7f0b0f3be078 139685476950136
r12 0x7f0b080fd000 139685356621824
r13 0x0 0
r14 0x7f0b080fd000 139685356621824
r15 0x7fffddcedbcc 140736914709452
rip 0x7f0b0e8008f0 0x7f0b0e8008f0 <jl_object_id__cold+48>
eflags 0x10206 [ PF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
fs_base 0x7f0b0f399140 139685476798784
gs_base 0x0 0
Julia Version 1.10.5
Commit 6f3fdf7b362 (2024-08-27 14:19 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 32 × 13th Gen Intel(R) Core(TM) i9-13900K
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, goldmont)
Threads: 32 default, 1 interactive, 16 GC (on 32 virtual cores)
Environment:
LD_LIBRARY_PATH = /home/salmon/.gvm/pkgsets/go1.23.4/global/overlay/lib:/home/salmon/.gvm/pkgsets/go1.23.4/global/overlay/lib::/usr/local/cuda-12.1/lib64/:/usr/local/cuda-12.1/lib64/
DYLD_LIBRARY_PATH = /home/salmon/.gvm/pkgsets/go1.23.4/global/overlay/lib:/home/salmon/.gvm/pkgsets/go1.23.4/global/overlay/lib
shell> uname -r
5.15.167.4-microsoft-standard-WSL2
The text was updated successfully, but these errors were encountered:
I encountered this segfault on 1.10.5 when running a program that had been revised a few times using Revise.jl. The trace seems similar to #48354, but I did not load Julia with a sysimage (unless Julia did that on its own?).
backtrace from the core dump:
The text was updated successfully, but these errors were encountered: