Skip to content

Instantly share code, notes, and snippets.

Created July 7, 2017 14: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 anonymous/efbc51044e41171c0489e88916b2e50c to your computer and use it in GitHub Desktop.
Save anonymous/efbc51044e41171c0489e88916b2e50c to your computer and use it in GitHub Desktop.
[jdv@new-host-2 p6-agent]$ perl6-gdb-m -Ilib t/01-basic.t
================================================================================================
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.170.gb.0.c.8.e.18 built on MoarVM version 2017.06.37.g.4.e.29.e.4.c,
running on fedora (25.Workstation.Edition) / linux (4.11.5.200.fc.25.x.86._.64)
Type `bt full` to generate a backtrace if applicable, type `q` to quit or `help` for help.
------------------------------------------------------------------------------------------------
Reading symbols from /home/jdv/rakudo/install/bin/moar...done.
Starting program: /home/jdv/rakudo/install/bin/moar --execname=/home/jdv/rakudo/install/bin/perl6-gdb-m --libpath=/home/jdv/rakudo/install/share/nqp/lib --libpath=/home/jdv/rakudo/install/share/perl6/lib --libpath=/home/jdv/rakudo/install/share/perl6/runtime /home/jdv/rakudo/install/share/perl6/runtime/perl6.moarvm -Ilib t/01-basic.t
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff46f8700 (LWP 4016)]
[New Thread 0x7ffff3edb700 (LWP 4017)]
[New Thread 0x7ffff36d3700 (LWP 4018)]
[New Thread 0x7ffff2ad1700 (LWP 4019)]
root.run() default - sleeping
[New Thread 0x7ffff1ec9700 (LWP 4033)]
[New Thread 0x7ffff12c6700 (LWP 4034)]
Detaching after fork from child process 4035.
[New Thread 0x7fffdb3fc700 (LWP 4037)]
Detaching after fork from child process 4038.
[New Thread 0x7fffda7fa700 (LWP 4039)]
[New Thread 0x7fffd9bf8700 (LWP 4040)]
[New Thread 0x7fffd8ff6700 (LWP 4041)]
[New Thread 0x7fffc7fff700 (LWP 4042)]
[New Thread 0x7fffc6ffc700 (LWP 4044)]
[New Thread 0x7fffc67fb700 (LWP 4043)]
[New Thread 0x7fffbfbfe700 (LWP 4045)]
[New Thread 0x7fffbeffc700 (LWP 4046)]
[New Thread 0x7fffbdbf8700 (LWP 4047)]
Detaching after fork from child process 4048.
[New Thread 0x7fffbcbf5700 (LWP 4049)]
Detaching after fork from child process 4050.
Detaching after fork from child process 4051.
Detaching after fork from child process 4052.
Detaching after fork from child process 4053.
Detaching after fork from child process 4055.
Detaching after fork from child process 4057.
Detaching after fork from child process 4058.
Detaching after fork from child process 4059.
Detaching after fork from child process 4060.
Detaching after fork from child process 4064.
Detaching after fork from child process 4065.
Detaching after fork from child process 4066.
Detaching after fork from child process 4067.
Detaching after fork from child process 4068.
Detaching after fork from child process 4069.
Detaching after fork from child process 4070.
Detaching after fork from child process 4071.
Detaching after fork from child process 4072.
Detaching after fork from child process 4073.
Detaching after fork from child process 4075.
Detaching after fork from child process 4076.
Detaching after fork from child process 4077.
Detaching after fork from child process 4078.
Detaching after fork from child process 4079.
Detaching after fork from child process 4080.
Detaching after fork from child process 4081.
Detaching after fork from child process 4082.
Detaching after fork from child process 4083.
Detaching after fork from child process 4084.
Detaching after fork from child process 4085.
Detaching after fork from child process 4086.
Detaching after fork from child process 4087.
Detaching after fork from child process 4088.
Detaching after fork from child process 4095.
Detaching after fork from child process 4096.
Detaching after fork from child process 4097.
Detaching after fork from child process 4098.
Detaching after fork from child process 4099.
Detaching after fork from child process 4100.
Detaching after fork from child process 4101.
Detaching after fork from child process 4103.
Detaching after fork from child process 4104.
Detaching after fork from child process 4105.
Detaching after fork from child process 4106.
Detaching after fork from child process 4107.
Detaching after fork from child process 4108.
Detaching after fork from child process 4110.
Detaching after fork from child process 4111.
Detaching after fork from child process 4112.
Detaching after fork from child process 4113.
Detaching after fork from child process 4114.
Detaching after fork from child process 4115.
Detaching after fork from child process 4116.
Detaching after fork from child process 4117.
Detaching after fork from child process 4118.
Detaching after fork from child process 4119.
Detaching after fork from child process 4121.
Detaching after fork from child process 4122.
root.recv() default - Agent::Msg<140737092022144>
root.recv() default - Agent::Msg<140737092022240>
root.recv() default - Agent::Msg<140737092022288>
root.recv() default - Agent::Msg<140737092022336>
root.recv() default - Agent::Msg<140737092022384>
root.recv() default - Agent::Msg<140737092022432>
root.recv() default - Agent::Msg<140737092022480>
root.recv() default - Agent::Msg<140737092022528>
root.recv() default - Agent::Msg<140737092022576>
root.recv() default - Agent::Msg<140737092022624>
root.recv() default - Agent::Msg<140737092022672>
root.recv() default - Agent::Msg<140737092022720>
root.recv() default - Agent::Msg<140737092022768>
root.recv() default - Agent::Msg<140737092022816>
root.recv() default - Agent::Msg<140737092022864>
root.recv() default - Agent::Msg<140737092022912>
root.recv() default - Agent::Msg<140737092022960>
root.recv() default - Agent::Msg<140737092023008>
root.recv() default - Agent::Msg<140737092023056>
root.recv() default - Agent::Msg<140737092023104>
root.recv() default - Agent::Msg<140737092023152>
root.recv() default - Agent::Msg<140737092023200>
root.recv() default - Agent::Msg<140737092023248>
root.recv() default - Agent::Msg<140737092023296>
Detaching after fork from child process 4129.
Detaching after fork from child process 4130.
Detaching after fork from child process 4131.
Detaching after fork from child process 4132.
Detaching after fork from child process 4133.
Detaching after fork from child process 4134.
root.recv() default - Agent::Msg<140737169423952>
root.recv() default - Agent::Msg<140737169424000>
root.recv() default - Agent::Msg<140737169424048>
root.recv() default - Agent::Msg<140737169424096>
root.recv() default - Agent::Msg<140737169424144>
root.recv() default - Agent::Msg<140737169424192>
root.recv() default - Agent::Msg<140737169424240>
root.recv() default - Agent::Msg<140737169424288>
root.recv() default - Agent::Msg<140737169424336>
root.recv() default - Agent::Msg<140737169424384>
root.recv() default - Agent::Msg<140737169424432>
root.recv() default - Agent::Msg<140737169424480>
root.recv() default - Agent::Msg<140737169424528>
root.recv() default - Agent::Msg<140737169424576>
root.recv() default - Agent::Msg<140737169424624>
root.recv() default - Agent::Msg<140737169424672>
root.recv() default - Agent::Msg<140737169424720>
root.recv() default - Agent::Msg<140737169424768>
root.recv() default - Agent::Msg<140737169424816>
root.recv() default - Agent::Msg<140737169424864>
root.recv() default - Agent::Msg<140737169424912>
root.recv() default - Agent::Msg<140737169424960>
root.recv() default - Agent::Msg<140737169425008>
root.recv() default - Agent::Msg<140737169425056>
Detaching after fork from child process 4135.
Thread 3 "moar" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff3edb700 (LWP 4017)]
0x00007ffff782e2b7 in gc_mark (tc=0x567c060, st=<optimized out>,
data=<optimized out>, worklist=0x7fffe402b3d0)
at src/6model/reprs/MVMCallCapture.c:54
54 if (flag_map[flag] & MVM_CALLSITE_ARG_NAMED) {
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.24-6.fc25.x86_64
(gdb) bt
#0 0x00007ffff782e2b7 in gc_mark (tc=0x567c060, st=<optimized out>,
data=<optimized out>, worklist=0x7fffe402b3d0)
at src/6model/reprs/MVMCallCapture.c:54
#1 0x00007ffff7808bd0 in process_worklist (tc=tc@entry=0x567c060,
worklist=worklist@entry=0x7fffe402b3d0, wtp=wtp@entry=0x7ffff3eda9d0,
gen=gen@entry=0 '\000') at src/gc/collect.c:313
#2 0x00007ffff780926d in MVM_gc_collect (tc=0x567c060, what_to_do=<optimized out>,
gen=gen@entry=0 '\000') at src/gc/collect.c:129
#3 0x00007ffff7805085 in run_gc (tc=tc@entry=0x567c060,
what_to_do=what_to_do@entry=1 '\001') at src/gc/orchestrate.c:357
#4 0x00007ffff780559c in MVM_gc_enter_from_interrupt (tc=0x567c060)
at src/gc/orchestrate.c:522
#5 0x00007ffff7805c45 in MVM_gc_allocate_nursery (tc=0x567c060, size=272)
at src/gc/allocation.c:18
#6 0x00007ffff7805eee in MVM_gc_allocate_frame (tc=tc@entry=0x567c060)
at src/gc/allocation.c:99
#7 0x00007ffff77ec610 in MVM_frame_force_to_heap (tc=0x567c060, frame=0x3404880)
at src/core/frame.c:647
#8 0x00007ffff77ed898 in MVM_frame_capturelex (tc=0x567c060, code=<optimized out>)
at src/core/frame.c:1029
#9 0x00007ffff0227078 in ?? ()
#10 0x00007fffec71c840 in ?? ()
#11 0x00007ffff78c34c8 in ?? ()
from //home/jdv/rakudo/nqp/MoarVM/install/lib/libmoar.so
#12 0x00007fffec71c840 in ?? ()
#13 0x00007ffff77ec942 in MVM_frame_invoke (tc=<optimized out>,
static_frame=<optimized out>, callsite=<optimized out>, args=<optimized out>,
outer=<optimized out>, code_ref=<optimized out>, spesh_cand=<optimized out>)
at src/core/frame.c:571
#14 0x00007fffe43057a8 in ?? ()
#15 0x0000000001a1fb68 in ?? ()
#16 0x00007ffff786eb19 in MVM_jit_enter_code (tc=<optimized out>,
cu=<optimized out>, code=<optimized out>) at src/jit/compile.c:139
#17 0x00007ffff77d7733 in MVM_interp_run (tc=tc@entry=0x567c060,
initial_invoke=0x7fffe43ad860, invoke_data=0x7fffe41ac288,
invoke_data@entry=0x1d02640) at src/core/interp.c:5499
#18 0x00007ffff77f40fe in start_thread (data=0x1d02640) at src/core/threads.c:85
#19 0x00007ffff78bc847 in uv.thread_start ()
from //home/jdv/rakudo/nqp/MoarVM/install/lib/libmoar.so
#20 0x00007ffff6d7973a in start_thread () from /lib64/libpthread.so.0
#21 0x00007ffff73a0e7f in clone () from /lib64/libc.so.6
(gdb) quit
A debugging session is active.
Inferior 1 [process 4005] will be killed.
Quit anyway? (y or n) y
[jdv@new-host-2 p6-agent]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment