Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created September 7, 2019 12:19
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/7782dce81e8b83d57d180777c727b7db to your computer and use it in GitHub Desktop.
Save dogbert17/7782dce81e8b83d57d180777c727b7db to your computer and use it in GitHub Desktop.
Boom
dogbert@dogbert-VirtualBox ~/repos/rakudo $ gdb install/bin/moar core
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"...
Reading symbols from install/bin/moar...done.
[New LWP 12596]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/dogbert/repos/rakudo/install/bin/moar --execname=/home/dogbert/repos/raku'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f89bd52be60 in gc_mark (tc=0x1114ac0, st=0x117fad8, data=0x1114ec0, worklist=0x6332030) at src/6model/reprs/MVMCode.c:53
53 MVMuint8 *flags = body->sf->body.static_env_flags;
(gdb) bt
#0 0x00007f89bd52be60 in gc_mark (tc=0x1114ac0, st=0x117fad8, data=0x1114ec0, worklist=0x6332030) at src/6model/reprs/MVMCode.c:53
#1 0x00007f89bd4edf5b in MVM_gc_mark_collectable (tc=0x1114ac0, worklist=0x6332030, new_addr=0x1114ea8) at src/gc/collect.c:439
#2 0x00007f89bd4eafec in process_worklist (tc=0x1114ac0, worklist=0x6332030, wtp=0x7fff792bf380, gen=0 '\000') at src/gc/collect.c:348
#3 0x00007f89bd4eaab1 in MVM_gc_collect (tc=0x1114ac0, what_to_do=0 '\000', gen=0 '\000') at src/gc/collect.c:147
#4 0x00007f89bd4df24c in run_gc (tc=0x1114ac0, what_to_do=0 '\000') at src/gc/orchestrate.c:431
#5 0x00007f89bd4df912 in MVM_gc_enter_from_allocator (tc=0x1114ac0) at src/gc/orchestrate.c:588
#6 0x00007f89bd4e018e in MVM_gc_allocate_nursery (tc=0x1114ac0, size=184) at src/gc/allocation.c:37
#7 0x00007f89bd4dff89 in MVM_gc_allocate (tc=0x1114ac0, size=184) at src/gc/allocation.h:18
#8 0x00007f89bd4e0217 in MVM_gc_allocate_zeroed (tc=0x1114ac0, size=184) at src/gc/allocation.c:56
#9 0x00007f89bd4e0749 in MVM_gc_allocate_frame (tc=0x1114ac0) at src/gc/allocation.c:106
#10 0x00007f89bd4a5da6 in MVM_frame_move_to_heap (tc=0x1114ac0, frame=0x7f89be01f0e8) at src/core/frame.c:645
#11 0x00007f89bd4a3289 in MVM_frame_force_to_heap (tc=0x1114ac0, frame=0x7f89be01f0e8) at src/core/frame.h:213
#12 0x00007f89bd4a8345 in MVM_frame_takeclosure (tc=0x1114ac0, code=0x2f3a0d0) at src/core/frame.c:1207
#13 0x00007f89bd470dcc in MVM_interp_run (tc=0x1114ac0, initial_invoke=0x7f89bd627203 <toplevel_initial_invoke>, invoke_data=0x11b16d8) at src/core/interp.c:1219
#14 0x00007f89bd6273a1 in MVM_vm_run_file (instance=0x1114010, filename=0x7fff792c3188 "/home/dogbert/repos/rakudo/perl6.moarvm") at src/moar.c:459
#15 0x00000000004016e7 in main (argc=9, argv=0x7fff792c12a8) at src/main.c:302
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment