Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Last active April 11, 2019 21:12
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/a6fcab986d5b804fe541f3f0d48a8b6c to your computer and use it in GitHub Desktop.
Save MasterDuke17/a6fcab986d5b804fe541f3f0d48a8b6c to your computer and use it in GitHub Desktop.
[dan@alexandria p6]$ gdb -c t.core -d ~/p6/MoarVM -e ~/p6/install/bin/perl6-m
GNU gdb (GDB) 8.2.1
Copyright (C) 2018 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-pc-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".
warning: core file may not match specified executable file.
[New LWP 21141]
[New LWP 21134]
[New LWP 21136]
[New LWP 21133]
[New LWP 21135]
[New LWP 21140]
[New LWP 21137]
[New LWP 21186]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/home/dan/Source/perl6/install/bin/perl6 9.p6'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007fe0bfbced7f in raise () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7fe0b67fc700 (LWP 21141))]
(gdb) bt all
No symbol "all" in current context.
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7fe0b67fc700 (LWP 21141) 0x00007fe0bfbced7f in raise () from /usr/lib/libc.so.6
2 Thread 0x7fe0bf5ba700 (LWP 21134) 0x00007fe0bf9feafc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
3 Thread 0x7fe0b7fff700 (LWP 21136) 0x00007fe0bf9feafc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
4 Thread 0x7fe0bf9dd740 (LWP 21133) 0x00007fe0bfa01436 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
5 Thread 0x7fe0bcab6700 (LWP 21135) 0x00007fe0bf9feafc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
6 Thread 0x7fe0b6ffd700 (LWP 21140) 0x00007fe0bf9feafc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
7 Thread 0x7fe0b77fe700 (LWP 21137) 0x00007fe0bfc92c7e in epoll_pwait () from /usr/lib/libc.so.6
8 Thread 0x7fe02dfed700 (LWP 21186) 0x00007fe0bf9feafc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
(gdb) bt
#0 0x00007fe0bfbced7f in raise () from /usr/lib/libc.so.6
#1 0x00007fe0bfbb9672 in abort () from /usr/lib/libc.so.6
#2 0x00007fe0bfc11878 in __libc_message () from /usr/lib/libc.so.6
#3 0x00007fe0bfc1818a in malloc_printerr () from /usr/lib/libc.so.6
#4 0x00007fe0bfc1998c in _int_free () from /usr/lib/libc.so.6
#5 0x00007fe0bffd7f41 in MVM_gc_collect_free_nursery_uncopied (executing_thread=executing_thread@entry=0x7fe0b00e63c0, tc=tc@entry=0x55bbec4ba1e0, limit=0x7fe0bcdf5770) at src/gc/collect.c:626
#6 0x00007fe0bffd3697 in finish_gc (is_coordinator=<optimized out>, gen=<optimized out>, tc=0x7fe0b00e63c0) at src/gc/orchestrate.c:241
#7 run_gc (tc=tc@entry=0x7fe0b00e63c0, what_to_do=what_to_do@entry=0 '\000') at src/gc/orchestrate.c:413
#8 0x00007fe0bffd3fdf in MVM_gc_enter_from_allocator (tc=tc@entry=0x7fe0b00e63c0) at src/gc/orchestrate.c:526
#9 0x00007fe0bffd4366 in MVM_gc_allocate_nursery (tc=0x7fe0b00e63c0, size=<optimized out>) at src/gc/allocation.c:35
#10 0x00007fe0bffd457b in MVM_gc_allocate_object (tc=0x7fe0b00e63c0, st=<optimized out>) at src/gc/allocation.c:89
#11 0x00007fe0bffb09cc in MVM_frame_takeclosure (tc=0x7fe0b00e63c0, code=<optimized out>) at src/core/frame.c:1192
#12 0x00007fe0be1b605f in ?? ()
#13 0x0000000000000008 in ?? ()
#14 0x000055bbec5ac668 in ?? ()
#15 0x00007fe0b00e63c0 in ?? ()
#16 0x00007fe0c04be4a0 in methnotfound_callsite () from /home/dan/Source/perl6/install/bin/../lib/libmoar.so
#17 0x000055bbec5ac668 in ?? ()
#18 0x00007fe0bffaf4e9 in MVM_frame_invoke (tc=0x55bbec4d0330, static_frame=<optimized out>, callsite=0x7fe0b67fbb60, args=0x7fe0bdd6c8b6, outer=<optimized out>, code_ref=<optimized out>, spesh_cand=<optimized out>) at src/core/frame.c:557
#19 0x00007fe0b00e63c0 in ?? ()
#20 0x00007fe0c04be4c0 in two_args_callsite () from /home/dan/Source/perl6/install/bin/../lib/libmoar.so
#21 0x00007fe0b00e63c0 in ?? ()
#22 0x000055bbec5ac640 in ?? ()
#23 0x00007fe0bff9aec8 in MVM_interp_run (tc=0x2, tc@entry=0x7fe0b00e63c0, initial_invoke=0x0, invoke_data=0x0, invoke_data@entry=0x7fe0b00e6090) at src/core/interp.c:6200
#24 0x00007fe0bffb6ca6 in start_thread (data=0x7fe0b00e6090) at src/core/threads.c:87
#25 0x00007fe0bf9f8a9d in start_thread () from /usr/lib/libpthread.so.0
#26 0x00007fe0bfc92b23 in clone () from /usr/lib/libc.so.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment