Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created September 15, 2019 20:08
Show Gist options
  • Save dogbert17/2541a1e3fd71607627979144d3eb7bec to your computer and use it in GitHub Desktop.
Save dogbert17/2541a1e3fd71607627979144d3eb7bec to your computer and use it in GitHub Desktop.
Fromspace strikes again, 8k nursery
dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6-gdb-m -Ilib t/spec/S03-operators/set_intersection.t
================================================================================================
This is Rakudo Perl 6 running in the 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 2019.07.1.311.gef.2.ee.79 built on MoarVM version 2019.07.1.211.g.2.ac.137.c,
running on linuxmint (18.3.Sylvia) / linux (42.16.04.1.Ubuntu.SMP.Tue.Oct.10.16.32.20.UTC.2017)
Type `bt full` to generate a backtrace if applicable, type `q` to quit or `help` for help.
------------------------------------------------------------------------------------------------
Reading symbols from /home/dogbert/repos/rakudo/nqp/MoarVM/../../install/bin/moar...done.
Starting program: /home/dogbert/repos/rakudo/install/bin/moar --execname=/home/dogbert/repos/rakudo/perl6-gdb-m --libpath=/home/dogbert/repos/rakudo --libpath=/home/dogbert/repos/rakudo/blib --libpath= --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib /home/dogbert/repos/rakudo/perl6.moarvm --nqp-lib=/home/dogbert/repos/rakudo/blib -Ilib t/spec/S03-operators/set_intersection.t
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff651a700 (LWP 11692)]
^C
Thread 1 "moar" received signal SIGINT, Interrupt.
0x00007ffff7455ddd in MVM_coerce_smart_intify (tc=0x604ac0, obj=0x6f72d8, res_reg=0xd5e660) at src/core/coerce.c:414
414 const MVMStorageSpec *ss = REPR(obj)->get_storage_spec(tc, STABLE(obj));
(gdb) b MVM_panic
Breakpoint 1 at 0x7ffff74028cb: file src/core/exceptions.c, line 832.
(gdb) c
Continuing.
1..570
ok 1 - does (&)() return set()
...
ok 312 - infix:<∩>(|{a => 42, b => 0})
ok 313 - infix:<∩>(|{a => 42, b => 0})
Thread 1 "moar" hit Breakpoint 1, MVM_panic (exitCode=1, messageFormat=0x7ffff7638020 "Collectable %p in fromspace accessed") at src/core/exceptions.c:832
832 MVM_NO_RETURN void MVM_panic(MVMint32 exitCode, const char *messageFormat, ...) {
(gdb) bt
#0 MVM_panic (exitCode=1, messageFormat=0x7ffff7638020 "Collectable %p in fromspace accessed") at src/core/exceptions.c:832
#1 0x00007ffff74d4313 in MVM_iter (tc=0x604ac0, target=0x606938) at src/6model/reprs/MVMIter.c:206
#2 0x00007ffff74199ad in MVM_interp_run (tc=0x604ac0, initial_invoke=0x7ffff75c3494 <toplevel_initial_invoke>, invoke_data=0x6a6e08) at src/core/interp.c:2793
#3 0x00007ffff75c3632 in MVM_vm_run_file (instance=0x604010, filename=0x7fffffffe1af "/home/dogbert/repos/rakudo/perl6.moarvm") at src/moar.c:459
#4 0x00000000004016e7 in main (argc=10, argv=0x7fffffffdd28) at src/main.c:302
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment