Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Last active March 1, 2018 22:08
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/0169440865ea7b1dcef2bcd457c847f1 to your computer and use it in GitHub Desktop.
Save dogbert17/0169440865ea7b1dcef2bcd457c847f1 to your computer and use it in GitHub Desktop.
whatever
dilbert@Linux-Mint18 ~ $ sudo gdb -p 28105
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 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 "x86_64-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 28105
[New LWP 28106]
[New LWP 28108]
[New LWP 28109]
[New LWP 28110]
[New LWP 28111]
[New LWP 28112]
[New LWP 28113]
[New LWP 28116]
[New LWP 28378]
[New LWP 28584]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185 ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory.
(gdb) b MVM_panic
Breakpoint 1 at 0x7f09b4e68b21: file src/core/exceptions.c, line 824.
(gdb) c
Continuing.
Thread 3 "moar" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f09b0fc1700 (LWP 28108)]
0x00007f09b4ee08ef in MVM_gc_mark_collectable (tc=0x153b9f0, worklist=0x7f09a6478e00, new_addr=0x6ca65a0) at src/gc/collect.c:367
367 MVM_gc_worklist_add(tc, worklist, &(tc->instance->all_scs[sc_idx]->sc));
(gdb) bt
#0 0x00007f09b4ee08ef in MVM_gc_mark_collectable (tc=0x153b9f0, worklist=0x7f09a6478e00, new_addr=0x6ca65a0) at src/gc/collect.c:367
#1 0x00007f09b4ee07a7 in process_worklist (tc=0x153b9f0, worklist=0x7f09a6478e00, wtp=0x7f09b0fbf350, gen=1 '\001') at src/gc/collect.c:341
#2 0x00007f09b4edfcf3 in MVM_gc_collect (tc=0x153b9f0, what_to_do=2 '\002', gen=1 '\001') at src/gc/collect.c:66
#3 0x00007f09b4ed7716 in process_in_tray (tc=0x153b9f0, gen=1 '\001') at src/gc/orchestrate.c:102
#4 0x00007f09b4ed77fb in finish_gc (tc=0x6ac63a0, gen=1 '\001', is_coordinator=1 '\001') at src/gc/orchestrate.c:133
#5 0x00007f09b4ed800b in run_gc (tc=0x6ac63a0, what_to_do=0 '\000') at src/gc/orchestrate.c:374
#6 0x00007f09b4ed8452 in MVM_gc_enter_from_allocator (tc=0x6ac63a0) at src/gc/orchestrate.c:487
#7 0x00007f09b4ed8922 in MVM_gc_allocate_nursery (tc=0x6ac63a0, size=184) at src/gc/allocation.c:32
#8 0x00007f09b4ed8825 in MVM_gc_allocate (tc=0x6ac63a0, size=184) at src/gc/allocation.h:13
#9 0x00007f09b4ed89a2 in MVM_gc_allocate_zeroed (tc=0x6ac63a0, size=184) at src/gc/allocation.c:49
#10 0x00007f09b4ed8e20 in MVM_gc_allocate_frame (tc=0x6ac63a0) at src/gc/allocation.c:99
#11 0x00007f09b4ead93d in allocate_frame (tc=0x6ac63a0, static_frame=0x1f29888, spesh_cand=0x7f09ac0afd40, heap=1) at src/core/frame.c:245
#12 0x00007f09b4eae54c in MVM_frame_invoke (tc=0x6ac63a0, static_frame=0x1f29888, callsite=0x7f09b5532ce0 <inv_arg_callsite>, args=0x1a0db10, outer=0x6d6ccc0, code_ref=0x2334cc0, spesh_cand=0)
at src/core/frame.c:489
#13 0x00007f09b4f175cf in invoke_handler (tc=0x6ac63a0, invokee=0x2334cc0, callsite=0x7f09b5532ce0 <inv_arg_callsite>, args=0x1a0db10) at src/6model/reprs/MVMCode.c:10
#14 0x00007f09b4e733f6 in MVM_interp_run (tc=0x6ac63a0, initial_invoke=0x7f09b4eb9cbf <thread_initial_invoke>, invoke_data=0x6b37890) at src/core/interp.c:993
#15 0x00007f09b4eb9dfc in start_thread (data=0x6b37890) at src/core/threads.c:85
#16 0x00007f09b43b96ba in start_thread (arg=0x7f09b0fc1700) at pthread_create.c:333
#17 0x00007f09b49df41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb) p MVM_dump_backtrace(tc)
at SETTING::src/core/Channel.pm:50 (/home/dilbert/.rakudobrew/moar-master/install/share/perl6/runtime/CORE.setting.moarvm:receive)
from SETTING::src/core/Channel.pm:68 (/home/dilbert/.rakudobrew/moar-master/install/share/perl6/runtime/CORE.setting.moarvm:receive)
from site#sources/67654E203267F9CE57E3CC46CF4B19FB7CAB95A3 (IRC::Client):122 (/home/dilbert/.rakudobrew/moar-master/install/share/perl6/site/precomp/520AACC6E860AB0F022DC2F0D5D466EEC59037A0.1519934939.82019/67/67654E203267F9CE57E3CC46CF4B19FB7CAB95A3:)
from site#sources/67654E203267F9CE57E3CC46CF4B19FB7CAB95A3 (IRC::Client):121 (/home/dilbert/.rakudobrew/moar-master/install/share/perl6/site/precomp/520AACC6E860AB0F022DC2F0D5D466EEC59037A0.1519934939.82019/67/67654E203267F9CE57E3CC46CF4B19FB7CAB95A3:run)
from /home/dilbert/repos/whateverable/lib/Whateverable.pm6 (Whateverable):538 (/home/dilbert/repos/whateverable/lib/.precomp/520AACC6E860AB0F022DC2F0D5D466EEC59037A0.1519934939.82019/E2/E24CB05785B9C2EAB7443F0214FD50B138313BB3:)
from SETTING::src/core/operators.pm:680 (/home/dilbert/.rakudobrew/moar-master/install/share/perl6/runtime/CORE.setting.moarvm:infix:<andthen>)
from SETTING::src/core/operators.pm:659 (/home/dilbert/.rakudobrew/moar-master/install/share/perl6/runtime/CORE.setting.moarvm:infix:<andthen>)
from /home/dilbert/repos/whateverable/lib/Whateverable.pm6 (Whateverable):538 (/home/dilbert/repos/whateverable/lib/.precomp/520AACC6E860AB0F022DC2F0D5D466EEC59037A0.1519934939.82019/E2/E24CB05785B9C2EAB7443F0214FD50B138313BB3:selfrun)
from ./bin/Evalable.p6:105 (<ephemeral file>:)
from ./bin/Evalable.p6:27 (<ephemeral file>:<unit>)
from ./bin/Evalable.p6:1 (<ephemeral file>:<unit-outer>)
from gen/moar/stage2/NQPHLL.nqp:1552 (/home/dilbert/.rakudobrew/moar-master/install/share/nqp/lib/NQPHLL.moarvm:eval)
from gen/moar/stage2/NQPHLL.nqp:1789 (/home/dilbert/.rakudobrew/moar-master/install/share/nqp/lib/NQPHLL.moarvm:evalfiles)
from gen/moar/stage2/NQPHLL.nqp:1681 (/home/dilbert/.rakudobrew/moar-master/install/share/nqp/lib/NQPHLL.moarvm:command_eval)
from src/Perl6/Compiler.nqp:42 (/home/dilbert/.rakudobrew/moar-master/install/share/nqp/lib/Perl6/Compiler.moarvm:command_eval)
from gen/moar/stage2/NQPHLL.nqp:1640 (/home/dilbert/.rakudobrew/moar-master/install/share/nqp/lib/NQPHLL.moarvm:command_line)
from gen/moar/main.nqp:47 (/home/dilbert/.rakudobrew/moar-master/install/share/perl6/runtime/perl6.moarvm:MAIN)
from gen/moar/main.nqp:38 (/home/dilbert/.rakudobrew/moar-master/install/share/perl6/runtime/perl6.moarvm:<mainline>)
from <unknown>:1 (/home/dilbert/.rakudobrew/moar-master/install/share/perl6/runtime/perl6.moarvm:<main>)
from <unknown>:1 (/home/dilbert/.rakudobrew/moar-master/install/share/perl6/runtime/perl6.moarvm:<entry>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment