Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Created November 16, 2013 15:41
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 FROGGS/365ffb89aa33b12ac65a to your computer and use it in GitHub Desktop.
Save FROGGS/365ffb89aa33b12ac65a to your computer and use it in GitHub Desktop.
The following step can take a long time, please be patient.
/home/froggs/dev/rakudo/../nqp/install/bin/moar --libpath="/home/froggs/dev/rakudo/../nqp/install/languages/nqp/lib" perl6.moarvm --setting=NULL --optimize=3 --target=mbc --stagestats --output=CORE.setting.moarvm src/gen/m-CORE.setting
Stage start : 0.000
Segmentation fault (core dumped)
make: *** [CORE.setting.moarvm] Fehler 139
froggs@TL02L-R8RXTCW-linux:~/dev/rakudo$ gdb --args /home/froggs/dev/rakudo/../nqp/install/bin/moar --libpath="/home/froggs/dev/rakudo/../nqp/install/languages/nqp/lib" perl6.moarvm --setting=NULL --optimize=3 --target=mbc --stagestats --output=CORE.setting.moarvm src/gen/m-CORE.setting
GNU gdb (GDB) 7.6.1-ubuntu
Copyright (C) 2013 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/froggs/dev/nqp/install/bin/moar...done.
(gdb) run
Starting program: /home/froggs/dev/rakudo/../nqp/install/bin/moar --libpath=/home/froggs/dev/rakudo/../nqp/install/languages/nqp/lib perl6.moarvm --setting=NULL --optimize=3 --target=mbc --stagestats --output=CORE.setting.moarvm src/gen/m-CORE.setting
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Stage start : 0.000
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79df4a6 in MVM_gc_root_add_gen2s_to_worklist (tc=0x6033c0, worklist=0x47ab900) at src/gc/roots.c:193
193 if (*cur_item_ptr && !((*cur_item_ptr)->flags & MVM_CF_SECOND_GEN)) {
(gdb) bt full
#0 0x00007ffff79df4a6 in MVM_gc_root_add_gen2s_to_worklist (tc=0x6033c0, worklist=0x47ab900) at src/gc/roots.c:193
num_in_nursery = 0
gen2roots = 0x7ffff50f4010
num_roots = 21620
i = 21572
cur_item_ptr = 0x4398b68
cur_frame = 0x0
insert_pos = 21572
per_obj_worklist = 0x47e8590
#1 0x00007ffff79e4851 in MVM_gc_collect (tc=0x6033c0, what_to_do=0 '\000', gen=0 '\000') at src/gc/collect.c:100
fromspace = 0x7ffff67e0010
tospace = 0x7ffff69e1010
worklist = 0x47ab900
wtp = {num_target_threads = 0, target_work = 0x0}
#2 0x00007ffff79ddbde in run_gc (tc=0x6033c0, what_to_do=0 '\000') at src/gc/orchestrate.c:272
other = 0x6033c0
gen = 0 '\000'
i = 0
n = 1
#3 0x00007ffff79ddfbb in MVM_gc_enter_from_allocator (tc=0x6033c0) at src/gc/orchestrate.c:367
last_starter = 0x14c3870
num_threads = 0
#4 0x00007ffff79de1b5 in MVM_gc_allocate_nursery (tc=0x6033c0, size=64) at src/gc/allocation.c:32
allocated = 0x130ff40
#5 0x00007ffff79de23c in MVM_gc_allocate_zeroed (tc=0x6033c0, size=64) at src/gc/allocation.c:49
No locals.
#6 0x00007ffff79de46b in MVM_gc_allocate_object (tc=0x6033c0, st=0x666be8) at src/gc/allocation.c:84
obj = 0x7fffffffcd10
#7 0x00007ffff79ee381 in allocate (tc=0x6033c0, st=0x666be8) at src/6model/reprs/MVMArray.c:32
No locals.
#8 0x00007ffff799997a in MVM_args_slurpy_positional (tc=0x6033c0, ctx=0x4816988, pos=1) at src/core/args.c:400
type = 0x6707c0
result = 0x0
box = 0x0
arg_info = {arg = {o = 0x7ffff69dffa0, s = 0x7ffff69dffa0, i8 = -96 '\240', ui8 = 160 '\240', i16 = -96, ui16 = 65440, i32 = -157417568, ui32 = 4137549728,
i64 = 140737330937760, ui64 = 140737330937760, n32 = -1,6022955e+33, n64 = 6,9533480303737643e-310}, flags = 0 '\000', exists = 106 'j'}
reg = {o = 0x8716f0, s = 0x8716f0, i8 = -16 '\360', ui8 = 240 '\360', i16 = 5872, ui16 = 5872, i32 = 8853232, ui32 = 8853232, i64 = 8853232, ui64 = 8853232,
n32 = 1,24060204e-38, n64 = 4,3740777858623908e-317}
#9 0x00007ffff799fec7 in MVM_interp_run (tc=0x6033c0, initial_invoke=0x7ffff7a2cfd1 <toplevel_initial_invoke>, invoke_data=0x6487e0) at src/core/interp.c:823
op = 157
cur_op = 0x7ffff7e7738e ""
bytecode_start = 0x7ffff7e7736c "\237"
reg_base = 0x4816a00
cu = 0x1475b20
cur_callsite = 0x130ff40
#10 0x00007ffff7a2d0f5 in MVM_vm_run_file (instance=0x603010, filename=0x7fffffffe1f0 "perl6.moarvm") at src/moar.c:150
start_frame = 0x6487e0
---Type <return> to continue, or q <return> to quit---
tc = 0x6033c0
cu = 0x7ffff67e3f28
#11 0x0000000000400d99 in main (argc=9, argv=0x7fffffffddc8) at src/main.c:137
instance = 0x603010
input_file = 0x7fffffffe1f0 "perl6.moarvm"
lib_path = 0x7fffffffe1b7 "/home/froggs/dev/rakudo/../nqp/install/languages/nqp/lib"
dump = 0
argi = 3
flag = -2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment