Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Last active December 25, 2015 10:49
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/561bca9ac7cf945ebc76 to your computer and use it in GitHub Desktop.
Save FROGGS/561bca9ac7cf945ebc76 to your computer and use it in GitHub Desktop.
Starting program: /home/froggs/dev/nqp/install/bin/moar --libpath=/home/froggs/dev/nqp/install/languages/nqp/lib /home/froggs/dev/nqp/install/languages/nqp/lib/nqp.moarvm --target=mbc --output=blib/Perl6/Actions.moarvm --encoding=utf8 src/Perl6/Actions.nqp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff736aa6f in _int_realloc (av=av@entry=0x7ffff76a9740 <main_arena>, oldp=oldp@entry=0xd2b47c0, oldsize=8208, nb=nb@entry=16400) at malloc.c:4192
4192 malloc.c: File not found.
(gdb) bt full
#0 0x00007ffff736aa6f in _int_realloc (av=av@entry=0x7ffff76a9740 <main_arena>, oldp=oldp@entry=0xd2b47c0, oldsize=8208, nb=nb@entry=16400) at malloc.c:4192
newp = 0xd2b47c0
newsize = 1056784
newmem = <optimized out>
next = 0xd2b67d0
remainder = <optimized out>
remainder_size = <optimized out>
bck = 0x0
fwd = 0x40000000cc0000
copysize = <optimized out>
ncopies = <optimized out>
s = <optimized out>
d = <optimized out>
errstr = 0x0
__func__ = "_int_realloc"
nextsize = 1048576
#1 0x00007ffff736bb92 in __GI___libc_realloc (oldmem=0xd2b47d0, bytes=16384) at malloc.c:2984
ar_ptr = 0x7ffff76a9740 <main_arena>
nb = 16400
newp = <optimized out>
hook = <optimized out>
oldp = 0xd2b47c0
oldsize = <optimized out>
__func__ = "__libc_realloc"
#2 0x000000000047cd87 in ensure_space (tc=0x826310, buffer=0xcfac5b8, alloc=0xcfac5c4, pos=8214, need=52) at src/mast/compiler.c:218
No locals.
#3 0x0000000000480919 in compile_frame (tc=0x826310, ws=0xcfac580, node=0xbb534d0, idx=98) at src/mast/compiler.c:872
f = 0xbb534d0
fs = 0xcf30230
i = 3
num_ins = 0
instructions_start = 98
last_inst = 0x0
#4 0x0000000000481cba in MVM_mast_compile (tc=0x826310, node=0x17c6fd0, types=0xd295e40, size=0x7fffffffd11c) at src/mast/compiler.c:1216
cu = 0x17c6fd0
ws = 0xcfac580
bytecode = 0x7ffff6f5a0f0 ""
i = 98
num_depscs = 6
num_frames = 637
bytecode_size = 32767
#5 0x000000000047adfb in MVM_mast_to_file (tc=0x826310, mast=0x17c6fd0, types=0x7ffff6f59e88, filename=0x178c780) at src/mast/driver.c:75
fh = 0x826310
mnt = 0xd295e40
c_filename = 0x0
size = 0
bytecode = 0x40d6b7 <MVM_frame_try_return+29> "\311\303UH\211\345H\203\354\020H\211}\370H\213E\370\276\001"
---Type <return> to continue, or q <return> to quit---
#6 0x000000000044df38 in MVM_interp_run (tc=0x826310, initial_invoke=0x443072 <toplevel_initial_invoke>, invoke_data=0x952c40) at src/core/interp.c:1201
op = 178
cur_op = 0x7ffff6c971ae ""
bytecode_start = 0x7ffff6c97128 "`"
reg_base = 0xd06d140
cu = 0x1796af0
cur_callsite = 0xe2ca90
#7 0x0000000000443190 in MVM_vm_run_file (instance=0x826010, filename=0x7fffffffe331 "/home/froggs/dev/nqp/install/languages/nqp/lib/nqp.moarvm") at src/moar.c:132
start_frame = 0x952c40
tc = 0x826310
cu = 0x7ffff6ee9d58
#8 0x000000000040458d in main (argc=7, argv=0x7fffffffdfc8) at src/main.c:130
instance = 0x826010
input_file = 0x7fffffffe331 "/home/froggs/dev/nqp/install/languages/nqp/lib/nqp.moarvm"
lib_path = 0x7fffffffe302 "/home/froggs/dev/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