Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Last active February 28, 2017 13:20
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/9dc960277399ffdc295b1bcd9eee8662 to your computer and use it in GitHub Desktop.
Save dogbert17/9dc960277399ffdc295b1bcd9eee8662 to your computer and use it in GitHub Desktop.
harness6 --no-optimize
dogbert@dogbert-VirtualBox ~ $ sudo gdb -p 32502
[sudo] password for dogbert:
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 32502
Reading symbols from /home/dogbert/repos/rakudo/install/bin/moar...done.
warning: Could not load shared library symbols for ./dynext/libperl6_ops_moar.so.
Do you need "set solib-search-path" or "set sysroot"?
Reading symbols from //home/dogbert/repos/rakudo/install/lib/libmoar.so...done.
Loaded symbols for //home/dogbert/repos/rakudo/install/lib/libmoar.so
Reading symbols from /lib/i386-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/i386-linux-gnu/libc-2.19.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/libc.so.6
Reading symbols from /lib/i386-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug//lib/i386-linux-gnu/libm-2.19.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/libm.so.6
Reading symbols from /lib/i386-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug//lib/i386-linux-gnu/libpthread-2.19.so...done.
done.
[New LWP 2769]
[New LWP 2768]
[New LWP 2751]
[New LWP 2750]
[New LWP 2748]
[New LWP 2747]
[New LWP 2746]
[New LWP 2745]
[New LWP 2744]
[New LWP 2743]
[New LWP 2742]
[New LWP 2740]
[New LWP 2738]
[New LWP 2736]
[New LWP 2734]
[New LWP 2733]
[New LWP 2732]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Loaded symbols for /lib/i386-linux-gnu/libpthread.so.0
Reading symbols from /lib/i386-linux-gnu/librt.so.1...Reading symbols from /usr/lib/debug//lib/i386-linux-gnu/librt-2.19.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/librt.so.1
Reading symbols from /lib/i386-linux-gnu/libdl.so.2...Reading symbols from /usr/lib/debug//lib/i386-linux-gnu/libdl-2.19.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug//lib/i386-linux-gnu/ld-2.19.so...done.
done.
Loaded symbols for /lib/ld-linux.so.2
0x40024cb0 in ?? ()
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x43000b40 (LWP 2738)]
0x4018c0e1 in MVM_string_decodestream_destroy (tc=0xc85f3b0, ds=0x445f45a8) at src/strings/decode_stream.c:507
507 MVMDecodeStreamBytes *next_bytes = cur_bytes->next;
(gdb) bt full
#0 0x4018c0e1 in MVM_string_decodestream_destroy (tc=0xc85f3b0, ds=0x445f45a8) at src/strings/decode_stream.c:507
next_bytes = 0x42fff018
cur_bytes = 0x38
cur_chars = 0x0
#1 0x401523d3 in gc_free (tc=0xc85f3b0, obj=0x4dc06ee0) at src/6model/reprs/Decoder.c:33
decoder = 0x4dc06ee0
#2 0x4010a79d in MVM_gc_collect_free_gen2_unmarked (tc=0xc85f3b0, global_destruction=0) at src/gc/collect.c:702
obj = 0x4dc06ee0
col = 0x4dc06ee0
cur_ptr = 0x4dc06ee0 "\370n\300M\003"
end_ptr = 0x4dc07f30 ""
gen2 = 0xc87f938
bin = 2
obj_size = 24
page = 39
i = 0
freelist_insert_pos = 0x4dc06eb0
__PRETTY_FUNCTION__ = "MVM_gc_collect_free_gen2_unmarked"
#3 0x40104df4 in run_gc (tc=0x41ed1b10, what_to_do=0 '\000') at src/gc/orchestrate.c:358
other = 0xc85f3b0
gen = 1 '\001'
i = 15
n = 17
#4 0x40105179 in MVM_gc_enter_from_allocator (tc=0x41ed1b10) at src/gc/orchestrate.c:463
last_starter = 0x4455d050
num_threads = 1
#5 0x40105496 in MVM_gc_allocate_nursery (tc=0x41ed1b10, size=152) at src/gc/allocation.c:32
allocated = 0x42d6dc50
#6 0x401053ab in MVM_gc_allocate (tc=0x41ed1b10, size=152) at src/gc/allocation.h:13
No locals.
#7 0x401054fa in MVM_gc_allocate_zeroed (tc=0x41ed1b10, size=152) at src/gc/allocation.c:49
No locals.
#8 0x40105746 in MVM_gc_allocate_frame (tc=0x41ed1b10) at src/gc/allocation.c:99
f = 0x42d6dc50
#9 0x400e5141 in MVM_frame_force_to_heap (tc=0x41ed1b10, frame=0x42d201f8) at src/core/frame.c:639
promoted = 0x42d6dc50
cur_to_promote = 0x42d20160
new_cur_frame = 0x42d01fc8
update_caller = 0x42d01fc8
result = 0x42d01fc8
#10 0x400e606a in MVM_frame_takeclosure (tc=0x41ed1b10, code=0xa345520) at src/core/frame.c:1067
closure = 0x42d02060
captured = 0x0
#11 0x400c021b in MVM_interp_run (tc=0x41ed1b10, initial_invoke=0x400ece51 <thread_initial_invoke>, invoke_data=0x41f1c598) at src/core/interp.c:1103
op = 162
LABELS = {0x400b965a <MVM_interp_run+155>, 0x400b968a <MVM_interp_run+203>, 0x400b968c <MVM_interp_run+205>, 0x400b968c <MVM_interp_run+205>, 0x400b96a1 <MVM_interp_run+226>,
0x400b9715 <MVM_interp_run+342>, 0x400b972a <MVM_interp_run+363>, 0x400b979b <MVM_interp_run+476>, 0x400b981a <MVM_interp_run+603>, 0x400b9897 <MVM_interp_run+728>,
0x400b991a <MVM_interp_run+859>, 0x400b999d <MVM_interp_run+990>, 0x400b9a1c <MVM_interp_run+1117>, 0x400b9a9b <MVM_interp_run+1244>, 0x400b9b1a <MVM_interp_run+1371>,
0x400b9b95 <MVM_interp_run+1494>, 0x400b9c0f <MVM_interp_run+1616>, 0x400b9c8a <MVM_interp_run+1739>, 0x400b9d04 <MVM_interp_run+1861>, 0x400b9d7e <MVM_interp_run+1983>,
0x400b9df9 <MVM_interp_run+2106>, 0x400b9e73 <MVM_interp_run+2228>, 0x400b9eea <MVM_interp_run+2347>, 0x400b9f6d <MVM_interp_run+2478>, 0x400b9fca <MVM_interp_run+2571>,
0x400ba05d <MVM_interp_run+2718>, 0x400ba0f0 <MVM_interp_run+2865>, 0x400ba18c <MVM_interp_run+3021>, 0x400ba228 <MVM_interp_run+3177>, 0x400ba2da <MVM_interp_run+3355>,
0x400ba38c <MVM_interp_run+3533>, 0x400ba437 <MVM_interp_run+3704>, 0x400ba4e2 <MVM_interp_run+3875>, 0x400ba586 <MVM_interp_run+4039>, 0x400ba62a <MVM_interp_run+4203>,
0x400ba741 <MVM_interp_run+4482>, 0x400ba8f5 <MVM_interp_run+4918>, 0x400baac3 <MVM_interp_run+5380>, 0x400bab61 <MVM_interp_run+5538>, 0x400babf9 <MVM_interp_run+5690>,
0x400bac91 <MVM_interp_run+5842>, 0x400bad48 <MVM_interp_run+6025>, 0x400bade0 <MVM_interp_run+6177>, 0x400bae78 <MVM_interp_run+6329>, 0x400baf10 <MVM_interp_run+6481>,
0x400bafa8 <MVM_interp_run+6633>, 0x400bafa8 <MVM_interp_run+6633>, 0x400bafbd <MVM_interp_run+6654>, 0x400bb050 <MVM_interp_run+6801>, 0x400bb0e6 <MVM_interp_run+6951>,
0x400bb514 <MVM_interp_run+8021>, 0x400bb622 <MVM_interp_run+8291>, 0x400bb6a1 <MVM_interp_run+8418>, 0x400bb719 <MVM_interp_run+8538>, 0x400bb791 <MVM_interp_run+8658>,
0x400bb809 <MVM_interp_run+8778>, 0x400bb864 <MVM_interp_run+8869>, 0x400bb93c <MVM_interp_run+9085>, 0x400bba14 <MVM_interp_run+9301>, 0x400bbad9 <MVM_interp_run+9498>,
0x400bbb9e <MVM_interp_run+9695>, 0x400bbc63 <MVM_interp_run+9892>, 0x400bbd28 <MVM_interp_run+10089>, 0x400bbe43 <MVM_interp_run+10372>, 0x400bbee3 <MVM_interp_run+10532>,
0x400bbf87 <MVM_interp_run+10696>, 0x400bc04a <MVM_interp_run+10891>, 0x400bc240 <MVM_interp_run+11393>, 0x400bc2fb <MVM_interp_run+11580>, 0x400bc40d <MVM_interp_run+11854>,
0x400bc4c8 <MVM_interp_run+12041>, 0x400bc54c <MVM_interp_run+12173>, 0x400bc638 <MVM_interp_run+12409>, 0x400bc6a1 <MVM_interp_run+12514>, 0x400bc70a <MVM_interp_run+12619>,
0x400bc773 <MVM_interp_run+12724>, 0x400bc7dc <MVM_interp_run+12829>, 0x400bc8a2 <MVM_interp_run+13027>, 0x400bc968 <MVM_interp_run+13225>, 0x400bca2e <MVM_interp_run+13423>,
0x400bcacb <MVM_interp_run+13580>, 0x400bcb86 <MVM_interp_run+13767>, 0x400bcc42 <MVM_interp_run+13955>, 0x400bce31 <MVM_interp_run+14450>, 0x400bcebf <MVM_interp_run+14592>,
0x400bd007 <MVM_interp_run+14920>, 0x400bd1cb <MVM_interp_run+15372>, 0x400bd27c <MVM_interp_run+15549>, 0x400bd32d <MVM_interp_run+15726>, 0x400bd3d2 <MVM_interp_run+15891>,
0x400bd477 <MVM_interp_run+16056>, 0x400bd51e <MVM_interp_run+16223>, 0x400bd5c5 <MVM_interp_run+16390>, 0x400bd69c <MVM_interp_run+16605>, 0x400bd731 <MVM_interp_run+16754>,
0x400bd7c6 <MVM_interp_run+16903>, 0x400bd85b <MVM_interp_run+17052>, 0x400bd8f0 <MVM_interp_run+17201>, 0x400bd9d5 <MVM_interp_run+17430>, 0x400bda4e <MVM_interp_run+17551>,
0x400bdb1a <MVM_interp_run+17755>, 0x400bdbbb <MVM_interp_run+17916>, 0x400bdc3a <MVM_interp_run+18043>, 0x400bdcb9 <MVM_interp_run+18170>, 0x400bdd38 <MVM_interp_run+18297>,
0x400bddb7 <MVM_interp_run+18424>, 0x400bde36 <MVM_interp_run+18551>, 0x400bdeb5 <MVM_interp_run+18678>, 0x400bdf34 <MVM_interp_run+18805>, 0x400bdfb3 <MVM_interp_run+18932>,
0x400be054 <MVM_interp_run+19093>, 0x400be0d7 <MVM_interp_run+19224>, 0x400be15a <MVM_interp_run+19355>, 0x400be1d9 <MVM_interp_run+19482>, 0x400be258 <MVM_interp_run+19609>,
0x400be2d7 <MVM_interp_run+19736>, 0x400be35a <MVM_interp_run+19867>, 0x400be3d9 <MVM_interp_run+19994>, 0x400be458 <MVM_interp_run+20121>, 0x400be4d7 <MVM_interp_run+20248>,
0x400be563 <MVM_interp_run+20388>, 0x400be611 <MVM_interp_run+20562>, 0x400be69e <MVM_interp_run+20703>, 0x400be724 <MVM_interp_run+20837>, 0x400be7ad <MVM_interp_run+20974>,
0x400be833 <MVM_interp_run+21108>, 0x400be8d2 <MVM_interp_run+21267>, 0x400be971 <MVM_interp_run+21426>, 0x400be9e3 <MVM_interp_run+21540>, 0x400bea63 <MVM_interp_run+21668>,
0x400beadd <MVM_interp_run+21790>, 0x400beb57 <MVM_interp_run+21912>, 0x400bebd1 <MVM_interp_run+22034>, 0x400bec48 <MVM_interp_run+22153>, 0x400becbc <MVM_interp_run+22269>,
0x400bed3e <MVM_interp_run+22399>, 0x400bee37 <MVM_interp_run+22648>, 0x400bef46 <MVM_interp_run+22919>, 0x400bf055 <MVM_interp_run+23190>, 0x400bf164 <MVM_interp_run+23461>,
0x400bf273 <MVM_interp_run+23732>, 0x400bf2ef <MVM_interp_run+23856>, 0x400bf399 <MVM_interp_run+24026>, 0x400bf43a <MVM_interp_run+24187>, 0x400bf4db <MVM_interp_run+24348>,
0x400bf57c <MVM_interp_run+24509>, 0x400bf64c <MVM_interp_run+24717>, 0x400bf712 <MVM_interp_run+24915>, 0x400bf7d8 <MVM_interp_run+25113>, 0x400bf89e <MVM_interp_run+25311>,
0x400bf95f <MVM_interp_run+25504>, 0x400bfa17 <MVM_interp_run+25688>, 0x400bfacf <MVM_interp_run+25872>, 0x400bfb87 <MVM_interp_run+26056>, 0x400bfc6e <MVM_interp_run+26287>,
0x400bfd4b <MVM_interp_run+26508>, 0x400bfe28 <MVM_interp_run+26729>, 0x400bff05 <MVM_interp_run+26950>, 0x400bff8b <MVM_interp_run+27084>, 0x400bfffe <MVM_interp_run+27199>,
0x400c0078 <MVM_interp_run+27321>, 0x400c016f <MVM_interp_run+27568>, 0x400c01d8 <MVM_interp_run+27673>, 0x400c025e <MVM_interp_run+27807>, 0x400c02d6 <MVM_interp_run+27927>,
0x400c03f5 <MVM_interp_run+28214>, 0x400c0514 <MVM_interp_run+28501>, 0x400c0608 <MVM_interp_run+28745>, 0x400c06f3 <MVM_interp_run+28980>, 0x400c081f <MVM_interp_run+29280>,
0x400c090f <MVM_interp_run+29520>, 0x400c09b6 <MVM_interp_run+29687>, 0x400c0a5d <MVM_interp_run+29854>, 0x400c0b04 <MVM_interp_run+30021>, 0x400c0ba5 <MVM_interp_run+30182>,
0x400c0c46 <MVM_interp_run+30343>, 0x400c0ce7 <MVM_interp_run+30504>, 0x400c0d86 <MVM_interp_run+30663>, 0x400c0df0 <MVM_interp_run+30769>, 0x400c0e4a <MVM_interp_run+30859>,
0x400c0ec9 <MVM_interp_run+30986>, 0x400c0f3e <MVM_interp_run+31103>, 0x400c1003 <MVM_interp_run+31300>, 0x400c1089 <MVM_interp_run+31434>, 0x400c10f9 <MVM_interp_run+31546>,
0x400c1169 <MVM_interp_run+31658>, 0x400c1253 <MVM_interp_run+31892>, 0x400c137d <MVM_interp_run+32190>, 0x400c14b0 <MVM_interp_run+32497>, 0x400c15da <MVM_interp_run+32795>,
0x400c16fe <MVM_interp_run+33087>, 0x400c1927 <MVM_interp_run+33640>, 0x400c1a34 <MVM_interp_run+33909>, 0x400c1b31 <MVM_interp_run+34162>, 0x400c1ca4 <MVM_interp_run+34533>,
0x400c1d6a <MVM_interp_run+34731>, 0x400c1e10 <MVM_interp_run+34897>, 0x400c1e6e <MVM_interp_run+34991>, 0x400c1ef5 <MVM_interp_run+35126>, 0x400c1f9e <MVM_interp_run+35295>...}
cur_op = 0x42c89f90 "\022"
bytecode_start = 0x42c89f80 <incomplete sequence \367>
reg_base = 0x4d9514f8
cu = 0x9da08a0
cur_callsite = 0x4044e678 <inv_arg_callsite>
#12 0x400ecf93 in start_thread (data=data@entry=0x41f1c598) at src/core/threads.c:80
ts = 0x41f1c598
tc = 0x41ed1b10
#13 0x401d0487 in uv__thread_start (arg=0x41f637b0) at 3rdparty/libuv/src/unix/thread.c:49
ctx_p = 0x41f637b0
ctx = {entry = 0x400ecf28 <start_thread>, arg = 0x41f1c598}
#14 0x406a8f72 in start_thread (arg=0x43000b40) at pthread_create.c:312
__res = <optimized out>
pd = 0x43000b40
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1080799232, 1124076352, 4001536, 1124074536, -90707026, 797930920}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#15 0x40597f8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
No locals.
(gdb) p MVM_dump_backtrace(tc)
at <unknown>:1 (./CORE.setting.moarvm:wait)
from SETTING::src/core/Promise.pm:120 (./CORE.setting.moarvm:)
from SETTING::src/core/Lock.pm:24 (./CORE.setting.moarvm:protect)
from SETTING::src/core/Promise.pm:118 (./CORE.setting.moarvm:result)
from SETTING::src/core/asyncops.pm:17 (./CORE.setting.moarvm:await)
from /home/dogbert/repos/rakudo/lib/TAP.pm6 (TAP):996 (/home/dogbert/repos/rakudo/lib/.precomp/F536FD794E369D501E4D496922E5A9227ADD4F15.1488285059.8159/FB/FB7BC71B84DC9F961E5538C6DC0BFA7D98E5F671:)
from SETTING::src/core/Any-iterable-methods.pm:466 (./CORE.setting.moarvm:)
from SETTING::src/core/Any-iterable-methods.pm:454 (./CORE.setting.moarvm:sink-all)
from SETTING::src/core/Seq.pm:184 (./CORE.setting.moarvm:sink)
from /home/dogbert/repos/rakudo/lib/TAP.pm6 (TAP):991 (/home/dogbert/repos/rakudo/lib/.precomp/F536FD794E369D501E4D496922E5A9227ADD4F15.1488285059.8159/FB/FB7BC71B84DC9F961E5538C6DC0BFA7D98E5F671:)
from /home/dogbert/repos/rakudo/lib/TAP.pm6 (TAP):990 (/home/dogbert/repos/rakudo/lib/.precomp/F536FD794E369D501E4D496922E5A9227ADD4F15.1488285059.8159/FB/FB7BC71B84DC9F961E5538C6DC0BFA7D98E5F671:)
from SETTING::src/core/Promise.pm:216 (./CORE.setting.moarvm:)
from SETTING::src/core/ThreadPoolScheduler.pm:284 (./CORE.setting.moarvm:)
from SETTING::src/core/ThreadPoolScheduler.pm:173 (./CORE.setting.moarvm:)
from SETTING::src/core/ThreadPoolScheduler.pm:166 (./CORE.setting.moarvm:)
from SETTING::src/core/ThreadPoolScheduler.pm:163 (./CORE.setting.moarvm:)
from SETTING::src/core/Thread.pm:30 (./CORE.setting.moarvm:THREAD-ENTRY)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment