Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Last active December 10, 2016 23:47
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/5b2752214ee7987802f74b6ac94433a9 to your computer and use it in GitHub Desktop.
Save dogbert17/5b2752214ee7987802f74b6ac94433a9 to your computer and use it in GitHub Desktop.
gdb --args /home/dogbert/repos/rakudo/install/bin/moar --libpath="/home/dogbert/repos/rakudo/install/share/nqp/lib" --libpath="." /home/dogbert/repos/rakudo/perl6.moarvm t/spec/S17-supply/syntax.t
ok 63 - QUIT properly handles exception even when dieing synchronously with the .tap
ok 64 - QUIT in whenever triggered without iterations sees correct outer (1)
ok 65 - QUIT in whenever triggered without iterations sees correct outer (2)
[New Thread 0xb18f9b40 (LWP 4511)]
[New Thread 0xb10f8b40 (LWP 4512)]
[New Thread 0xb08f7b40 (LWP 4513)]
[New Thread 0xb00f6b40 (LWP 4514)]
[New Thread 0xaf8f5b40 (LWP 4515)]
[New Thread 0xaf0f4b40 (LWP 4516)]
ok 66 - Never get done message twice from a supply
[New Thread 0xae8f3b40 (LWP 4517)]
[New Thread 0xae0f2b40 (LWP 4518)]
ok 67 - No react guts crash in case that once spat out two done messages either
[Switching to Thread 0xb00f6b40 (LWP 4514)]
Breakpoint 1, MVM_panic (exitCode=1, messageFormat=0xb7deb5b8 "Collectable %p in fromspace accessed") at src/core/exceptions.c:781
781 fprintf(stderr, "MoarVM panic: ");
(gdb) bt
#0 MVM_panic (exitCode=1, messageFormat=0xb7deb5b8 "Collectable %p in fromspace accessed") at src/core/exceptions.c:781
#1 0xb7cbe72d in MVM_interp_run (tc=0xb513360, initial_invoke=0xb7cf3e49 <thread_initial_invoke>, invoke_data=0xa26e848) at src/core/interp.c:325
#2 0xb7cf3f8b in start_thread (data=0xa26e848) at src/core/threads.c:77
#3 0xb7de5937 in uv.thread_start () from //home/dogbert/repos/rakudo/install/lib/libmoar.so
#4 0xb7a0ef72 in start_thread (arg=0xb00f6b40) at pthread_create.c:312
#5 0xb7b56f8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
(gdb) frame 1
#1 0xb7cbe72d in MVM_interp_run (tc=0xb513360, initial_invoke=0xb7cf3e49 <thread_initial_invoke>, invoke_data=0xa26e848) at src/core/interp.c:325
325 MVM_ASSIGN_REF(tc, &(f->header), GET_LEX(cur_op, 0, f).o,
(gdb) p MVM_dump_backtrace(tc)
at <unknown>:1 (./CORE.setting.moarvm:)
from SETTING::src/core/ThreadPoolScheduler.pm:41 (./CORE.setting.moarvm:)
from SETTING::src/core/Thread.pm:30 (./CORE.setting.moarvm:THREAD-ENTRY)
$1 = void
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment