Created
April 26, 2017 16:13
-
-
Save dogbert17/12dc1eb9cf86e2673d221e07402c7bc7 to your computer and use it in GitHub Desktop.
MoarVM Panic when running with small, 96k, nursery and GC_DEBUG=2
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 $ 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 -I /home/dogbert/repos/rakudo/install/share/perl6/site/lib t/spec/S32-list/minmax.rakudo.moar | |
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 | |
Copyright (C) 2014 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "i686-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>. | |
Find the GDB manual and other documentation resources online at: | |
<http://www.gnu.org/software/gdb/documentation/>. | |
For help, type "help". | |
Type "apropos word" to search for commands related to "word"... | |
Reading symbols from /home/dogbert/repos/rakudo/install/bin/moar...done. | |
(gdb) b MVM_panic | |
Function "MVM_panic" not defined. | |
Make breakpoint pending on future shared library load? (y or [n]) y | |
Breakpoint 1 (MVM_panic) pending. | |
(gdb) r | |
Starting program: /home/dogbert/repos/rakudo/install/bin/moar --libpath=/home/dogbert/repos/rakudo/install/share/nqp/lib --libpath=. /home/dogbert/repos/rakudo/perl6.moarvm -I /home/dogbert/repos/rakudo/install/share/perl6/site/lib t/spec/S32-list/minmax.rakudo.moar | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". | |
Breakpoint 1, MVM_panic (exitCode=1, messageFormat=0xb7cdbf64 "Collectable %p in fromspace accessed") at src/core/exceptions.c:781 | |
781 fprintf(stderr, "MoarVM panic: "); | |
(gdb) bt | |
#0 MVM_panic (exitCode=1, messageFormat=0xb7cdbf64 "Collectable %p in fromspace accessed") at src/core/exceptions.c:781 | |
#1 0xb7b9c199 in check_reg (tc=0x804c458, reg_base=0x811c620, idx=17) at src/core/interp.c:14 | |
#2 0xb7bcdbae in MVM_interp_run (tc=0x804c458, initial_invoke=0xb7cba4cf <toplevel_initial_invoke>, invoke_data=0x80b0e38) at src/core/interp.c:5264 | |
#3 0xb7cba5fe in MVM_vm_run_file (instance=0x804c008, filename=0xbffff2ac "/home/dogbert/repos/rakudo/perl6.moarvm") at src/moar.c:323 | |
#4 0x08049160 in main (argc=7, argv=0xbffff054) at src/main.c:239 | |
(gdb) f 1 | |
#1 0xb7b9c199 in check_reg (tc=0x804c458, reg_base=0x811c620, idx=17) at src/core/interp.c:14 | |
14 MVM_ASSERT_NOT_FROMSPACE(tc, reg_base[idx].o); | |
(gdb) p MVM_dump_backtrace(tc) | |
at <unknown>:1 (./blib/Perl6/World.moarvm:variable_components) | |
from gen/moar/Perl6-Actions.nqp:2509 (./blib/Perl6/Actions.moarvm:variable) | |
from gen/moar/stage2/QRegex.nqp:1675 (/home/dogbert/repos/rakudo/install/share/nqp/lib/QRegex.moarvm:!reduce) | |
from gen/moar/stage2/QRegex.nqp:1621 (/home/dogbert/repos/rakudo/install/share/nqp/lib/QRegex.moarvm:!cursor_pass) | |
from src/Perl6/Grammar.nqp:2152 (./blib/Perl6/Grammar.moarvm:variable) | |
from src/Perl6/Grammar.nqp:1780 (./blib/Perl6/Grammar.moarvm:term:sym<variable>) | |
from gen/moar/stage2/QRegex.nqp:1706 (/home/dogbert/repos/rakudo/install/share/nqp/lib/QRegex.moarvm:!protoregex) | |
from src/Perl6/Grammar.nqp:3940 (./blib/Perl6/Grammar.moarvm:termish) | |
from gen/moar/stage2/NQPHLL.nqp:935 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:EXPR) | |
from <unknown>:1 (./blib/Perl6/Grammar.moarvm:statement) | |
from <unknown>:1 (./blib/Perl6/Grammar.moarvm:semilist) | |
from <unknown>:1 (./blib/Perl6/Grammar.moarvm:circumfix:sym<( )>) | |
from gen/moar/stage2/QRegex.nqp:1712 (/home/dogbert/repos/rakudo/install/share/nqp/lib/QRegex.moarvm:!protoregex) | |
from <unknown>:1 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:circumfix) | |
from <unknown>:1 (./blib/Perl6/Grammar.moarvm:term:sym<circumfix>) | |
from gen/moar/stage2/QRegex.nqp:1712 (/home/dogbert/repos/rakudo/install/share/nqp/lib/QRegex.moarvm:!protoregex) | |
from <unknown>:1 (./blib/Perl6/Grammar.moarvm:term) | |
from src/Perl6/Grammar.nqp:3919 (./blib/Perl6/Grammar.moarvm:termish) | |
from gen/moar/stage2/NQPHLL.nqp:935 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:EXPR) | |
from src/Perl6/Grammar.nqp:3959 (./blib/Perl6/Grammar.moarvm:EXPR) | |
from <unknown>:1 (./blib/Perl6/Grammar.moarvm:arglist) | |
from src/Perl6/Grammar.nqp:3458 (./blib/Perl6/Grammar.moarvm:args) | |
from src/Perl6/Grammar.nqp:3405 (./blib/Perl6/Grammar.moarvm:term:sym<name>) | |
from gen/moar/stage2/QRegex.nqp:1712 (/home/dogbert/repos/rakudo/install/share/nqp/lib/QRegex.moarvm:!protoregex) | |
from <unknown>:1 (./blib/Perl6/Grammar.moarvm:term) | |
from src/Perl6/Grammar.nqp:3919 (./blib/Perl6/Grammar.moarvm:termish) | |
from gen/moar/stage2/NQPHLL.nqp:935 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:EXPR) | |
from src/Perl6/Grammar.nqp:3959 (./blib/Perl6/Grammar.moarvm:EXPR) | |
from src/Perl6/Grammar.nqp:1289 (./blib/Perl6/Grammar.moarvm:statement) | |
from src/Perl6/Grammar.nqp:1221 (./blib/Perl6/Grammar.moarvm:statementlist) | |
from src/Perl6/Grammar.nqp:1392 (./blib/Perl6/Grammar.moarvm:blockoid) | |
from src/Perl6/Grammar.nqp:1355 (./blib/Perl6/Grammar.moarvm:pblock) | |
from src/Perl6/Grammar.nqp:3871 (./blib/Perl6/Grammar.moarvm:circumfix:sym<{ }>) | |
from gen/moar/stage2/QRegex.nqp:1712 (/home/dogbert/repos/rakudo/install/share/nqp/lib/QRegex.moarvm:!protoregex) | |
from <unknown>:1 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:circumfix) | |
from <unknown>:1 (./blib/Perl6/Grammar.moarvm:term:sym<circumfix>) | |
from gen/moar/stage2/QRegex.nqp:1712 (/home/dogbert/repos/rakudo/install/share/nqp/lib/QRegex.moarvm:!protoregex) | |
from <unknown>:1 (./blib/Perl6/Grammar.moarvm:term) | |
from src/Perl6/Grammar.nqp:3919 (./blib/Perl6/Grammar.moarvm:termish) | |
from gen/moar/stage2/NQPHLL.nqp:935 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:EXPR) | |
from src/Perl6/Grammar.nqp:3959 (./blib/Perl6/Grammar.moarvm:EXPR) | |
from src/Perl6/Grammar.nqp:1289 (./blib/Perl6/Grammar.moarvm:statement) | |
from src/Perl6/Grammar.nqp:1221 (./blib/Perl6/Grammar.moarvm:statementlist) | |
from gen/moar/stage2/NQPHLL.nqp:1165 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:LANG) | |
from src/Perl6/Grammar.nqp:1657 (./blib/Perl6/Grammar.moarvm:FOREIGN_LANG) | |
from src/Perl6/Grammar.nqp:1185 (./blib/Perl6/Grammar.moarvm:comp_unit) | |
from src/Perl6/Grammar.nqp:492 (./blib/Perl6/Grammar.moarvm:TOP) | |
from gen/moar/stage2/QRegex.nqp:2315 (/home/dogbert/repos/rakudo/install/share/nqp/lib/QRegex.moarvm:parse) | |
from gen/moar/stage2/NQPHLL.nqp:1895 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:parse) | |
from gen/moar/stage2/NQPHLL.nqp:1836 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:run) | |
from gen/moar/stage2/NQPHLL.nqp:1846 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:) | |
from gen/moar/stage2/NQPHLL.nqp:1824 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:compile) | |
from gen/moar/stage2/NQPHLL.nqp:1570 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:eval) | |
from gen/moar/stage2/NQPHLL.nqp:1791 (/home/dogbert/repos/rakudo/install/share/nqp/lib/NQPHLL.moarvm:evalfiles) | |
from gen/moar/stage2/NQPHLL.nqp:1685 (/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:1659 (/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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment