Skip to content

Instantly share code, notes, and snippets.

@timo
Created April 6, 2014 01:57
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 timo/bdc334ebfc28cea9f406 to your computer and use it in GitHub Desktop.
Save timo/bdc334ebfc28cea9f406 to your computer and use it in GitHub Desktop.
timo@wakelift ~/perl6/rakudo (git)-[nom] % perl6-m t/spec/S26-documentation/07-tables.t
[1] 5217 segmentation fault (core dumped) perl6-m t/spec/S26-documentation/07-tables.t
139 timo@wakelift ~/perl6/rakudo (git)-[nom] % gdb moar core
GNU gdb (GDB) 7.5.91.20130417-cvs-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/timo/perl6/install/bin/moar...done.
[New LWP 5217]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff17360000
Core was generated by `/home/timo/perl6/rakudo/../install/bin/moar --libpath=/home/timo/perl6/rakudo/.'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f891b8ad003 in MVM_frame_invoke (tc=0xfbe570, static_frame=0x11d68f0, callsite=0x10303f0, args=0x45edde8,
outer=<optimized out>, code_ref=<optimized out>) at src/core/frame.c:302
302 if (IS_CONCRETE(dc.o) || STABLE(dc.o) != st)
MoarVM string pretty printer registered
moar-heap registered
diff-moar-heap registered
(gdb) print dc
$1 = {o = 0x0, s = <error reading variable: Cannot access memory at address 0x34>, i8 = 0 '\000', ui8 = 0 '\000',
i16 = 0, ui16 = 0, i32 = 0, ui32 = 0, i64 = 0, ui64 = 0, n32 = 0, n64 = 0}
(gdb) print dc.o
$2 = (MVMObject *) 0x0
(gdb) list
297 break;
298 }
299 case MVM_SPESH_GUARD_DC_TYPE: {
300 MVMRegister dc;
301 STABLE(arg)->container_spec->fetch(tc, arg, &dc);
302 if (IS_CONCRETE(dc.o) || STABLE(dc.o) != st)
303 match = 0;
304 break;
305 }
306 }
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment