I ported a rather large module called Tbl
from julia 0.6 to 1.0, verifying step by step that everything works, which it does. However, when using Tbl
after it has been modified in any way in a new julia session, I get an error at the end (after parsing everything, a message printed at the end of the loaded file appears) and julia exits. The error message is pasted below. What’s funny is if I then restart julia and use again Tbl, everything works! This looks hard to debug. Any suggestions?
signal (11): Erreur de segmentation
in expression starting at no file:0
jl_gc_pool_alloc at /buildworker/worker/package_linux64/build/src/gc.c:963
jl_gc_alloc_ at /buildworker/worker/package_linux64/build/src/julia_internal.h:274 [inlined]
jl_gc_alloc at /buildworker/worker/package_linux64/build/src/gc.c:2668
_new_array_ at /buildworker/worker/package_linux64/build/src/array.c:99
jl_deserialize_value_array at /buildworker/worker/package_linux64/build/src/dump.c:1518
jl_deserialize_value at /buildworker/worker/package_linux64/build/src/dump.c:2023
jl_deserialize_value_array at /buildworker/worker/package_linux64/build/src/dump.c:1532
jl_deserialize_value at /buildworker/worker/package_linux64/build/src/dump.c:2023
jl_deserialize_value_array at /buildworker/worker/package_linux64/build/src/dump.c:1532
jl_deserialize_value at /buildworker/worker/package_linux64/build/src/dump.c:2023
jl_deserialize_struct at /buildworker/worker/package_linux64/build/src/dump.c:1859
jl_deserialize_value_any at /buildworker/worker/package_linux64/build/src/dump.c:1958 [inlined]
jl_deserialize_value at /buildworker/worker/package_linux64/build/src/dump.c:2155
jl_deserialize_value_array at /buildworker/worker/package_linux64/build/src/dump.c:1532
jl_deserialize_value at /buildworker/worker/package_linux64/build/src/dump.c:2023
jl_deserialize_struct at /buildworker/worker/package_linux64/build/src/dump.c:1859
jl_deserialize_value_any at /buildworker/worker/package_linux64/build/src/dump.c:1958 [inlined]
jl_deserialize_value at /buildworker/worker/package_linux64/build/src/dump.c:2155
jl_deserialize_value at /buildworker/worker/package_linux64/build/src/dump.c:1773
jl_deserialize_value_array at /buildworker/worker/package_linux64/build/src/dump.c:1532
jl_deserialize_value at /buildworker/worker/package_linux64/build/src/dump.c:2023
_jl_restore_incremental at /buildworker/worker/package_linux64/build/src/dump.c:3084
jl_restore_incremental at /buildworker/worker/package_linux64/build/src/dump.c:3141
_include_from_serialized at ./loading.jl:614
_require_from_serialized at ./loading.jl:678
_require at ./logging.jl:317
require at ./loading.jl:852
macro expansion at ./logging.jl:311 [inlined]
require at ./loading.jl:834
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1536 [inlined]
call_require at /buildworker/worker/package_linux64/build/src/toplevel.c:441 [inlined]
eval_import_path at /buildworker/worker/package_linux64/build/src/toplevel.c:476
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:633
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/builtins.c:622
eval at ./boot.jl:319
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182
eval_user_input at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:85
macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:117 [inlined]
#28 at ./task.jl:259
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1536 [inlined]
start_task at /buildworker/worker/package_linux64/build/src/task.c:268
unknown function (ip: 0xffffffffffffffff)
Allocations: 1087742 (Pool: 1087294; Big: 448); GC: 1
Erreur de segmentation (core dumped)