Skip to content

Instantly share code, notes, and snippets.

@niner
Created June 25, 2017 08:58
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 niner/d5d2e6cf104ab1b592835826be972d2d to your computer and use it in GitHub Desktop.
Save niner/d5d2e6cf104ab1b592835826be972d2d to your computer and use it in GitHub Desktop.
nine@sphinx:~> perl6-gdb-m --profile /home/nine/rakudo/install/share/perl6/site/bin/zef
================================================================================================
This is Rakudo Perl 6 running in the GNU debugger, which often allows the user to generate useful back-
traces to debug or report issues in Rakudo, the MoarVM backend or the currently running code.
This Rakudo version is 2017.06.61.g.10.f.840.fcf built on MoarVM version 2017.06.22.g.6667.bc.0.a,
running on opensuse (4.11.5.1.default) / linux (4.12.0.rc.5.1.g.270295.f.default)
Type `bt full` to generate a backtrace if applicable, type `q` to quit or `help` for help.
------------------------------------------------------------------------------------------------
Reading symbols from /home/nine/rakudo/install/bin/moar...done.
Starting program: /home/nine/rakudo/install/bin/moar --execname=/home/nine/rakudo/install/bin/perl6-gdb-m --libpath=/home/nine/rakudo/install/share/nqp/lib --libpath=/home/nine/rakudo/install/share/perl6/lib --libpath=/home/nine/rakudo/install/share/perl6/runtime /home/nine/rakudo/install/share/perl6/runtime/perl6.moarvm --profile /home/nine/rakudo/install/share/perl6/site/bin/zef
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007fa44d72313c in MVM_repr_get_int (tc=0x603800, obj=0x0) at src/6model/reprconv.c:529
529 if (!IS_CONCRETE(obj))
(gdb) bt
#0 0x00007fa44d72313c in MVM_repr_get_int (tc=0x603800, obj=0x0) at src/6model/reprconv.c:529
#1 0x00007fa44bc2b219 in ?? ()
#2 0x00000000006ee870 in ?? ()
#3 0x00007fa44df0a250 in ?? ()
#4 0x000000000152f018 in ?? ()
#5 0x000000000152f000 in ?? ()
#6 0x0000000000648088 in ?? ()
#7 0x0000000000603800 in ?? ()
#8 0x00007fffffffbf80 in ?? ()
#9 0x00007fa44d72f8b3 in get_attribute (tc=0x7fa44d6e7256 <find_invokee_internal+46>, st=0x8, root=0x7fffffffbf80, data=0x0, class_handle=0x7fa44d6e72dd <find_invokee_internal+181>, name=0x7fffffffbfa0, hint=52852064, result_reg=0x325d7f0, kind=65535) at src/6model/reprs/P6opaque.c:299
#10 0x00007fa44d797fae in MVM_jit_enter_code (tc=0x603800, cu=0x7a6540, code=0x325d7f0) at src/jit/compile.c:139
#11 0x00007fa44d6db875 in MVM_interp_run (tc=0x603800, initial_invoke=0x7fa44d7c6414 <toplevel_initial_invoke>, invoke_data=0x668460) at src/core/interp.c:5499
#12 0x00007fa44d7c6537 in MVM_vm_run_file (instance=0x603010, filename=0x7fffffffdd28 "/home/nine/rakudo/install/share/perl6/runtime/perl6.moarvm") at src/moar.c:318
#13 0x00000000004012b7 in main (argc=8, argv=0x7fffffffd6e8) at src/main.c:246
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment