Created
July 25, 2017 13:12
-
-
Save dogbert17/13246b9241bc492112737256ad910d68 to your computer and use it in GitHub Desktop.
SEGV with --profile
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
dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6-gdb-m --profile -e 'say "Hello World!"' | |
================================================================================================ | |
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.07.63.gacf.9.f.90.d.2 built on MoarVM version 2017.07.185.g.0.c.7.b.1323, | |
running on ubuntu (14.04.3.LTS.Trusty.Tahr) / linux (3.19.0.32.generic) | |
Type `bt full` to generate a backtrace if applicable, type `q` to quit or `help` for help. | |
------------------------------------------------------------------------------------------------ | |
Reading symbols from /home/dogbert/repos/rakudo/install/bin/moar...done. | |
Starting program: /home/dogbert/repos/rakudo/install/bin/moar --execname=./perl6-gdb-m --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib --libpath=. /home/dogbert/repos/rakudo/perl6.moarvm --nqp-lib=blib --profile -e say\ \"Hello\ World\!\" | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". | |
[New Thread 0xb70ffb40 (LWP 19646)] | |
Program received signal SIGSEGV, Segmentation fault. | |
MVM_frame_invoke (tc=0x804c480, static_frame=0x89fdc20, callsite=0xb7f9376c <two_args_callsite>, args=0x8360a10, outer=0xb759cce0, code_ref=0x8a9b770, spesh_cand=-1) at src/core/frame.c:432 | |
432 : NULL; | |
(gdb) bt | |
#0 MVM_frame_invoke (tc=0x804c480, static_frame=0x89fdc20, callsite=0xb7f9376c <two_args_callsite>, args=0x8360a10, outer=0xb759cce0, code_ref=0x8a9b770, spesh_cand=-1) at src/core/frame.c:432 | |
#1 0xb7c69944 in invoke_handler (tc=0x804c480, invokee=0x8a9b770, callsite=0xb7f9376c <two_args_callsite>, args=0x8360a10) at src/6model/reprs/MVMCode.c:10 | |
#2 0xb7bf8257 in MVM_interp_run (tc=0x804c480, initial_invoke=0xb7cf61f0 <toplevel_initial_invoke>, invoke_data=0x80b9a30) at src/core/interp.c:951 | |
#3 0xb7cf634f in MVM_vm_run_file (instance=0x804c008, filename=0xbffff290 "/home/dogbert/repos/rakudo/perl6.moarvm") at src/moar.c:333 | |
#4 0x08048f3a in main (argc=11, argv=0xbfffef94) at src/main.c:247 | |
(gdb) p MVM_dump_backtrace(tc) | |
at <unknown>:1 (./CORE.setting.moarvm:say) | |
from -e:1 (<ephemeral file>:<unit>) | |
from -e:1 (<ephemeral file>:<unit-outer>) | |
from gen/moar/stage2/NQPHLL.nqp:1582 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:) | |
from gen/moar/stage2/NQPHLL.nqp:64 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:run_profiled) | |
from gen/moar/stage2/NQPHLL.nqp:1582 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:eval) | |
from gen/moar/stage2/NQPHLL.nqp:1696 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:) | |
from gen/moar/stage2/NQPHLL.nqp:1693 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:command_eval) | |
from src/Perl6/Compiler.nqp:42 (./blib/Perl6/Compiler.moarvm:command_eval) | |
from gen/moar/stage2/NQPHLL.nqp:1677 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:command_line) | |
from gen/moar/main.nqp:47 (/home/dogbert/repos/rakudo/perl6.moarvm:MAIN) | |
from gen/moar/main.nqp:38 (/home/dogbert/repos/rakudo/perl6.moarvm:<mainline>) | |
from <unknown>:1 (/home/dogbert/repos/rakudo/perl6.moarvm:<main>) | |
from <unknown>:1 (/home/dogbert/repos/rakudo/perl6.moarvm:<entry>) | |
$1 = void | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment