Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Last active January 26, 2021 16:03
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 MasterDuke17/462f74a717b2c95412ccb09152947165 to your computer and use it in GitHub Desktop.
Save MasterDuke17/462f74a717b2c95412ccb09152947165 to your computer and use it in GitHub Desktop.
(rr) continue
Continuing.
Thread 1 hit Breakpoint 1, MVM_panic (exitCode=1, messageFormat=0x7f7aeb78b298 "Invalid owner in item added to GC worklist") at src/core/exceptions.c:844
844 MVM_NO_RETURN void MVM_panic(MVMint32 exitCode, const char *messageFormat, ...) {
(rr) bt
#0 MVM_panic (exitCode=1, messageFormat=0x7f7aeb78b298 "Invalid owner in item added to GC worklist") at src/core/exceptions.c:844
#1 0x00007f7aeb5e38a7 in MVM_gc_root_add_frame_registers_to_worklist (tc=0x55963c73ddf0, worklist=0x55963e32be40, frame=0x7f7aeb326480) at src/gc/roots.c:466
#2 0x00007f7aeb5e36f9 in MVM_gc_root_add_frame_roots_to_worklist (tc=0x55963c73ddf0, worklist=0x55963e32be40, cur_frame=0x7f7aeb326480) at src/gc/roots.c:438
#3 0x00007f7aeb5e4ea5 in MVM_gc_collect (tc=0x55963c73ddf0, what_to_do=0 '\000', gen=0 '\000') at src/gc/collect.c:132
#4 0x00007f7aeb5d8f1d in run_gc (tc=0x55963c73ddf0, what_to_do=0 '\000') at src/gc/orchestrate.c:443
#5 0x00007f7aeb5d95f2 in MVM_gc_enter_from_allocator (tc=0x55963c73ddf0) at src/gc/orchestrate.c:598
#6 0x00007f7aeb5da066 in MVM_gc_allocate_nursery (tc=0x55963c73ddf0, size=32) at src/gc/allocation.c:37
#7 0x00007f7aeb54c21a in fastcreate (tc=0x55963c73ddf0, cur_op=0x7f7ae4197152 "\002") at src/core/interp.c:93
#8 0x00007f7aeb5888d4 in MVM_interp_run (tc=0x55963c73ddf0, initial_invoke=0x7f7aeb71855a <toplevel_initial_invoke>, invoke_data=0x55963c7c9db8, outer_runloop=0x0) at src/core/interp.c:6043
#9 0x00007f7aeb7186d4 in MVM_vm_run_file (instance=0x55963c73d2d0, filename=0x7fff59d3c56d "src/vm/moar/stage0/nqp.moarvm") at src/moar.c:504
#10 0x000055963b250c55 in main (argc=12, argv=0x7fff59d3a4b8) at src/main.c:305
(rr) f 1
#1 0x00007f7aeb5e38a7 in MVM_gc_root_add_frame_registers_to_worklist (tc=0x55963c73ddf0, worklist=0x55963e32be40, frame=0x7f7aeb326480) at src/gc/roots.c:466
466 MVM_gc_worklist_add(tc, worklist, &frame->work[i].o);
(rr) watch -l frame->work[i].o
Hardware watchpoint 9: -location frame->work[i].o
(rr) reverse-cont
Continuing.
Thread 1 hit Hardware watchpoint 9: -location frame->work[i].o
Old value = (MVMObject *) 0x55963e330140
New value = (MVMObject *) 0x0
MVM_interp_run (tc=0x55963c73ddf0, initial_invoke=0x7f7aeb71855a <toplevel_initial_invoke>, invoke_data=0x55963c7c9db8, outer_runloop=0x0) at src/core/interp.c:6073
6073 GET_REG(cur_op, 0).s = *((MVMString **)((char *)GET_REG(cur_op, 2).o + GET_UI16(cur_op, 4)));
(rr) del 8
No breakpoint number 8.
(rr) del 9
(rr) watch -l *((MVMString **)((char *)GET_REG(cur_op, 2).o + GET_UI16(cur_op, 4)))
Hardware watchpoint 10: -location *((MVMString **)((char *)GET_REG(cur_op, 2).o + GET_UI16(cur_op, 4)))
(rr) reverse-cont
Continuing.
Thread 1 hit Hardware watchpoint 10: -location *((MVMString **)((char *)GET_REG(cur_op, 2).o + GET_UI16(cur_op, 4)))
Old value = (MVMString *) 0x55963e330140
New value = (MVMString *) 0x0
0x00007f7aeb292a35 in __memmove_avx_unaligned () from /usr/lib/libc.so.6
(rr) bt
#0 0x00007f7aeb292a35 in __memmove_avx_unaligned () from /usr/lib/libc.so.6
#1 0x00007f7aeb5e5460 in process_worklist (tc=0x55963c73ddf0, worklist=0x55963e32be40, wtp=0x7fff59d38470, gen=0 '\000') at src/gc/collect.c:289
#2 0x00007f7aeb5e4ebf in MVM_gc_collect (tc=0x55963c73ddf0, what_to_do=0 '\000', gen=0 '\000') at src/gc/collect.c:134
#3 0x00007f7aeb5d8f1d in run_gc (tc=0x55963c73ddf0, what_to_do=0 '\000') at src/gc/orchestrate.c:443
#4 0x00007f7aeb5d95f2 in MVM_gc_enter_from_allocator (tc=0x55963c73ddf0) at src/gc/orchestrate.c:598
#5 0x00007f7aeb5da066 in MVM_gc_allocate_nursery (tc=0x55963c73ddf0, size=56) at src/gc/allocation.c:37
#6 0x00007f7aeb5d9e63 in MVM_gc_allocate (tc=0x55963c73ddf0, size=56) at src/gc/allocation.h:18
#7 0x00007f7aeb5da0ca in MVM_gc_allocate_zeroed (tc=0x55963c73ddf0, size=56) at src/gc/allocation.c:56
#8 0x00007f7aeb5da44c in MVM_gc_allocate_object (tc=0x55963c73ddf0, st=0x55963c774188) at src/gc/allocation.c:93
#9 0x00007f7aeb606afa in MVM_repr_alloc_init (tc=0x55963c73ddf0, type=0x55963c75ebb0) at src/6model/reprconv.c:17
#10 0x00007f7aeb634dc9 in MVM_iter (tc=0x55963c73ddf0, target=0x55963e32c510) at src/6model/reprs/MVMIter.c:224
#11 0x00007f7aeb5673d1 in MVM_interp_run (tc=0x55963c73ddf0, initial_invoke=0x7f7aeb71855a <toplevel_initial_invoke>, invoke_data=0x55963c7c9db8, outer_runloop=0x0) at src/core/interp.c:2851
#12 0x00007f7aeb7186d4 in MVM_vm_run_file (instance=0x55963c73d2d0, filename=0x7fff59d3c56d "src/vm/moar/stage0/nqp.moarvm") at src/moar.c:504
#13 0x000055963b250c55 in main (argc=12, argv=0x7fff59d3a4b8) at src/main.c:305
(rr) f 1
#1 0x00007f7aeb5e5460 in process_worklist (tc=0x55963c73ddf0, worklist=0x55963e32be40, wtp=0x7fff59d38470, gen=0 '\000') at src/gc/collect.c:289
289 memcpy(new_addr, item, item->size);
(rr)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment