Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
+++ Compiling perl6.moarvm
+++ Generating gen/moar/BOOTSTRAP/v6c.nqp
+++ Generating gen/moar/Metamodel.nqp
+++ Compiling blib/Perl6/Metamodel.moarvm
+++ Compiling blib/Perl6/BOOTSTRAP/v6c.moarvm
Segmentation fault (core dumped)
Makefile:786: recipe for target 'blib/Perl6/BOOTSTRAP/v6c.moarvm' failed
make: *** [blib/Perl6/BOOTSTRAP/v6c.moarvm] Error 139
dogbert@dogbert-VirtualBox ~/repos/rakudo $ gdb /home/dogbert/repos/rakudo/install/bin/nqp-m 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 <>
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:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/dogbert/repos/rakudo/install/bin/nqp-m...(no debugging symbols found)...done.
[New LWP 21245]
[New LWP 21244]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/".
Core was generated by `/home/dogbert/repos/rakudo/install/bin/nqp-m --module-path=blib --target=mbc --'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f035ef8cf2b in MVM_spesh_stats_gc_mark () from //home/dogbert/repos/rakudo/install/lib/
[Current thread is 1 (Thread 0x7f035dbe4700 (LWP 21245))]
(gdb) bt
#0 0x00007f035ef8cf2b in MVM_spesh_stats_gc_mark () from //home/dogbert/repos/rakudo/install/lib/
#1 0x00007f035ef5e133 in gc_mark () from //home/dogbert/repos/rakudo/install/lib/
#2 0x00007f035ef14cf7 in MVM_gc_root_add_gen2s_to_worklist () from //home/dogbert/repos/rakudo/install/lib/
#3 0x00007f035ef16755 in MVM_gc_collect () from //home/dogbert/repos/rakudo/install/lib/
#4 0x00007f035ef117a2 in run_gc () from //home/dogbert/repos/rakudo/install/lib/
#5 0x00007f035ef1203f in MVM_gc_enter_from_interrupt () from //home/dogbert/repos/rakudo/install/lib/
#6 0x00007f035ef77140 in MVM_spesh_candidate_add () from //home/dogbert/repos/rakudo/install/lib/
#7 0x00007f035ef8af35 in worker () from //home/dogbert/repos/rakudo/install/lib/
#8 0x00007f035eef3ab1 in thread_initial_invoke () from //home/dogbert/repos/rakudo/install/lib/
#9 0x00007f035eeccb80 in MVM_interp_run () from //home/dogbert/repos/rakudo/install/lib/
#10 0x00007f035eef3b36 in start_thread () from //home/dogbert/repos/rakudo/install/lib/
#11 0x00007f035e3f96ba in start_thread (arg=0x7f035dbe4700) at pthread_create.c:333
#12 0x00007f035ea1f41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7f035dbe4700 (LWP 21245) 0x00007f035ef8cf2b in MVM_spesh_stats_gc_mark () from //home/dogbert/repos/rakudo/install/lib/
2 Thread 0x7f035f986700 (LWP 21244) _int_malloc (av=av@entry=0x7f035ecdcb20 <main_arena>, bytes=bytes@entry=2225) at malloc.c:3802
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment