-
-
Save MasterDuke17/8192fcc93650e1b05d4908325a0afc35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dan@hermes:~/p6$ pg6 --profile -e 'my %m is Map = ^2000; %m.WHICH for ^2000; say now - INIT now' | |
================================================================================================ | |
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 2018.06.174.gac.2.fa.03.b.2 built on MoarVM version 2018.06.209.g.7.bf.4.c.429.f, | |
running on ubuntu (18.04.LTS.Bionic.Beaver) / linux (4.15.0.23.generic) | |
Type `bt full` to generate a backtrace if applicable, type `q` to quit or `help` for help. | |
------------------------------------------------------------------------------------------------ | |
Reading symbols from /home/dan/Source/perl6/install/bin/moar...done. | |
Starting program: /home/dan/Source/perl6/install/bin/moar --execname=/home/dan/Source/perl6/install/bin/perl6-gdb-m --libpath=/home/dan/Source/perl6/install/share/nqp/lib --libpath=/home/dan/Source/perl6/install/share/perl6/lib --libpath=/home/dan/Source/perl6/install/share/perl6/runtime /home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm --profile -e my\ %m\ is\ Map\ =\ \^2000\;\ %m.WHICH\ for\ \^2000\;\ say\ now\ -\ INIT\ now | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
[New Thread 0x7ffff623f700 (LWP 4163)] | |
MoarVM oops: Spesh: failed to fix up handler 1 in <unit> (930, -1, -1) | |
[Thread 0x7ffff623f700 (LWP 4163) exited] | |
[Inferior 1 (process 4159) exited with code 01] | |
(gdb) b MVM_oops | |
Breakpoint 1 at 0x7ffff75c8940: file src/core/exceptions.c, line 840. | |
(gdb) r | |
Starting program: /home/dan/Source/perl6/install/bin/moar --execname=/home/dan/Source/perl6/install/bin/perl6-gdb-m --libpath=/home/dan/Source/perl6/install/share/nqp/lib --libpath=/home/dan/Source/perl6/install/share/perl6/lib --libpath=/home/dan/Source/perl6/install/share/perl6/runtime /home/dan/Source/perl6/install/share/perl6/runtime/perl6.moarvm --profile -e my\ %m\ is\ Map\ =\ \^2000\;\ %m.WHICH\ for\ \^2000\;\ say\ now\ -\ INIT\ now | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
[New Thread 0x7ffff623f700 (LWP 4165)] | |
[Switching to Thread 0x7ffff623f700 (LWP 4165)] | |
Thread 2 "moar" hit Breakpoint 1, MVM_oops (tc=tc@entry=0x5555557e1da0, messageFormat=messageFormat@entry=0x7ffff7731048 "Spesh: failed to fix up handler %d in %s (%d, %d, %d)") at src/core/exceptions.c:840 | |
840 MVM_NO_RETURN void MVM_oops(MVMThreadContext *tc, const char *messageFormat, ...) { | |
(gdb) bt | |
#0 MVM_oops (tc=tc@entry=0x5555557e1da0, messageFormat=messageFormat@entry=0x7ffff7731048 "Spesh: failed to fix up handler %d in %s (%d, %d, %d)") at src/core/exceptions.c:840 | |
#1 0x00007ffff766f7e4 in MVM_spesh_codegen (tc=tc@entry=0x5555557e1da0, g=g@entry=0x7fffec484b50) at src/spesh/codegen.c:302 | |
#2 0x00007ffff767029a in MVM_spesh_candidate_add (tc=tc@entry=0x5555557e1da0, p=0x7fffec4a3a20) at src/spesh/candidate.c:75 | |
#3 0x00007ffff767ef09 in worker (tc=0x5555557e1da0, callsite=<optimized out>, args=<optimized out>) at src/spesh/worker.c:16 | |
#4 0x00007ffff75ef651 in thread_initial_invoke (tc=0x5555557e1da0, data=<optimized out>) at src/core/threads.c:59 | |
#5 0x00007ffff75cac8e in MVM_interp_run (tc=tc@entry=0x5555557e1da0, initial_invoke=0x0, invoke_data=0x1, invoke_data@entry=0x5555557e30c0) at src/core/interp.c:92 | |
#6 0x00007ffff75ef6d6 in start_thread (data=0x5555557e30c0) at src/core/threads.c:87 | |
#7 0x00007ffff6a546db in start_thread (arg=0x7ffff623f700) at pthread_create.c:463 | |
#8 0x00007ffff712b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 | |
(gdb) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11.41% moar libmoar.so [.] MVM_string_compare | |
9.63% moar libmoar.so [.] MVM_repr_at_pos_s | |
4.95% moar libmoar.so [.] MVM_VMArray_at_pos | |
3.96% moar libmoar.so [.] at_key | |
3.62% moar libmoar.so [.] MVM_string_gi_move_to | |
3.00% moar libmoar.so [.] bind_pos | |
1.67% moar libmoar.so [.] MVM_nfg_is_concat_stable | |
1.65% moar libmoar.so [.] push | |
1.63% moar libmoar.so [.] MVM_string_gi_get_grapheme | |
1.63% moar libc-2.27.so [.] _int_malloc | |
1.61% moar libmoar.so [.] MVM_gc_allocate_object | |
1.51% moar libmoar.so [.] MVM_string_utf8_encode_substr | |
1.38% moar libmoar.so [.] SHA1_Transform | |
1.35% moar libmoar.so [.] MVM_coerce_i_s | |
1.20% moar libmoar.so [.] MVM_string_join | |
1.12% moar libc-2.27.so [.] cfree@GLIBC_2.2.5 | |
1.08% moar libmoar.so [.] MVM_repr_bind_pos_s | |
1.05% moar libmoar.so [.] copy_to_32bit | |
0.93% moar libmoar.so [.] MVM_spesh_arg_guard_run | |
0.93% moar libmoar.so [.] MVM_frame_find_invokee_multi_ok | |
0.86% moar libmoar.so [.] MVM_frame_invoke | |
0.86% moar libmoar.so [.] MVM_box_str | |
0.85% moar libmoar.so [.] MVM_VMArray_at_pos@plt | |
0.73% moar libmoar.so [.] MVM_multi_cache_find_callsite_args | |
0.64% moar libmoar.so [.] get_attribute | |
0.63% moar libmoar.so [.] shift | |
0.61% moar libc-2.27.so [.] malloc | |
0.60% moar libmoar.so [.] MVM_frame_try_return | |
0.58% moar libmoar.so [.] MVM_gc_collect_free_nursery_uncopied | |
0.58% moar libmoar.so [.] allocate_frame | |
0.57% moar libc-2.27.so [.] malloc_consolidate | |
0.56% moar libmoar.so [.] MVM_interp_run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment