While browsing through soultions of a query I hit t-trace, S-save goal, u-complete, a-abort and the getting into an infinite stacktrace output. I killed my IDE, but this is the tail of the stacktrace before killing. Maybe it helps:
[Thread 1 (main) at Mon Nov 13 16:36:29 2023] /build/swi-prolog-1APrpF/swi-prolog-9.0.4-0/src/pl-gc.c:716: queryOfFrame: Assertion failed: qf->magic == QID_MAGIC
C-stack trace labeled "assert_fail":
[0] PL_scan_options() at ??:? [0x7f2db45c0e5b]
[1] PL_unify_mpq() at ??:? [0x7f2db457e770]
[2] PL_assert() at ??:? [0x7f2db45394f2]
[3] PL_step_context() at ??:? [0x7f2db455e71e]
[4] PL_describe_context() at ??:? [0x7f2db455ec72]
[5] PL_backtrace_string() at ??:? [0x7f2db455ed2d]
[6] PL_unify_mpq() at ??:? [0x7f2db457e78b]
[7] PL_assert() at ??:? [0x7f2db45394f2]
[8] PL_step_context() at ??:? [0x7f2db455e71e]
[9] PL_describe_context() at ??:? [0x7f2db455ec72]
[10] PL_backtrace_string() at ??:? [0x7f2db455ed2d]
[11] PL_unify_mpq() at ??:? [0x7f2db457e78b]
[12] PL_assert() at ??:? [0x7f2db45394f2]
[13] PL_step_context() at ??:? [0x7f2db455e71e]
[14] PL_describe_context() at ??:? [0x7f2db455ec72]
[15] PL_backtrace_string() at ??:? [0x7f2db455ed2d]
[16] PL_unify_mpq() at ??:? [0x7f2db457e78b]
[17] PL_assert() at ??:? [0x7f2db45394f2]
[18] PL_step_context() at ??:? [0x7f2db455e71e]
[19] PL_describe_context() at ??:? [0x7f2db455ec72]
[20] PL_backtrace_string() at ??:? [0x7f2db455ed2d]
[21] PL_unify_mpq() at ??:? [0x7f2db457e78b]
[22] PL_assert() at ??:? [0x7f2db45394f2]
[23] PL_step_context() at ??:? [0x7f2db455e71e]
[24] PL_describe_context() at ??:? [0x7f2db455ec72]
[25] PL_backtrace_string() at ??:? [0x7f2db455ed2d]
[26] PL_unify_mpq() at ??:? [0x7f2db457e78b]
[27] PL_assert() at ??:? [0x7f2db45394f2]
[28] PL_step_context() at ??:? [0x7f2db455e71e]
[29] PL_describe_context() at ??:? [0x7f2db455ec72]
[30] PL_backtrace_string() at ??:? [0x7f2db455ed2d]
[31] PL_unify_mpq() at ??:? [0x7f2db457e78b]
[32] PL_assert() at ??:? [0x7f2db45394f2]
[33] PL_step_context() at ??:? [0x7f2db455e71e]
[34] PL_describe_context() at ??:? [0x7f2db455ec72]
[35] PL_backtrace_string() at ??:? [0x7f2db455ed2d]
[36] PL_unify_mpq() at ??:? [0x7f2db457e78b]
[37] PL_assert() at ??:? [0x7f2db45394f2]
[38] PL_step_context() at ??:? [0x7f2db455e71e]
[39] PL_describe_context() at ??:? [0x7f2db455ec72]
[40] PL_backtrace_string() at ??:? [0x7f2db455ed2d]
This simple way is also reproducing a stacktrace (not infinite, maybe the original was just very big):
[trace] ?- maplist(member,[a,b,c]).
^ Call: (10) apply:maplist(member, [a, b, c]) ? Unknown option (h for help)
^ Call: (10) apply:maplist(member, [a, b, c]) ? Save goal
Recorded goal to key `saved_goals`
^ Call: (10) apply:maplist(member, [a, b, c]) ? up
[Thread 1 (main) at Mon Nov 13 17:04:38 2023] /build/swi-prolog-1APrpF/swi-prolog-9.0.4-0/src/pl-gc.c:716: queryOfFrame: Assertion failed: qf->magic == QID_MAGIC
C-stack trace labeled "assert_fail":
[0] PL_scan_options() at ??:? [0x7f7063fcee5b]
[1] PL_unify_mpq() at ??:? [0x7f7063f8c770]
[2] PL_assert() at ??:? [0x7f7063f474f2]
[3] PL_get_float_ex() at ??:? [0x7f706402bdcb]
[4] PL_get_float_ex() at ??:? [0x7f706402a4a4]
[5] PL_get_float_ex() at ??:? [0x7f7064029b70]
[6] PL_unregister_atom() at ??:? [0x7f7063fe0354]
[7] PL_get_pointer_ex() at ??:? [0x7f7063ffba8d]
[8] PL_unregister_atom() at ??:? [0x7f7063fdb756]
[9] PL_is_acyclic() at ??:? [0x7f70640334bb]
[10] PL_discard_foreign_frame() at ??:? [0x7f7064024e1e]
[11] PL_unregister_atom() at ??:? [0x7f7063fe23c4]
[12] PL_call_predicate() at ??:? [0x7f706401e802]
[13] PL_syntax_error() at ??:? [0x7f7063f39680]
[14] PL_atom_generator_w() at ??:? [0x7f7063f22d3d]
[15] PL_is_acyclic() at ??:? [0x7f7064031a9e]
[16] PL_is_acyclic() at ??:? [0x7f706403192d]
[17] PL_toplevel() at ??:? [0x7f70640464cd]
[18] swipl(+0x7c3) [0x5587ca78d7c3]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[19] __libc_start_main() at ??:? [0x7f7063d0c083]
[20] swipl(+0x80a) [0x5587ca78d80a]
Prolog stack:
[64] system:$expanded_term/10 [PC=24 in clause 1]
[63] system:$term_in_file/8 [PC=124 in clause 2]
[62] system:setup_call_catcher_cleanup/4 [PC=5 in clause 1]
[59] system:$source_term/7 [PC=15 in clause 1]
[58] system:$load_file/4 [PC=32 in clause 1]
[57] system:setup_call_catcher_cleanup/4 [PC=5 in clause 1]
[54] system:$consult_file/5 [PC=22 in clause 2]
[53] system:$do_load_file_2/5 [PC=221 in clause 1]
[50] system:$qdo_load_file/4 [PC=10 in clause 1]
[48] system:setup_call_catcher_cleanup/4 [PC=5 in clause 1]
[46] system:$c_call_prolog/0 [PC=0 in top query clause]
[45] system:sig_atomic/1 <foreign>
[42] system:$load_file/3 [PC=12 in clause 1]
[37] $autoload:do_autoload/3 [PC=148 in clause 1]
[35] system:setup_call_catcher_cleanup/4 [PC=5 in clause 1]
[31] system:$undefined_procedure/4 [PC=26 in clause 2]
[30] system:$c_call_prolog/0 [PC=0 in top query clause]
[29] prolog_stack:clause_info/4 <no clause>
[28] prolog_stack:subgoal_position/5 [PC=22 in clause 1]
[27] prolog_stack:clause_where/5 [PC=36 in clause 2]
[26] prolog_stack:where_goal/4 [PC=22 in clause 4]
[24] prolog_stack:message_frames/4 [PC=12 in clause 2]
[22] prolog_stack:message/4 [PC=8 in clause 1]
[19] $messages:translate_message/3 [PC=35 in clause 1]
[18] $messages:print_message_guarded/2 [PC=18 in clause 1]
[FATAL ERROR: at Mon Nov 13 17:04:38 2023
Received signal 6 (abrt) while in 2-th garbage collection]
[Thread 1 (main) at Mon Nov 13 17:04:38 2023] /build/swi-prolog-1APrpF/swi-prolog-9.0.4-0/src/pl-attvar.c:173: assignAttVar___LD: Assertion failed: isAttVar(*av)
C-stack trace labeled "assert_fail":
[0] PL_scan_options() at ??:? [0x7f7063fcee5b]
[1] PL_unify_mpq() at ??:? [0x7f7063f8c770]
[2] PL_destroy_engine() at ??:? [0x7f7063f84415]
[3] PL_atom_generator_w() at ??:? [0x7f7063f27b38]
[4] PL_is_acyclic() at ??:? [0x7f7064031a9e]
[5] PL_cleanup() at ??:? [0x7f706403c2a8]
[6] PL_halt() at ??:? [0x7f7064046510]
[7] PL_register_foreign() at ??:? [0x7f7063fb21f3]
[8] PL_winitialise() at ??:? [0x7f7063f87c5b]
[9] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[10] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[11] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[12] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[13] abort() at ??:? [0x7f7063d0a859]
[14] PL_unify_mpq() at ??:? [0x7f7063f8c7a1]
[15] PL_assert() at ??:? [0x7f7063f474f2]
[16] PL_get_float_ex() at ??:? [0x7f706402bdcb]
[17] PL_get_float_ex() at ??:? [0x7f706402a4a4]
[18] PL_get_float_ex() at ??:? [0x7f7064029b70]
[19] PL_unregister_atom() at ??:? [0x7f7063fe0354]
[20] PL_get_pointer_ex() at ??:? [0x7f7063ffba8d]
[21] PL_unregister_atom() at ??:? [0x7f7063fdb756]
[22] PL_is_acyclic() at ??:? [0x7f70640334bb]
[23] PL_discard_foreign_frame() at ??:? [0x7f7064024e1e]
[24] PL_unregister_atom() at ??:? [0x7f7063fe23c4]
[25] PL_call_predicate() at ??:? [0x7f706401e802]
[26] PL_syntax_error() at ??:? [0x7f7063f39680]
[27] PL_atom_generator_w() at ??:? [0x7f7063f22d3d]
[28] PL_is_acyclic() at ??:? [0x7f7064031a9e]
[29] PL_is_acyclic() at ??:? [0x7f706403192d]
[30] PL_toplevel() at ??:? [0x7f70640464cd]
[31] swipl(+0x7c3) [0x5587ca78d7c3]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[32] __libc_start_main() at ??:? [0x7f7063d0c083]
[33] swipl(+0x80a) [0x5587ca78d80a]
Prolog stack:
[67] $attvar:$wakeup/1 [PC=-1 in clause 1]
[66] system:$run_at_halt/0 [PC=1 in clause 1]
[65] system:$c_call_prolog/0 [PC=0 in top query clause]
[64] system:$expanded_term/10 [PC=-1 in clause 1]
[63] system:$term_in_file/8 [PC=124 in clause 2]
[62] system:setup_call_catcher_cleanup/4 [PC=5 in clause 1]
[59] system:$source_term/7 [PC=15 in clause 1]
[58] system:$load_file/4 [PC=32 in clause 1]
[57] system:setup_call_catcher_cleanup/4 [PC=5 in clause 1]
[54] system:$consult_file/5 [PC=22 in clause 2]
[53] system:$do_load_file_2/5 [PC=221 in clause 1]
[50] system:$qdo_load_file/4 [PC=10 in clause 1]
[48] system:setup_call_catcher_cleanup/4 [PC=5 in clause 1]
[46] system:$c_call_prolog/0 [PC=0 in top query clause]
[45] system:sig_atomic/1 <foreign>
[42] system:$load_file/3 [PC=12 in clause 1]
[37] $autoload:do_autoload/3 [PC=148 in clause 1]
[35] system:setup_call_catcher_cleanup/4 [PC=5 in clause 1]
[31] system:$undefined_procedure/4 [PC=26 in clause 2]
[30] system:$c_call_prolog/0 [PC=0 in top query clause]
[29] prolog_stack:clause_info/4 <no clause>
[28] prolog_stack:subgoal_position/5 [PC=22 in clause 1]
[27] prolog_stack:clause_where/5 [PC=36 in clause 2]
[26] prolog_stack:where_goal/4 [PC=22 in clause 4]
[24] prolog_stack:message_frames/4 [PC=12 in clause 2]
SWI-Prolog [thread 1 (main) at Mon Nov 13 17:04:39 2023]: received fatal signal 11 (segv)
C-stack trace labeled "crash":
[0] PL_scan_options() at ??:? [0x7f7063fcee5b]
[1] PL_scan_options() at ??:? [0x7f7063fcef19]
[2] PL_scan_options() at ??:? [0x7f7063fcf022]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[3] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[4] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[5] abort() at ??:? [0x7f7063d0a859]
[6] PL_exit_hook() at ??:? [0x7f7063f87be7]
[7] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[8] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[9] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[10] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[11] abort() at ??:? [0x7f7063d0a859]
[12] PL_exit_hook() at ??:? [0x7f7063f87be7]
[13] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[14] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[15] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[16] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[17] abort() at ??:? [0x7f7063d0a859]
[18] PL_exit_hook() at ??:? [0x7f7063f87be7]
[19] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[20] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[21] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[22] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[23] abort() at ??:? [0x7f7063d0a859]
[24] PL_exit_hook() at ??:? [0x7f7063f87be7]
[25] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[26] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[27] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[28] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[29] abort() at ??:? [0x7f7063d0a859]
[30] PL_exit_hook() at ??:? [0x7f7063f87be7]
[31] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[32] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[33] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[34] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[35] abort() at ??:? [0x7f7063d0a859]
[36] PL_exit_hook() at ??:? [0x7f7063f87be7]
[37] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[38] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[39] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[40] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[41] abort() at ??:? [0x7f7063d0a859]
[42] PL_exit_hook() at ??:? [0x7f7063f87be7]
[43] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[44] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[45] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[46] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[47] abort() at ??:? [0x7f7063d0a859]
[48] PL_exit_hook() at ??:? [0x7f7063f87be7]
[49] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[50] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[51] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[52] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[53] abort() at ??:? [0x7f7063d0a859]
[54] PL_exit_hook() at ??:? [0x7f7063f87be7]
[55] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[56] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[57] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[58] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[59] abort() at ??:? [0x7f7063d0a859]
[60] PL_exit_hook() at ??:? [0x7f7063f87be7]
[61] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[62] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[63] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[64] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[65] abort() at ??:? [0x7f7063d0a859]
[66] PL_exit_hook() at ??:? [0x7f7063f87be7]
[67] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[68] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[69] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[70] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[71] abort() at ??:? [0x7f7063d0a859]
[72] PL_exit_hook() at ??:? [0x7f7063f87be7]
[73] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[74] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[75] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[76] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[77] abort() at ??:? [0x7f7063d0a859]
[78] PL_exit_hook() at ??:? [0x7f7063f87be7]
[79] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[80] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[81] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[82] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[83] abort() at ??:? [0x7f7063d0a859]
[84] PL_exit_hook() at ??:? [0x7f7063f87be7]
[85] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[86] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[87] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[88] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[89] abort() at ??:? [0x7f7063d0a859]
[90] PL_exit_hook() at ??:? [0x7f7063f87be7]
[91] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[92] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[93] killpg() at ??:? [0x7f7063d2b090]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[94] gsignal() at ??:? [0x7f7063d2b00b]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[95] abort() at ??:? [0x7f7063d0a859]
[96] PL_exit_hook() at ??:? [0x7f7063f87be7]
[97] PL_destroy_engine() at ??:? [0x7f7063f86ec6]
[98] PL_erase_external() at ??:? [0x7f7063f69832]
addr2line: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530f28)
[99] killpg() at ??:? [0x7f7063d2b090]
Prolog stack:
[67] $attvar:$wakeup/1 [PC=-1 in clause 1]
[66] system:$run_at_halt/0 [PC=1 in clause 1]
[65] system:$c_call_prolog/0 [PC=0 in top query clause]
[64] system:$expanded_term/10 [PC=-1 in clause 1]
[63] system:$term_in_file/8 [PC=124 in clause 2]
[62] system:setup_call_catcher_cleanup/4 [PC=5 in clause 1]
[59] system:$source_term/7 [PC=15 in clause 1]
[58] system:$load_file/4 [PC=32 in clause 1]
[57] system:setup_call_catcher_cleanup/4 [PC=5 in clause 1]
[54] system:$consult_file/5 [PC=22 in clause 2]
[53] system:$do_load_file_2/5 [PC=221 in clause 1]
[50] system:$qdo_load_file/4 [PC=10 in clause 1]
[48] system:setup_call_catcher_cleanup/4 [PC=5 in clause 1]
[46] system:$c_call_prolog/0 [PC=0 in top query clause]
[45] system:sig_atomic/1 <foreign>
[42] system:$load_file/3 [PC=12 in clause 1]
[37] $autoload:do_autoload/3 [PC=148 in clause 1]
[35] system:setup_call_catcher_cleanup/4 [PC=5 in clause 1]
[31] system:$undefined_procedure/4 [PC=26 in clause 2]
[30] system:$c_call_prolog/0 [PC=0 in top query clause]
[29] prolog_stack:clause_info/4 <no clause>
[28] prolog_stack:subgoal_position/5 [PC=22 in clause 1]
[27] prolog_stack:clause_where/5 [PC=36 in clause 2]
[26] prolog_stack:where_goal/4 [PC=22 in clause 4]
[24] prolog_stack:message_frames/4 [PC=12 in clause 2]
Running on_halt hooks with status 139
Killing 1656102 with default signal handlers
Speicherzugriffsfehler (Speicherabzug geschrieben)
Thanks for reporting. It is due to a memory corruption when trying to save the current goal. The fix by the update is just luck. It will probably crash in a slightly different scenario. Pushed 504d914b838aef32e3971589ea383d1fa469b40f to swipl-devel.git to address this properly.