Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created December 29, 2021 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dogbert17/6e3669287a7cfbce0eba1d391550f08f to your computer and use it in GitHub Desktop.
Save dogbert17/6e3669287a7cfbce0eba1d391550f08f to your computer and use it in GitHub Desktop.
GC error in t/05-messages/03-errors.t
Thread 1 "moar" hit Breakpoint 1, MVM_panic (exitCode=0, messageFormat=0x0) at src/core/exceptions.c:840
840 MVM_NO_RETURN void MVM_panic(MVMint32 exitCode, const char *messageFormat, ...) {
(gdb) bt
#0 MVM_panic (exitCode=0, messageFormat=0x0) at src/core/exceptions.c:840
#1 0x00007ffff7869e72 in MVM_gc_root_add_frame_registers_to_worklist (tc=0x55555555ae30, worklist=0x555557a4e5e0, frame=0x7ffff72272d8) at src/gc/roots.c:456
#2 0x00007ffff7869cc3 in MVM_gc_root_add_frame_roots_to_worklist (tc=0x55555555ae30, worklist=0x555557a4e5e0, cur_frame=0x7ffff72272d8) at src/gc/roots.c:429
#3 0x00007ffff78278fd in mark (tc=0x55555555ae30, from_record=0x7ffff7228240, worklist=0x555557a4e5e0, snapshot=0x0) at src/core/callstack.c:915
#4 0x00007ffff78297c8 in MVM_callstack_mark_current_thread (tc=0x55555555ae30, worklist=0x555557a4e5e0, snapshot=0x0) at src/core/callstack.c:1046
#5 0x00007ffff7865e9a in MVM_gc_root_add_tc_roots_to_worklist (tc=0x55555555ae30, worklist=0x555557a4e5e0, snapshot=0x0) at src/gc/roots.c:155
#6 0x00007ffff786aa6f in MVM_gc_collect (tc=0x55555555ae30, what_to_do=0 '\000', gen=0 '\000') at src/gc/collect.c:121
#7 0x00007ffff786022e in run_gc (tc=0x55555555ae30, what_to_do=0 '\000') at src/gc/orchestrate.c:444
#8 0x00007ffff7860908 in MVM_gc_enter_from_allocator (tc=0x55555555ae30) at src/gc/orchestrate.c:599
#9 0x00007ffff7861463 in MVM_gc_allocate_nursery (tc=0x55555555ae30, size=40) at src/gc/allocation.c:37
#10 0x00007ffff7861233 in MVM_gc_allocate (tc=0x55555555ae30, size=40) at src/gc/allocation.h:15
#11 0x00007ffff7861258 in MVM_gc_allocate_zeroed (tc=0x55555555ae30, size=40) at src/gc/allocation.h:21
#12 0x00007ffff786181e in MVM_gc_allocate_object (tc=0x55555555ae30, st=0x5555555c43a0) at src/gc/allocation.c:86
#13 0x00007ffff788bd46 in MVM_repr_alloc (tc=0x55555555ae30, type=0x5555555cdd10) at src/6model/reprconv.c:13
#14 0x00007ffff78ea4a0 in MVM_capture_from_args (tc=0x55555555ae30, arg_info=...) at src/6model/reprs/MVMCapture.c:121
#15 0x00007ffff79086d6 in MVM_disp_program_run_dispatch (tc=0x55555555ae30, disp=0x555557a558a8, arg_info=..., ic_entry_ptr=0x55555dcd6ad8, ic_entry=0x55555db32bf0, update_sf=0x555557676510)
at src/disp/program.c:571
#16 0x00007ffff7905cbb in dispatch_initial (tc=0x55555555ae30, entry_ptr=0x55555dcd6ad8, seen=0x55555db32bf0, id=0x555557fe5150, callsite=0x7ffff7e50a20 <obj_callsite>, arg_indices=0x7ffff59d87d8,
source=0x7ffff72282f8, sf=0x555557676510, bytecode_offset=94) at src/disp/inline_cache.c:79
#17 0x00007ffff7905e8b in dispatch_monomorphic (tc=0x55555555ae30, entry_ptr=0x55555dcd6ad8, seen=0x55555db32bf0, id=0x555557fe5150, callsite=0x7ffff7e50a20 <obj_callsite>, arg_indices=0x7ffff59d87d8,
source=0x7ffff72282f8, sf=0x555557676510, bytecode_offset=94) at src/disp/inline_cache.c:114
#18 0x00007ffff78045f4 in MVM_interp_run (tc=0x55555555ae30, initial_invoke=0x7ffff79b8749 <toplevel_initial_invoke>, invoke_data=0x5555556183d0, outer_runloop=0x0) at src/core/interp.c:5345
#19 0x00007ffff79b88af in MVM_vm_run_file (instance=0x55555555a2a0, filename=0x7fffffffe215 "/home/dogbert/repos/rakudo/perl6.moarvm") at src/moar.c:505
#20 0x0000555555555c97 in main (argc=8, argv=0x7fffffffdd98) at src/main.c:307
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment