Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fromspace strikes again
dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6-gdb-m -Ilib t/spec/S32-io/IO-Socket-Async-UDP.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.395.g.4.df.02.fa built on MoarVM version 2019.07.1.265.g.95.f.69.be,
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/S32-io/IO-Socket-Async-UDP.t
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff6517700 (LWP 24919)]
1..3
[New Thread 0x7fffef9f0700 (LWP 24920)]
[New Thread 0x7fffef1ef700 (LWP 24921)]
[New Thread 0x7fffee9ee700 (LWP 24922)]
[New Thread 0x7fffee1ed700 (LWP 24923)]
MoarVM panic: Collectable 0x605c08 in fromspace accessed
[Thread 0x7fffee1ed700 (LWP 24923) exited]
[Thread 0x7fffee9ee700 (LWP 24922) exited]
[Thread 0x7fffef1ef700 (LWP 24921) exited]
[Thread 0x7fffef9f0700 (LWP 24920) exited]
[Thread 0x7ffff7fdb700 (LWP 24915) exited]
[Inferior 1 (process 24915) exited with code 01]
(gdb) b MVM_panic
Breakpoint 1 at 0x7ffff73ff6ea: file src/core/exceptions.c, line 832.
(gdb) r
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/S32-io/IO-Socket-Async-UDP.t
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff6517700 (LWP 24927)]
1..3
[New Thread 0x7fffef9f7700 (LWP 24928)]
[New Thread 0x7fffef1ef700 (LWP 24929)]
[New Thread 0x7fffee9ee700 (LWP 24930)]
[New Thread 0x7fffee1ed700 (LWP 24931)]
[Switching to Thread 0x7fffee9ee700 (LWP 24930)]
Thread 5 "moar" hit Breakpoint 1, MVM_panic (exitCode=1, messageFormat=0x7ffff76334b0 "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=0x7ffff76334b0 "Collectable %p in fromspace accessed") at src/core/exceptions.c:832
#1 0x00007ffff74b1919 in push (tc=0x2fe35c0, st=0x670910, root=0x35e3a50, data=0x35e3a68, value=..., kind=8) at src/6model/reprs/VMArray.c:480
#2 0x00007ffff74a8861 in MVM_repr_push_o (tc=0x2fe35c0, obj=0x35e3a50, pushee=0x605c08) at src/6model/reprconv.c:387
#3 0x00007ffff74a3c80 in do_setup_setup (handle=0x7fffe4002630) at src/io/asyncsocketudp.c:573
#4 0x00007ffff760e355 in uv__finish_close (handle=0x7fffe4002630) at 3rdparty/libuv/src/unix/core.c:286
#5 uv__run_closing_handles (loop=0x3174240) at 3rdparty/libuv/src/unix/core.c:300
#6 uv_run (loop=0x3174240, mode=UV_RUN_DEFAULT) at 3rdparty/libuv/src/unix/core.c:370
#7 0x00007ffff748e886 in enter_loop (tc=0x2fe35c0, callsite=0x7ffff7dd5540 <null_args_callsite>, args=0x0) at src/io/eventloop.c:90
#8 0x00007ffff74b8815 in invoke_handler (tc=0x2fe35c0, invokee=0x6f2ca8, callsite=0x7ffff7dd5540 <null_args_callsite>, args=0x0) at src/6model/reprs/MVMCFunction.c:9
#9 0x00007ffff744a97b in thread_initial_invoke (tc=0x2fe35c0, data=0x34b3bf0) at src/core/threads.c:59
#10 0x00007ffff7401387 in MVM_interp_run (tc=0x2fe35c0, initial_invoke=0x7ffff744a8f0 <thread_initial_invoke>, invoke_data=0x34b3bf0) at src/core/interp.c:137
#11 0x00007ffff744aa39 in start_thread (data=0x34b3bf0) at src/core/threads.c:87
#12 0x00007ffff692b6ba in start_thread (arg=0x7fffee9ee700) at pthread_create.c:333
#13 0x00007ffff6f5141d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb) c
Continuing.
MoarVM panic: Collectable 0x605c08 in fromspace accessed
[Thread 0x7fffee1ed700 (LWP 24931) exited]
[Thread 0x7fffee9ee700 (LWP 24930) exited]
[Thread 0x7fffef1ef700 (LWP 24929) exited]
[Thread 0x7fffef9f7700 (LWP 24928) exited]
[Thread 0x7ffff6517700 (LWP 24927) exited]
[Inferior 1 (process 24926) exited with code 01]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment