Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created September 17, 2019 17:11
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/b5c0ecd3e519d3bd1fe4496fb7306faf to your computer and use it in GitHub Desktop.
Save dogbert17/b5c0ecd3e519d3bd1fe4496fb7306faf to your computer and use it in GitHub Desktop.
Latest GC's before error is reported. Nursery 1k
Thread 8 "moar" hit Breakpoint 2, run_gc (tc=0x3766e30, what_to_do=1 '\001') at src/gc/orchestrate.c:401
401 MVMObject *subscription_queue = NULL;
#0 run_gc (tc=0x3766e30, what_to_do=1 '\001') at src/gc/orchestrate.c:401
#1 0x00007ffff747c326 in MVM_gc_enter_from_interrupt (tc=0x3766e30) at src/gc/orchestrate.c:678
#2 0x00007ffff747bfc1 in MVM_gc_enter_from_allocator (tc=0x3766e30) at src/gc/orchestrate.c:602
#3 0x00007ffff747c7fe in MVM_gc_allocate_nursery (tc=0x3766e30, size=32) at src/gc/allocation.c:37
#4 0x00007ffff747c5f9 in MVM_gc_allocate (tc=0x3766e30, size=32) at src/gc/allocation.h:18
#5 0x00007ffff747c887 in MVM_gc_allocate_zeroed (tc=0x3766e30, size=32) at src/gc/allocation.c:56
#6 0x00007ffff747cc2a in MVM_gc_allocate_object (tc=0x3766e30, st=0x66f738) at src/gc/allocation.c:93
#7 0x00007ffff73f0245 in MVM_args_slurpy_named (tc=0x3766e30, ctx=0x0) at src/core/args.c:740
#8 0x00007ffff7400aad in MVM_interp_run (tc=0x3766e30, initial_invoke=0x7ffff744dfa7 <thread_initial_invoke>, invoke_data=0x36852a0) at src/core/interp.c:1195
#9 0x00007ffff744e0f0 in start_thread (data=0x36852a0) at src/core/threads.c:87
#10 0x00007ffff69206ba in start_thread (arg=0x7fffed7fa700) at pthread_create.c:333
#11 0x00007ffff6f4641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
[Switching to Thread 0x7fffd6ffd700 (LWP 16735)]
Thread 12 "moar" hit Breakpoint 2, run_gc (tc=0x37ce8c0, what_to_do=1 '\001') at src/gc/orchestrate.c:401
401 MVMObject *subscription_queue = NULL;
#0 run_gc (tc=0x37ce8c0, what_to_do=1 '\001') at src/gc/orchestrate.c:401
#1 0x00007ffff747c326 in MVM_gc_enter_from_interrupt (tc=0x37ce8c0) at src/gc/orchestrate.c:678
#2 0x00007ffff747bfc1 in MVM_gc_enter_from_allocator (tc=0x37ce8c0) at src/gc/orchestrate.c:602
#3 0x00007ffff747c7fe in MVM_gc_allocate_nursery (tc=0x37ce8c0, size=56) at src/gc/allocation.c:37
#4 0x00007ffff747c5f9 in MVM_gc_allocate (tc=0x37ce8c0, size=56) at src/gc/allocation.h:18
#5 0x00007ffff747c887 in MVM_gc_allocate_zeroed (tc=0x37ce8c0, size=56) at src/gc/allocation.c:56
#6 0x00007ffff747cc2a in MVM_gc_allocate_object (tc=0x37ce8c0, st=0x249e078) at src/gc/allocation.c:93
#7 0x00007ffff74be1be in allocate (tc=0x37ce8c0, st=0x249e078) at src/6model/reprs/P6opaque.c:60
#8 0x00007ffff740795a in MVM_interp_run (tc=0x37ce8c0, initial_invoke=0x7ffff744dfa7 <thread_initial_invoke>, invoke_data=0x37ce870) at src/core/interp.c:1848
#9 0x00007ffff744e0f0 in start_thread (data=0x37ce870) at src/core/threads.c:87
#10 0x00007ffff69206ba in start_thread (arg=0x7fffd6ffd700) at pthread_create.c:333
#11 0x00007ffff6f4641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
[Switching to Thread 0x7fffd4ff9700 (LWP 16739)]
Thread 16 "moar" hit Breakpoint 2, run_gc (tc=0x3879980, what_to_do=1 '\001') at src/gc/orchestrate.c:401
401 MVMObject *subscription_queue = NULL;
#0 run_gc (tc=0x3879980, what_to_do=1 '\001') at src/gc/orchestrate.c:401
#1 0x00007ffff747c326 in MVM_gc_enter_from_interrupt (tc=0x3879980) at src/gc/orchestrate.c:678
#2 0x00007ffff747bfc1 in MVM_gc_enter_from_allocator (tc=0x3879980) at src/gc/orchestrate.c:602
#3 0x00007ffff747c7fe in MVM_gc_allocate_nursery (tc=0x3879980, size=32) at src/gc/allocation.c:37
#4 0x00007ffff747c5f9 in MVM_gc_allocate (tc=0x3879980, size=32) at src/gc/allocation.h:18
#5 0x00007ffff747c887 in MVM_gc_allocate_zeroed (tc=0x3879980, size=32) at src/gc/allocation.c:56
#6 0x00007ffff747cc2a in MVM_gc_allocate_object (tc=0x3879980, st=0x66f738) at src/gc/allocation.c:93
#7 0x00007ffff73f0245 in MVM_args_slurpy_named (tc=0x3879980, ctx=0x0) at src/core/args.c:740
#8 0x00007ffff7400aad in MVM_interp_run (tc=0x3879980, initial_invoke=0x7ffff744dfa7 <thread_initial_invoke>, invoke_data=0x3857ba0) at src/core/interp.c:1195
#9 0x00007ffff744e0f0 in start_thread (data=0x3857ba0) at src/core/threads.c:87
#10 0x00007ffff69206ba in start_thread (arg=0x7fffd4ff9700) at pthread_create.c:333
#11 0x00007ffff6f4641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
[Switching to Thread 0x7fffee7fc700 (LWP 16729)]
Thread 6 "moar" hit Breakpoint 2, run_gc (tc=0x37232d0, what_to_do=1 '\001') at src/gc/orchestrate.c:401
401 MVMObject *subscription_queue = NULL;
#0 run_gc (tc=0x37232d0, what_to_do=1 '\001') at src/gc/orchestrate.c:401
#1 0x00007ffff747c326 in MVM_gc_enter_from_interrupt (tc=0x37232d0) at src/gc/orchestrate.c:678
#2 0x00007ffff747bfc1 in MVM_gc_enter_from_allocator (tc=0x37232d0) at src/gc/orchestrate.c:602
#3 0x00007ffff747c7fe in MVM_gc_allocate_nursery (tc=0x37232d0, size=184) at src/gc/allocation.c:37
#4 0x00007ffff747c5f9 in MVM_gc_allocate (tc=0x37232d0, size=184) at src/gc/allocation.h:18
#5 0x00007ffff747c887 in MVM_gc_allocate_zeroed (tc=0x37232d0, size=184) at src/gc/allocation.c:56
#6 0x00007ffff747cdb9 in MVM_gc_allocate_frame (tc=0x37232d0) at src/gc/allocation.c:106
#7 0x00007ffff74423f7 in MVM_frame_move_to_heap (tc=0x37232d0, frame=0x3724be8) at src/core/frame.c:645
#8 0x00007ffff743f8c1 in MVM_frame_force_to_heap (tc=0x37232d0, frame=0x3724be8) at src/core/frame.h:213
#9 0x00007ffff7444480 in MVM_frame_capturelex (tc=0x37232d0, code=0x23992c8) at src/core/frame.c:1160
#10 0x00007ffff7400d52 in MVM_interp_run (tc=0x37232d0, initial_invoke=0x7ffff744dfa7 <thread_initial_invoke>, invoke_data=0x36fd8b0) at src/core/interp.c:1215
#11 0x00007ffff744e0f0 in start_thread (data=0x36fd8b0) at src/core/threads.c:87
#12 0x00007ffff69206ba in start_thread (arg=0x7fffee7fc700) at pthread_create.c:333
#13 0x00007ffff6f4641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
[Switching to Thread 0x7fffc7fff700 (LWP 16740)]
Thread 17 "moar" hit Breakpoint 2, run_gc (tc=0x3835fa0, what_to_do=1 '\001') at src/gc/orchestrate.c:401
401 MVMObject *subscription_queue = NULL;
#0 run_gc (tc=0x3835fa0, what_to_do=1 '\001') at src/gc/orchestrate.c:401
#1 0x00007ffff747c326 in MVM_gc_enter_from_interrupt (tc=0x3835fa0) at src/gc/orchestrate.c:678
#2 0x00007ffff747bfc1 in MVM_gc_enter_from_allocator (tc=0x3835fa0) at src/gc/orchestrate.c:602
#3 0x00007ffff747c7fe in MVM_gc_allocate_nursery (tc=0x3835fa0, size=184) at src/gc/allocation.c:37
#4 0x00007ffff747c5f9 in MVM_gc_allocate (tc=0x3835fa0, size=184) at src/gc/allocation.h:18
#5 0x00007ffff747c887 in MVM_gc_allocate_zeroed (tc=0x3835fa0, size=184) at src/gc/allocation.c:56
#6 0x00007ffff747cdb9 in MVM_gc_allocate_frame (tc=0x3835fa0) at src/gc/allocation.c:106
#7 0x00007ffff74423f7 in MVM_frame_move_to_heap (tc=0x3835fa0, frame=0x389d1c8) at src/core/frame.c:645
#8 0x00007ffff743f8c1 in MVM_frame_force_to_heap (tc=0x3835fa0, frame=0x389d1c8) at src/core/frame.h:213
#9 0x00007ffff7444480 in MVM_frame_capturelex (tc=0x3835fa0, code=0x2378ff0) at src/core/frame.c:1160
#10 0x00007ffff7400d52 in MVM_interp_run (tc=0x3835fa0, initial_invoke=0x7ffff744dfa7 <thread_initial_invoke>, invoke_data=0x3879960) at src/core/interp.c:1215
#11 0x00007ffff744e0f0 in start_thread (data=0x3879960) at src/core/threads.c:87
#12 0x00007ffff69206ba in start_thread (arg=0x7fffc7fff700) at pthread_create.c:333
#13 0x00007ffff6f4641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
[Switching to Thread 0x7fffc67fc700 (LWP 16743)]
Thread 20 "moar" hit Breakpoint 2, run_gc (tc=0x3617ef0, what_to_do=1 '\001') at src/gc/orchestrate.c:401
401 MVMObject *subscription_queue = NULL;
#0 run_gc (tc=0x3617ef0, what_to_do=1 '\001') at src/gc/orchestrate.c:401
#1 0x00007ffff747c326 in MVM_gc_enter_from_interrupt (tc=0x3617ef0) at src/gc/orchestrate.c:678
#2 0x00007ffff747bfc1 in MVM_gc_enter_from_allocator (tc=0x3617ef0) at src/gc/orchestrate.c:602
#3 0x00007ffff747c7fe in MVM_gc_allocate_nursery (tc=0x3617ef0, size=184) at src/gc/allocation.c:37
#4 0x00007ffff747c5f9 in MVM_gc_allocate (tc=0x3617ef0, size=184) at src/gc/allocation.h:18
#5 0x00007ffff747c887 in MVM_gc_allocate_zeroed (tc=0x3617ef0, size=184) at src/gc/allocation.c:56
#6 0x00007ffff747cdb9 in MVM_gc_allocate_frame (tc=0x3617ef0) at src/gc/allocation.c:106
#7 0x00007ffff74423f7 in MVM_frame_move_to_heap (tc=0x3617ef0, frame=0x3906188) at src/core/frame.c:645
#8 0x00007ffff743f8c1 in MVM_frame_force_to_heap (tc=0x3617ef0, frame=0x3906188) at src/core/frame.h:213
#9 0x00007ffff7444480 in MVM_frame_capturelex (tc=0x3617ef0, code=0x23992c8) at src/core/frame.c:1160
#10 0x00007ffff7400d52 in MVM_interp_run (tc=0x3617ef0, initial_invoke=0x7ffff744dfa7 <thread_initial_invoke>, invoke_data=0x389c470) at src/core/interp.c:1215
#11 0x00007ffff744e0f0 in start_thread (data=0x389c470) at src/core/threads.c:87
#12 0x00007ffff69206ba in start_thread (arg=0x7fffc67fc700) at pthread_create.c:333
#13 0x00007ffff6f4641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
[Thread 0x7ffff4a06700 (LWP 16725) exited]
[Switching to Thread 0x7fffd5ffb700 (LWP 16737)]
Thread 14 "moar" hit Breakpoint 1, MVM_panic (exitCode=1, messageFormat=0x7ffff761f288 "Collectable %p in a gen2 freelist accessed") at src/core/exceptions.c:832
832 MVM_NO_RETURN void MVM_panic(MVMint32 exitCode, const char *messageFormat, ...) {
(gdb) bt
#0 MVM_panic (exitCode=1, messageFormat=0x7ffff761f288 "Collectable %p in a gen2 freelist accessed") at src/core/exceptions.c:832
#1 0x00007ffff73f62ec in check_reg (tc=0x3814460, reg_base=0x2af55d8, idx=14) at src/core/interp.c:14
#2 0x00007ffff7414121 in MVM_interp_run (tc=0x3814460, initial_invoke=0x7ffff744dfa7 <thread_initial_invoke>, invoke_data=0x36101b0) at src/core/interp.c:3010
#3 0x00007ffff744e0f0 in start_thread (data=0x36101b0) at src/core/threads.c:87
#4 0x00007ffff69206ba in start_thread (arg=0x7fffd5ffb700) at pthread_create.c:333
#5 0x00007ffff6f4641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment