Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created October 12, 2017 23:21
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 MasterDuke17/60679f1ebb5d24c6e685c6587e405610 to your computer and use it in GitHub Desktop.
Save MasterDuke17/60679f1ebb5d24c6e685c6587e405610 to your computer and use it in GitHub Desktop.
[dan@alexandria nqp]$ gdb --args /home/dan/Source/perl6/install/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc --output=gen/moar/stage1/nqpmo.moarvm gen/moar/stage1/nqpmo.nqp
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 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-pc-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/dan/Source/perl6/install/bin/moar...done.
MoarVM string pretty printer registered
moar-heap registered
diff-moar-heap registered
(gdb) r
Starting program: /home/dan/Source/perl6/install/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc --output=gen/moar/stage1/nqpmo.moarvm gen/moar/stage1/nqpmo.nqp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff638f700 (LWP 8837)]
Thread 1 "moar" received signal SIGSEGV, Segmentation fault.
MVM_multi_cache_find_callsite_args (tc=tc@entry=0x555555758c40, cache_obj=0x7ffff6459060, cs=<optimized out>, args=args@entry=0x555555a480e0) at src/6model/reprs/MVMMultiCache.c:418
418 MVMSTable *st = STABLE(arg.o);
(gdb) bt
#0 MVM_multi_cache_find_callsite_args (tc=tc@entry=0x555555758c40, cache_obj=0x7ffff6459060, cs=<optimized out>, args=args@entry=0x555555a480e0) at src/6model/reprs/MVMMultiCache.c:418
#1 0x00007ffff7698aa5 in MVM_frame_find_invokee_multi_ok (tc=0x555555758c40, code=0x555555cb5568, tweak_cs=0x7fffffffe508, args=0x555555a480e0, was_multi=0x7fffffffe4e6) at src/core/frame.c:1797
#2 0x00007ffff768e304 in MVM_interp_run (tc=tc@entry=0x555555758c40, initial_invoke=0x0, invoke_data=0x7ffff7cfeca0 <two_args_callsite>) at src/core/interp.c:982
#3 0x00007ffff7757ff5 in MVM_vm_run_file (instance=0x555555758260, filename=<optimized out>) at src/moar.c:401
#4 0x0000555555555464 in main (argc=9, argv=0x7fffffffe898) at src/main.c:257
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment