Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created November 22, 2016 21:30
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/ef341289d3343e111b5498b1ae975de9 to your computer and use it in GitHub Desktop.
Save dogbert17/ef341289d3343e111b5498b1ae975de9 to your computer and use it in GitHub Desktop.
SEGV
dogbert@dogbert-VirtualBox ~/repos/rakudo $ gdb /home/dogbert/repos/rakudo/install/bin/moar core
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"...
Reading symbols from /home/dogbert/repos/rakudo/install/bin/moar...done.
[New LWP 5503]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Core was generated by `/home/dogbert/repos/rakudo/install/bin/moar --execname=./perl6 --libpath=/home/'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xb74bc597 in MVM_gc_root_add_frame_registers_to_worklist (tc=0x903f450, worklist=0xc53df30, frame=0xd10a2e8) at src/gc/roots.c:402
402 MVM_gc_worklist_add(tc, worklist, &frame->work[i].o);
(gdb) bt
#0 0xb74bc597 in MVM_gc_root_add_frame_registers_to_worklist (tc=0x903f450, worklist=0xc53df30, frame=0xd10a2e8) at src/gc/roots.c:402
#1 0xb74bc48a in MVM_gc_root_add_frame_roots_to_worklist (tc=0x903f450, worklist=0xc53df30, cur_frame=0xd10a2e8) at src/gc/roots.c:380
#2 0xb74be173 in MVM_gc_mark_collectable (tc=0x903f450, worklist=0xc53df30, new_addr=0xd10a2e8) at src/gc/collect.c:383
#3 0xb74bbe9a in MVM_gc_root_add_gen2s_to_worklist (tc=0x903f450, worklist=0xc53df30) at src/gc/roots.c:293
#4 0xb74bd0d5 in MVM_gc_collect (tc=0x903f450, what_to_do=0 '\000', gen=0 '\000') at src/gc/collect.c:127
#5 0xb74b924c in run_gc (tc=0x903f450, what_to_do=0 '\000') at src/gc/orchestrate.c:304
#6 0xb74b968b in MVM_gc_enter_from_allocator (tc=0x903f450) at src/gc/orchestrate.c:438
#7 0xb74b99a8 in MVM_gc_allocate_nursery (tc=0x903f450, size=156) at src/gc/allocation.c:32
#8 0xb74b98bd in MVM_gc_allocate (tc=0x903f450, size=156) at src/gc/allocation.h:13
#9 0xb74b9a0c in MVM_gc_allocate_zeroed (tc=0x903f450, size=156) at src/gc/allocation.c:49
#10 0xb74b9c58 in MVM_gc_allocate_frame (tc=0x903f450) at src/gc/allocation.c:99
#11 0xb7499753 in MVM_frame_force_to_heap (tc=0x903f450, frame=0x903fc7c) at src/core/frame.c:657
#12 0xb749a4fd in MVM_frame_takeclosure (tc=0x903f450, code=0x9199a28) at src/core/frame.c:1043
#13 0xb747482e in MVM_interp_run (tc=0x903f450, initial_invoke=0xb7567a23 <toplevel_initial_invoke>, invoke_data=0x90a8a40) at src/core/interp.c:1073
#14 0xb7567b52 in MVM_vm_run_file (instance=0x903f008, filename=0xbfe4a2c9 "/home/dogbert/repos/rakudo/perl6.moarvm") at src/moar.c:309
#15 0x08048ea6 in main (argc=8, argv=0xbfe482e4) at src/main.c:192
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment