Skip Menu |
Report information
Id: 124043
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: wbiker [at] gmx.at
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



To: rakudobug [...] perl.org
Subject: Debugging dies for certain script
From: WFB <wbiker [...] gmx.at>
Date: Wed, 11 Mar 2015 10:25:09 +0100
Download (untitled) / with headers
text/plain 2.9k
Hi,

I always get an unhandled exception stacktrace if I try to debug a perl6 script. With Hello World scripts it works but with my certain one it dies every time with:

C:\scripts>perl6-debug-m conf_test.p6
>>> LOADING conf_test.p6
Unhandled exception: ctxlexpad needs an MVMContext
   at src/gen/m-CORE.setting:11694  (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm::33)
 from src/gen/m-CORE.setting:11758  (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:at_key:93)
 from src/gen/m-CORE.setting:3536  (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:postcircumfix:<{ }>:30)
 from C:\rakudo/languages/perl6/lib/Debugger/UI/CommandLine.pm:734  (C:\rakudo\languages\perl6\lib\Debugger\UI\CommandLine.pm.moarvm::82)
 from src/gen/m-CORE.setting:9342  (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm::557)
 from src/gen/m-CORE.setting:9265  (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:reify:48)
 from src/gen/m-CORE.setting:9178  (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm::96)
 from src/gen/m-CORE.setting:9174  (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm::214)
 from src/gen/m-CORE.setting:9149  (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:reify:48)
 from src/gen/m-CORE.setting:9676  (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:gimme:155)
 from src/gen/m-CORE.setting:10147  (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:sink:4294967295)
 from C:\rakudo/languages/perl6/lib/Debugger/UI/CommandLine.pm:728  (C:\rakudo\languages\perl6\lib\Debugger\UI\CommandLine.pm.moarvm:unhandled:117)
 from C:\rakudo/languages/perl6/lib/Debugger/UI/CommandLine.pm:719  (C:\rakudo\languages\perl6\lib\Debugger\UI\CommandLine.pm.moarvm::25)
 from src/gen/m-Metamodel.nqp:3374  (C:\rakudo\languages\nqp\lib/Perl6/Metamodel.moarvm:enter:28)
 from src/gen/m-CORE.setting:4208  (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:invoke:57)
 from src/gen/m-BOOTSTRAP.nqp:2619  (C:\rakudo/languages/nqp/lib/Perl6/BOOTSTRAP.moarvm::93)
 from gen\moar\stage2\NQPHLL.nqp:1375  (C:\rakudo\languages\nqp\lib/NQPHLL.moarvm:command_eval:374)
 from src/Perl6/Compiler.nqp:17  (C:\rakudo\languages\nqp\lib/Perl6/Compiler.moarvm:command_eval:93)
 from gen\moar\stage2\NQPHLL.nqp:1315  (C:\rakudo\languages\nqp\lib/NQPHLL.moarvm:command_line:116)
 from src/gen/m-perl6-debug.nqp:497  (C:\rakudo\languages\perl6\runtime\perl6-debug.moarvm:MAIN:190)
 from src/gen/m-perl6-debug.nqp:440  (C:\rakudo\languages\perl6\runtime\perl6-debug.moarvm:<mainline>:68)
 from <unknown>:1  (C:\rakudo\languages\perl6\runtime\perl6-debug.moarvm:<main>:8)
 from <unknown>:1  (C:\rakudo\languages\perl6\runtime\perl6-debug.moarvm:<entry>:9)


Operating system is Windows 7. Rakudo installed via msi rakudo-star-2014.12.1-moar.msi
Debugg::UI::CommandLine could not be isntalled via panda (the download failed because of the git:// prefix of the github repository url). So I cloned the git repo by myself and used panda to install it afterwards locally.

scripts are attached.
greetings,
Wolf

Download conf_test.p6
application/octet-stream 230b

Message body not shown because it is not plain text.

Download Properties.pm6
application/octet-stream 694b

Message body not shown because it is not plain text.

RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 3.2k
On Wed Mar 11 02:25:22 2015, wbiker@gmx.at wrote: Show quoted text
> Hi, > > I always get an unhandled exception stacktrace if I try to debug a > perl6 > script. With Hello World scripts it works but with my certain one it > dies > every time with: > > C:\scripts>perl6-debug-m conf_test.p6
> >>> LOADING conf_test.p6
> Unhandled exception: ctxlexpad needs an MVMContext > at src/gen/m-CORE.setting:11694 > (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm::33) > from src/gen/m-CORE.setting:11758 > (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:at_key:93) > from src/gen/m-CORE.setting:3536 > (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:postcircumfix:<{ > }>:30) > from C:\rakudo/languages/perl6/lib/Debugger/UI/CommandLine.pm:734 > (C:\rakudo\languages\perl6\lib\Debugger\UI\CommandLine.pm.moarvm::82) > from src/gen/m-CORE.setting:9342 > (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm::557) > from src/gen/m-CORE.setting:9265 > (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:reify:48) > from src/gen/m-CORE.setting:9178 > (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm::96) > from src/gen/m-CORE.setting:9174 > (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm::214) > from src/gen/m-CORE.setting:9149 > (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:reify:48) > from src/gen/m-CORE.setting:9676 > (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:gimme:155) > from src/gen/m-CORE.setting:10147 > (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:sink:4294967295) > from C:\rakudo/languages/perl6/lib/Debugger/UI/CommandLine.pm:728 > (C:\rakudo\languages\perl6\lib\Debugger\UI\CommandLine.pm.moarvm:unhandled:117) > from C:\rakudo/languages/perl6/lib/Debugger/UI/CommandLine.pm:719 > (C:\rakudo\languages\perl6\lib\Debugger\UI\CommandLine.pm.moarvm::25) > from src/gen/m-Metamodel.nqp:3374 > (C:\rakudo\languages\nqp\lib/Perl6/Metamodel.moarvm:enter:28) > from src/gen/m-CORE.setting:4208 > (C:\rakudo/languages/perl6/runtime/CORE.setting.moarvm:invoke:57) > from src/gen/m-BOOTSTRAP.nqp:2619 > (C:\rakudo/languages/nqp/lib/Perl6/BOOTSTRAP.moarvm::93) > from gen\moar\stage2\NQPHLL.nqp:1375 > (C:\rakudo\languages\nqp\lib/NQPHLL.moarvm:command_eval:374) > from src/Perl6/Compiler.nqp:17 > (C:\rakudo\languages\nqp\lib/Perl6/Compiler.moarvm:command_eval:93) > from gen\moar\stage2\NQPHLL.nqp:1315 > (C:\rakudo\languages\nqp\lib/NQPHLL.moarvm:command_line:116) > from src/gen/m-perl6-debug.nqp:497 > (C:\rakudo\languages\perl6\runtime\perl6-debug.moarvm:MAIN:190) > from src/gen/m-perl6-debug.nqp:440 > (C:\rakudo\languages\perl6\runtime\perl6-debug.moarvm:<mainline>:68) > from <unknown>:1 > (C:\rakudo\languages\perl6\runtime\perl6-debug.moarvm:<main>:8) > from <unknown>:1 > (C:\rakudo\languages\perl6\runtime\perl6-debug.moarvm:<entry>:9) > > > Operating system is Windows 7. Rakudo installed via msi > rakudo-star-2014.12.1-moar.msi > Debugg::UI::CommandLine could not be isntalled via panda (the download > failed because of the git:// prefix of the github repository url). So > I > cloned the git repo by myself and used panda to install it afterwards > locally. > > scripts are attached. > greetings, > Wolf
Can you try this with the recent 2015.10 beta and let us know if this is still an issue? -- Will "Coke" Coleda


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org