Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created September 26, 2018 16:44
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 dogbert17/ac5834e7e4e81d8e51f43e2aef653be9 to your computer and use it in GitHub Desktop.
Save dogbert17/ac5834e7e4e81d8e51f43e2aef653be9 to your computer and use it in GitHub Desktop.
Panic
Starting program: /home/dogbert/repos/rakudo/install/bin/moar --execname=./perl6-gdb-m --libpath=. --libpath=blib --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib /home/dogbert/repos/rakudo/perl6.moarvm --nqp-lib=blib t/spec/S03-operators/set_multiply.t
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff661b700 (LWP 6772)]
1..586
ok 1 - does (.)() return bag()
ok 2 - Sequence of empty Set is the empty Bag
1..2
ok 1 - code dies
ok 2 - right exception type (X::Cannot::Lazy)
[...]
ok 491 - [⊍] a True
# b True
# c True b True
# c True
# d True Bag(c, d, e)
Thread 1 "moar" hit Breakpoint 1, MVM_panic (exitCode=1, messageFormat=0x7ffff77076d8 "Collectable %p in fromspace accessed") at src/core/exceptions.c:821
821 MVM_NO_RETURN void MVM_panic(MVMint32 exitCode, const char *messageFormat, ...) {
(gdb) bt
#0 MVM_panic (exitCode=1, messageFormat=0x7ffff77076d8 "Collectable %p in fromspace accessed") at src/core/exceptions.c:821
#1 0x00007ffff75964b0 in push (tc=0x604a60, st=0x664ba0, root=0x6076e0, data=0x6076f8, value=..., kind=8) at src/6model/reprs/VMArray.c:480
#2 0x00007ffff758d561 in MVM_repr_push_o (tc=0x604a60, obj=0x6076e0, pushee=0x7c4a08) at src/6model/reprconv.c:379
#3 0x00007ffff7636907 in evaluate_guards (tc=0x604a60, gs=0x4f8db68, callsite=0x7ffff7cb0320 <inv_arg_callsite>, guard_offset=0x7fffffffc1de) at src/spesh/plugin.c:91
#4 0x00007ffff7636a23 in resolve_using_guards (tc=0x604a60, cur_position=128, callsite=0x7ffff7cb0320 <inv_arg_callsite>, guard_offset=0x7fffffffc1de, sf=0x11bfb70) at src/spesh/plugin.c:119
#5 0x00007ffff7638444 in MVM_spesh_plugin_resolve_jit (tc=0x604a60, name=0x180ad80, result=0x395f4c0, position=128, sf=0x11bfb70, callsite=0x7ffff7cb0320 <inv_arg_callsite>) at src/spesh/plugin.c:455
#6 0x00007fffeff4420a in ?? ()
#7 0x00007fffffffc240 in ?? ()
#8 0x0000000004894aa8 in ?? ()
#9 0x00007fffffffc240 in ?? ()
#10 0x0000000000000001 in ?? ()
#11 0x000000000423b920 in ?? ()
#12 0x00007ffff754af5d in MVM_free (p=0x7ffff4ec5e16) at src/core/alloc.h:40
#13 0x00007ffff76bddde in MVM_jit_code_enter (tc=0x604a60, code=0x7ffff00b58f0, cu=0x698110) at src/jit/interface.c:24
#14 0x00007ffff751eddb in MVM_interp_run (tc=0x604a60, initial_invoke=0x7ffff769bf0a <toplevel_initial_invoke>, invoke_data=0x6a78d8) at src/core/interp.c:5978
#15 0x00007ffff769c06f in MVM_vm_run_file (instance=0x604010, filename=0x7fffffffe2a3 "/home/dogbert/repos/rakudo/perl6.moarvm") at src/moar.c:420
#16 0x00000000004016e7 in main (argc=10, argv=0x7fffffffddf8) at src/main.c:300
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7ffff7fdb700 (LWP 6771) "moar" MVM_panic (exitCode=1, messageFormat=0x7ffff77076d8 "Collectable %p in fromspace accessed") at src/core/exceptions.c:821
2 Thread 0x7ffff661b700 (LWP 6772) "moar" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment