Skip to content

Instantly share code, notes, and snippets.

@samcv
Last active June 18, 2017 00:12
Show Gist options
  • Save samcv/9f7d8820cb9e56d14abecd9aaf88b6e2 to your computer and use it in GitHub Desktop.
Save samcv/9f7d8820cb9e56d14abecd9aaf88b6e2 to your computer and use it in GitHub Desktop.
Thread 1 "moar" received signal SIGSEGV, Segmentation fault.
0x00007ffff781f527 in gc_mark (tc=<optimized out>, st=<optimized out>, data=<optimized out>, worklist=<optimized out>) at src/6model/reprs/MVMCallCapture.c:54
54 if (flag_map[flag] & MVM_CALLSITE_ARG_NAMED) {
(gdb) bt
#0 0x00007ffff781f527 in gc_mark (tc=<optimized out>, st=<optimized out>, data=<optimized out>, worklist=<optimized out>) at src/6model/reprs/MVMCallCapture.c:54
#1 0x00007ffff77f0991 in process_worklist (tc=tc@entry=0x5555557587f0, worklist=worklist@entry=0x55555a2e4540, wtp=wtp@entry=0x7fffffffcb70, gen=gen@entry=0 '\000')
at src/gc/collect.c:313
#2 0x00007ffff77f0fee in MVM_gc_collect (tc=0x5555557587f0, what_to_do=<optimized out>, gen=gen@entry=0 '\000') at src/gc/collect.c:129
#3 0x00007ffff77ec34e in run_gc (tc=tc@entry=0x5555557587f0, what_to_do=what_to_do@entry=0 '\000') at src/gc/orchestrate.c:357
#4 0x00007ffff77ece72 in MVM_gc_enter_from_allocator (tc=tc@entry=0x5555557587f0) at src/gc/orchestrate.c:470
#5 0x00007ffff77ed090 in MVM_gc_allocate_nursery (tc=0x5555557587f0, size=32) at src/gc/allocation.c:32
#6 0x00007ffff77ed3e8 in MVM_gc_allocate_object (tc=0x5555557587f0, st=<optimized out>) at src/gc/allocation.c:86
#7 0x00007ffff77b3278 in MVM_args_set_result_int (tc=0x5555557587f0, result=0, frameless=<optimized out>) at src/core/args.c:448
#8 0x00007ffff77c2586 in MVM_interp_run (tc=tc@entry=0x5555557587f0, initial_invoke=0x555559bb2e40, invoke_data=0x55555a2f6140) at src/core/interp.c:440
#9 0x00007ffff789adb7 in MVM_vm_run_file (instance=0x555555758010, filename=0x7fffffffd848 "/home/samantha/perl6/share/perl6/runtime/perl6.moarvm") at src/moar.c:318
#10 0x0000555555555446 in main (argc=7, argv=0x7fffffffd218) at src/main.c:246
(gdb) bt full
#0 0x00007ffff781f527 in gc_mark (tc=<optimized out>, st=<optimized out>, data=<optimized out>,
worklist=<optimized out>) at src/6model/reprs/MVMCallCapture.c:54
ctx = 0x555559bb2ec0
count = <optimized out>
i = 0
flag = 0
flag_map = 0x0
st = <optimized out>
worklist = <optimized out>
data = <optimized out>
tc = <optimized out>
body = <optimized out>
#1 0x00007ffff77f0991 in process_worklist (tc=tc@entry=0x5555557587f0, worklist=worklist@entry=0x55555a2e4540,
wtp=wtp@entry=0x7fffffffcb70, gen=gen@entry=0 '\000') at src/gc/collect.c:313
item = 0x7ffff498c150
item_gen2 = <optimized out>
to_gen2 = 1 '\001'
gen2 = 0x555555758dd0
item_ptr = <optimized out>
new_addr = 0x55555a2f6128
gen2count = 166
#2 0x00007ffff77f0fee in MVM_gc_collect (tc=0x5555557587f0, what_to_do=<optimized out>, gen=gen@entry=0 '\000')
at src/gc/collect.c:129
fromspace = <optimized out>
tospace = <optimized out>
worklist = 0x55555a2e4540
wtp = {num_target_threads = 12, target_work = 0x55555a2e4560}
#3 0x00007ffff77ec34e in run_gc (tc=tc@entry=0x5555557587f0, what_to_do=what_to_do@entry=0 '\000')
at src/gc/orchestrate.c:357
other = <optimized out>
gen = 0 '\000'
i = <optimized out>
n = <optimized out>
interval_id = 0
#4 0x00007ffff77ece72 in MVM_gc_enter_from_allocator (tc=tc@entry=0x5555557587f0) at src/gc/orchestrate.c:470
last_starter = 0x55555946e0d0
num_threads = <optimized out>
#5 0x00007ffff77ed090 in MVM_gc_allocate_nursery (tc=0x5555557587f0, size=32) at src/gc/allocation.c:32
allocated = <optimized out>
#6 0x00007ffff77ed3e8 in MVM_gc_allocate_object (tc=0x5555557587f0, st=<optimized out>) at src/gc/allocation.c:86
obj = <optimized out>
#7 0x00007ffff77b3278 in MVM_args_set_result_int (tc=0x5555557587f0, result=0, frameless=<optimized out>)
at src/core/args.c:448
box = 0x5555558c6db8
box_type = <optimized out>
target = 0x7ffff4d79d10
#8 0x00007ffff77c2586 in MVM_interp_run (tc=tc@entry=0x5555557587f0, initial_invoke=0x555559bb2e40,
invoke_data=0x55555a2f6140) at src/core/interp.c:440
op = 24896
LABELS = {0x7ffff77b798a <MVM_interp_run+170>, 0x7ffff77c1877 <MVM_interp_run+40855>,
0x7ffff77b7a69 <MVM_interp_run+393>, 0x7ffff77b7a69 <MVM_interp_run+393>,
0x7ffff77c1a60 <MVM_interp_run+41344>, 0x7ffff77c1862 <MVM_interp_run+40834>,
0x7ffff77c6013 <MVM_interp_run+59187>, 0x7ffff77c5ef1 <MVM_interp_run+58897>,
0x7ffff77c5f4a <MVM_interp_run+58986>, 0x7ffff77c5f8d <MVM_interp_run+59053>,
0x7ffff77c5fd0 <MVM_interp_run+59120>, 0x7ffff77c5d52 <MVM_interp_run+58482>,
0x7ffff77c5d94 <MVM_interp_run+58548>, 0x7ffff77c615d <MVM_interp_run+59517>,
0x7ffff77c61a1 <MVM_interp_run+59585>, 0x7ffff77c6054 <MVM_interp_run+59252>,
0x7ffff77c6096 <MVM_interp_run+59318>, 0x7ffff77c60d9 <MVM_interp_run+59385>,
0x7ffff77c611b <MVM_interp_run+59451>, 0x7ffff77c5717 <MVM_interp_run+56887>,
0x7ffff77c575a <MVM_interp_run+56954>, 0x7ffff77c579c <MVM_interp_run+57020>,
0x7ffff77c57e5 <MVM_interp_run+57093>, 0x7ffff77c582e <MVM_interp_run+57166>,
0x7ffff77c587c <MVM_interp_run+57244>, 0x7ffff77c58e0 <MVM_interp_run+57344>,
0x7ffff77c593e <MVM_interp_run+57438>, 0x7ffff77c59a8 <MVM_interp_run+57544>,
0x7ffff77c5be3 <MVM_interp_run+58115>, 0x7ffff77c5a85 <MVM_interp_run+57765>,
0x7ffff77c5b70 <MVM_interp_run+58000>, 0x7ffff77c5a0c <MVM_interp_run+57644>,
0x7ffff77c5c60 <MVM_interp_run+58240>, 0x7ffff77c5afe <MVM_interp_run+57886>,
0x7ffff77c5ccf <MVM_interp_run+58351>, 0x7ffff77c1569 <MVM_interp_run+40073>,
0x7ffff77c17bf <MVM_interp_run+40671>, 0x7ffff77c170f <MVM_interp_run+40495>,
0x7ffff77c4bce <MVM_interp_run+53998>, 0x7ffff77c4c40 <MVM_interp_run+54112>,
0x7ffff77c4d1d <MVM_interp_run+54333>, 0x7ffff77c4cb0 <MVM_interp_run+54224>,
0x7ffff77c4d9d <MVM_interp_run+54461>, 0x7ffff77c4e0a <MVM_interp_run+54570>,
0x7ffff77c5e34 <MVM_interp_run+58708>, 0x7ffff77b7b04 <MVM_interp_run+548>,
0x7ffff77b7b04 <MVM_interp_run+548>, 0x7ffff77c22c7 <MVM_interp_run+43495>,
0x7ffff77c2321 <MVM_interp_run+43585>, 0x7ffff77c2378 <MVM_interp_run+43672>,
0x7ffff77c24e0 <MVM_interp_run+44032>, 0x7ffff77c2560 <MVM_interp_run+44160>,
0x7ffff77c290e <MVM_interp_run+45102>, 0x7ffff77c2839 <MVM_interp_run+44889>,
0x7ffff77c5dd8 <MVM_interp_run+58616>, 0x7ffff77c5630 <MVM_interp_run+56656>,
0x7ffff77c5ea1 <MVM_interp_run+58817>, 0x7ffff77c5677 <MVM_interp_run+56727>,
0x7ffff77c56c7 <MVM_interp_run+56807>, 0x7ffff77c5384 <MVM_interp_run+55972>,
0x7ffff77c53d4 <MVM_interp_run+56052>, 0x7ffff77c5424 <MVM_interp_run+56132>,
0x7ffff77c5474 <MVM_interp_run+56212>, 0x7ffff77c54d1 <MVM_interp_run+56305>,
0x7ffff77c551c <MVM_interp_run+56380>, 0x7ffff77c5567 <MVM_interp_run+56455>,
0x7ffff77c55b3 <MVM_interp_run+56531>, 0x7ffff77c4ec9 <MVM_interp_run+54761>,
0x7ffff77c4f16 <MVM_interp_run+54838>, 0x7ffff77c4f6f <MVM_interp_run+54927>,
0x7ffff77be92e <MVM_interp_run+28750>, 0x7ffff77be974 <MVM_interp_run+28820>,
0x7ffff77be9c4 <MVM_interp_run+28900>, 0x7ffff77bea00 <MVM_interp_run+28960>,
0x7ffff77bea3c <MVM_interp_run+29020>, 0x7ffff77bea78 <MVM_interp_run+29080>,
0x7ffff77beab4 <MVM_interp_run+29140>, 0x7ffff77beaff <MVM_interp_run+29215>,
0x7ffff77beb4a <MVM_interp_run+29290>, 0x7ffff77beb95 <MVM_interp_run+29365>,
0x7ffff77bebdb <MVM_interp_run+29435>, 0x7ffff77bec29 <MVM_interp_run+29513>,
0x7ffff77bec77 <MVM_interp_run+29591>, 0x7ffff77becf4 <MVM_interp_run+29716>,
0x7ffff77bed3e <MVM_interp_run+29790>, 0x7ffff77bedc5 <MVM_interp_run+29925>,
0x7ffff77bee4a <MVM_interp_run+30058>, 0x7ffff77beea5 <MVM_interp_run+30149>,
0x7ffff77bef00 <MVM_interp_run+30240>, 0x7ffff77bef52 <MVM_interp_run+30322>,
0x7ffff77befa4 <MVM_interp_run+30404>, 0x7ffff77beff7 <MVM_interp_run+30487>,
0x7ffff77bf04a <MVM_interp_run+30570>, 0x7ffff77bf0ae <MVM_interp_run+30670>,
0x7ffff77bf0fc <MVM_interp_run+30748>, 0x7ffff77bf14a <MVM_interp_run+30826>,
0x7ffff77bf198 <MVM_interp_run+30904>, 0x7ffff77bf1e6 <MVM_interp_run+30982>,
0x7ffff77bf278 <MVM_interp_run+31128>, 0x7ffff77bf2c5 <MVM_interp_run+31205>,
0x7ffff77bf336 <MVM_interp_run+31318>, 0x7ffff77bf38c <MVM_interp_run+31404>,
0x7ffff77bf3da <MVM_interp_run+31482>, 0x7ffff77bf428 <MVM_interp_run+31560>,
0x7ffff77bf476 <MVM_interp_run+31638>, 0x7ffff77bf4c3 <MVM_interp_run+31715>,
0x7ffff77bf511 <MVM_interp_run+31793>, 0x7ffff77bf55e <MVM_interp_run+31870>,
0x7ffff77bf5ac <MVM_interp_run+31948>, 0x7ffff77bf5fa <MVM_interp_run+32026>,
0x7ffff77bf650 <MVM_interp_run+32112>, 0x7ffff77bf6aa <MVM_interp_run+32202>,
0x7ffff77bf6ff <MVM_interp_run+32287>, 0x7ffff77bf74c <MVM_interp_run+32364>,
0x7ffff77bf799 <MVM_interp_run+32441>, 0x7ffff77bf7e7 <MVM_interp_run+32519>,
0x7ffff77bf840 <MVM_interp_run+32608>, 0x7ffff77bf892 <MVM_interp_run+32690>,
0x7ffff77c50f0 <MVM_interp_run+55312>, 0x7ffff77c4fbc <MVM_interp_run+55004>,
0x7ffff77c5006 <MVM_interp_run+55078>, 0x7ffff77c504b <MVM_interp_run+55147>,
0x7ffff77c509d <MVM_interp_run+55229>, 0x7ffff77c4e77 <MVM_interp_run+54679>,
0x7ffff77c5331 <MVM_interp_run+55889>, 0x7ffff77c527d <MVM_interp_run+55709>,
0x7ffff77c52d7 <MVM_interp_run+55799>, 0x7ffff77c513d <MVM_interp_run+55389>,
0x7ffff77c5185 <MVM_interp_run+55461>, 0x7ffff77c51d7 <MVM_interp_run+55543>,
0x7ffff77c522b <MVM_interp_run+55627>, 0x7ffff77c4665 <MVM_interp_run+52613>,
0x7ffff77c46b7 <MVM_interp_run+52695>, 0x7ffff77c46fe <MVM_interp_run+52766>,
0x7ffff77c4747 <MVM_interp_run+52839>, 0x7ffff77c47a8 <MVM_interp_run+52936>,
0x7ffff77c49b3 <MVM_interp_run+53459>, 0x7ffff77c484f <MVM_interp_run+53103>,
0x7ffff77c4901 <MVM_interp_run+53281>, 0x7ffff77c4a65 <MVM_interp_run+53637>,
0x7ffff77c4b17 <MVM_interp_run+53815>, 0x7ffff77c4b69 <MVM_interp_run+53897>,
0x7ffff77be86a <MVM_interp_run+28554>, 0x7ffff77b7b19 <MVM_interp_run+569>,
0x7ffff77b7b7e <MVM_interp_run+670>, 0x7ffff77b7be3 <MVM_interp_run+771>,
0x7ffff77b7c65 <MVM_interp_run+901>, 0x7ffff77b7ce7 <MVM_interp_run+1031>,
0x7ffff77b803d <MVM_interp_run+1885>, 0x7ffff77b7f45 <MVM_interp_run+1637>,
0x7ffff77b7fc1 <MVM_interp_run+1761>, 0x7ffff77b7e02 <MVM_interp_run+1314>,
0x7ffff77b7e7e <MVM_interp_run+1438>, 0x7ffff77b811f <MVM_interp_run+2111>,
0x7ffff77b81b8 <MVM_interp_run+2264>, 0x7ffff77b7d69 <MVM_interp_run+1161>,
0x7ffff77b82ea <MVM_interp_run+2570>, 0x7ffff77b80bf <MVM_interp_run+2015>,
0x7ffff77b8383 <MVM_interp_run+2723>, 0x7ffff77b7efa <MVM_interp_run+1562>,
0x7ffff77b83df <MVM_interp_run+2815>, 0x7ffff77b8251 <MVM_interp_run+2417>,
0x7ffff77b8298 <MVM_interp_run+2488>, 0x7ffff77b8474 <MVM_interp_run+2964>,
0x7ffff77b84cd <MVM_interp_run+3053>, 0x7ffff77b8a65 <MVM_interp_run+4485>,
0x7ffff77b8aed <MVM_interp_run+4621>, 0x7ffff77b88b9 <MVM_interp_run+4057>,
0x7ffff77b891f <MVM_interp_run+4159>, 0x7ffff77b89a4 <MVM_interp_run+4292>,
0x7ffff77b8a0a <MVM_interp_run+4394>, 0x7ffff77b8609 <MVM_interp_run+3369>,
0x7ffff77b8667 <MVM_interp_run+3463>, 0x7ffff77b86c5 <MVM_interp_run+3557>,
0x7ffff77b871c <MVM_interp_run+3644>, 0x7ffff77b8776 <MVM_interp_run+3734>,
0x7ffff77b87d0 <MVM_interp_run+3824>, 0x7ffff77b8829 <MVM_interp_run+3913>,
0x7ffff77b8873 <MVM_interp_run+3987>, 0x7ffff77b8555 <MVM_interp_run+3189>,
0x7ffff77b85bc <MVM_interp_run+3292>, 0x7ffff77b8d0f <MVM_interp_run+5167>,
0x7ffff77b8f32 <MVM_interp_run+5714>, 0x7ffff77b8bcd <MVM_interp_run+4845>,
0x7ffff77b90bd <MVM_interp_run+6109>, 0x7ffff77b8df7 <MVM_interp_run+5399>,
0x7ffff77b9170 <MVM_interp_run+6288>, 0x7ffff77b8b4b <MVM_interp_run+4715>,
0x7ffff77b8f84 <MVM_interp_run+5796>, 0x7ffff77b8d75 <MVM_interp_run+5269>,
0x7ffff77b9006 <MVM_interp_run+5926>, 0x7ffff77b8c1e <MVM_interp_run+4926>,
0x7ffff77b8c9b <MVM_interp_run+5051>, 0x7ffff77b8e61 <MVM_interp_run+5505>,
0x7ffff77b910e <MVM_interp_run+6190>, 0x7ffff77b91f2 <MVM_interp_run+6418>,
0x7ffff77bcaba <MVM_interp_run+20954>, 0x7ffff77bca01 <MVM_interp_run+20769>,
0x7ffff77bf9f6 <MVM_interp_run+33046>, 0x7ffff77bfa50 <MVM_interp_run+33136>...}
cur_op = 0x7ffff4f8eb24 "\005"
bytecode_start = 0x7ffff4f8eab2 "\214"
reg_base = 0x5555558c6da0
cu = 0x555556457610
cur_callsite = 0x7ffff7dc7120 <inv_arg_callsite>
#9 0x00007ffff789adb7 in MVM_vm_run_file (instance=0x555555758010,
filename=0x7fffffffd848 "/home/samantha/perl6/share/perl6/runtime/perl6.moarvm") at src/moar.c:318
tc = 0x5555557587f0
cu = 0x5555557bca40
#10 0x0000555555555446 in main (argc=7, argv=0x7fffffffd218) at src/main.c:246
instance = 0x555555758010
input_file = 0x7fffffffd848 "/home/samantha/perl6/share/perl6/runtime/perl6.moarvm"
executable_name = <optimized out>
lib_path = {0x7fffffffd7c3 "/home/samantha/perl6/share/nqp/lib",
0x7fffffffd7f0 "/home/samantha/perl6/share/perl6/lib",
0x7fffffffd81f "/home/samantha/perl6/share/perl6/runtime", 0x0, 0x7fffffffd0ff "", 0x7fffffffd0fe "",
0x7fffffffd120 "\360\321\377\377\377\177",
0x5555555555ee <__libc_csu_init+94> "I\203\305\001I9\335u\351H\203\304\030[A\\A]A^A_]\303f.\017\037\204"}
dump = <optimized out>
full_cleanup = <optimized out>
argi = 6
lib_path_i = <optimized out>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment