# New Ticket Created by   
# Please include the string:  [perl #122174]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=122174 >


Hello!

I am running a syntactically correct program, but the debugger fails
giving a large call stack output; see attached.

The Perl6 version is:rakudo-star-2014.04/install/bin/perl6-debug-p


Andrew Parker


>>> LOADING 00-ctests.t
>>> LOADING /home/aparker/Documents/LDAP/lib/LDAP.pm6
>>> LOADING /home/aparker/Documents/LDAP/lib/LDAPConstants.pm6
+ /home/aparker/Documents/LDAP/lib/LDAPConstants.pm6 (5 - 25)
| # key pairs in question. 
| 
| our Int enum LDAPConstants is export(:ALL, :DEFAULT, :constants) (
|     LDAP_success                                    =>  0,
|     LDAP_operationsError                        =>  1,
|     LDAP_protocolError                            =>  2,
|     LDAP_timeLimitExceeded                  =>  3,
|     LDAP_sizeLimitExceeded                  =>  4,
|     LDAP_compareFalse                          =>  5,
|     LDAP_compareTrue                           =>  6,
|     LDAP_authMethodNotSupported     =>  7,
|     LDAP_strongerAuthRequired            =>  8,
| 
|     # -value 9 is reserved.
|     
|     LDAP_referral                                   => 10,
|     LDAP_adminLimitExceeded             => 11,
|     LDAP_unavailableCriticalExtension => 12,
| );
| 
| =begin pod
> s
Null PMC access in find_method('get_subid')
current instr.: '' pc 5516 (src/gen/perl6-moduleloader.pir:2347) 
(gen/parrot/ModuleLoader.nqp:274)
called from Sub '' pc 4585 (src/gen/perl6-moduleloader.pir:1948) 
(gen/parrot/ModuleLoader.nqp:226)
called from Sub 'load_module' pc 3765 (src/gen/perl6-moduleloader.pir:1599) 
(gen/parrot/ModuleLoader.nqp:215)
called from Sub 'load_module' pc 5299 (src/gen/perl6-symboltable.pir:2120) 
(src/Perl6/World.nqp:335)
called from Sub '' pc 92804 (src/gen/perl6-grammar.pir:33123) 
(src/Perl6/Grammar.nqp:1388)
called from Sub 'statement_control:sym<use>' pc 91790 
(src/gen/perl6-grammar.pir:32724) (src/Perl6/Grammar.nqp:1347)
called from Sub '!protoregex' pc 11772 (gen/parrot/stage2/QRegex.pir:4702) 
(gen/parrot/stage2/QRegex.nqp:791)
called from Sub 'statement_control' pc 78505 (src/gen/perl6-grammar.pir:28872) 
(src/Perl6/Grammar.nqp:1244)
called from Sub 'statement' pc 68692 (src/gen/perl6-grammar.pir:25261) 
(src/Perl6/Grammar.nqp:1104)
called from Sub 'statementlist' pc 66268 (src/gen/perl6-grammar.pir:24508) 
(src/Perl6/Grammar.nqp:1072)
called from Sub '' pc 12415 (src/gen/perl6-debug.pir:5002) 
(src/perl6-debug.nqp:389)
called from Sub 'statementlist' pc 12295 (src/gen/perl6-debug.pir:4954) 
(src/perl6-debug.nqp:382)
called from Sub 'comp_unit' pc 59026 (src/gen/perl6-grammar.pir:21537) 
(src/Perl6/Grammar.nqp:858)
called from Sub 'comp_unit' pc 12911 (src/gen/perl6-debug.pir:5211) 
(src/perl6-debug.nqp:405)
called from Sub 'TOP' pc 17418 (src/gen/perl6-grammar.pir:7019) 
(src/Perl6/Grammar.nqp:345)
called from Sub 'parse' pc 19232 (gen/parrot/stage2/QRegex.pir:7569) 
(gen/parrot/stage2/QRegex.nqp:1304)
called from Sub 'parse' pc 32520 (gen/parrot/stage2/NQPHLL.pir:12662) 
(gen/parrot/stage2/NQPHLL.nqp:1443)
called from Sub '' pc 31967 (gen/parrot/stage2/NQPHLL.pir:12463) 
(gen/parrot/stage2/NQPHLL.nqp:1398)
called from Sub 'compile' pc 31711 (gen/parrot/stage2/NQPHLL.pir:12366) 
(gen/parrot/stage2/NQPHLL.nqp:1389)
called from Sub 'eval' pc 27509 (gen/parrot/stage2/NQPHLL.pir:10632) 
(gen/parrot/stage2/NQPHLL.nqp:1146)
called from Sub 'eval' pc 13955 (src/gen/perl6-debug.pir:5632) 
(src/perl6-debug.nqp:451)
called from Sub 'evalfiles' pc 30691 (gen/parrot/stage2/NQPHLL.pir:11948) 
(gen/parrot/stage2/NQPHLL.nqp:1356)
called from Sub 'command_eval' pc 29741 (gen/parrot/stage2/NQPHLL.pir:11564) 
(gen/parrot/stage2/NQPHLL.nqp:1293)
called from Sub 'command_eval' pc 355 (src/gen/perl6-compiler.pir:186) 
(src/Perl6/Compiler.nqp:17)
called from Sub 'command_line' pc 28581 (gen/parrot/stage2/NQPHLL.pir:11105) 
(gen/parrot/stage2/NQPHLL.nqp:1235)
called from Sub 'MAIN' pc 739 (src/gen/perl6-debug.pir:274) 
(src/perl6-debug.nqp:501)
called from Sub '' pc 226 (src/gen/perl6-debug.pir:99) (src/perl6-debug.nqp:1)
called from Sub '' pc 18745 (src/gen/perl6-debug.pir:7190) 
(src/perl6-debug.nqp:451)

thrown from:
current instr.: '' pc 391732 (src/gen/p-CORE.setting.pir:163559) 
(gen/parrot/CORE.setting:9673)
called from Sub 'at_key' pc 392832 (src/gen/p-CORE.setting.pir:164051) 
(gen/parrot/CORE.setting:9740)
called from Sub 'postcircumfix:<{ }>' pc 79930 
(src/gen/p-CORE.setting.pir:31804) (gen/parrot/CORE.setting:2606)
called from Sub 'postcircumfix:<{ }>' pc 79900 
(src/gen/p-CORE.setting.pir:31781) (gen/parrot/CORE.setting:2602)
called from Sub '' pc 4651 
(/home/aparker/Downloads/rakudo-star-2014.04/install/lib/parrot/6.1.0/languages/perl6/lib/Debugger/UI/CommandLine.pir:1733)
 
(/home/aparker/Downloads/rakudo-star-2014.04/install/lib/parrot/6.1.0/languages/perl6/lib/Debugger/UI/CommandLine.pm:734)
called from Sub '' pc 344335 (src/gen/p-CORE.setting.pir:143315) 
(gen/parrot/CORE.setting:7607)
called from Sub 'reify' pc 343353 (src/gen/p-CORE.setting.pir:142963) 
(gen/parrot/CORE.setting:7582)
called from Sub '' pc 341778 (src/gen/p-CORE.setting.pir:142235) 
(gen/parrot/CORE.setting:7498)
called from Sub 'reify' pc 340922 (src/gen/p-CORE.setting.pir:141901) 
(gen/parrot/CORE.setting:7466)
called from Sub 'gimme' pc 350066 (src/gen/p-CORE.setting.pir:145843) 
(gen/parrot/CORE.setting:7962)
called from Sub 'sink' pc 361910 (src/gen/p-CORE.setting.pir:150511) 
(gen/parrot/CORE.setting:8365)
called from Sub 'unhandled' pc 4459 
(/home/aparker/Downloads/rakudo-star-2014.04/install/lib/parrot/6.1.0/languages/perl6/lib/Debugger/UI/CommandLine.pir:1663)
 
(/home/aparker/Downloads/rakudo-star-2014.04/install/lib/parrot/6.1.0/languages/perl6/lib/Debugger/UI/CommandLine.pm:728)
called from Sub '' pc 5516 (src/gen/perl6-moduleloader.pir:2347) 
(gen/parrot/ModuleLoader.nqp:274)
called from Sub '' pc 4585 (src/gen/perl6-moduleloader.pir:1948) 
(gen/parrot/ModuleLoader.nqp:226)
called from Sub 'load_module' pc 3765 (src/gen/perl6-moduleloader.pir:1599) 
(gen/parrot/ModuleLoader.nqp:215)
called from Sub 'load_module' pc 5299 (src/gen/perl6-symboltable.pir:2120) 
(src/Perl6/World.nqp:335)
called from Sub '' pc 92804 (src/gen/perl6-grammar.pir:33123) 
(src/Perl6/Grammar.nqp:1388)
called from Sub 'statement_control:sym<use>' pc 91790 
(src/gen/perl6-grammar.pir:32724) (src/Perl6/Grammar.nqp:1347)
called from Sub '!protoregex' pc 11772 (gen/parrot/stage2/QRegex.pir:4702) 
(gen/parrot/stage2/QRegex.nqp:791)
called from Sub 'statement_control' pc 78505 (src/gen/perl6-grammar.pir:28872) 
(src/Perl6/Grammar.nqp:1244)
called from Sub 'statement' pc 68692 (src/gen/perl6-grammar.pir:25261) 
(src/Perl6/Grammar.nqp:1104)
called from Sub 'statementlist' pc 66268 (src/gen/perl6-grammar.pir:24508) 
(src/Perl6/Grammar.nqp:1072)
called from Sub '' pc 12415 (src/gen/perl6-debug.pir:5002) 
(src/perl6-debug.nqp:389)
called from Sub 'statementlist' pc 12295 (src/gen/perl6-debug.pir:4954) 
(src/perl6-debug.nqp:382)
called from Sub 'comp_unit' pc 59026 (src/gen/perl6-grammar.pir:21537) 
(src/Perl6/Grammar.nqp:858)
called from Sub 'comp_unit' pc 12911 (src/gen/perl6-debug.pir:5211) 
(src/perl6-debug.nqp:405)
called from Sub 'TOP' pc 17418 (src/gen/perl6-grammar.pir:7019) 
(src/Perl6/Grammar.nqp:345)
called from Sub 'parse' pc 19232 (gen/parrot/stage2/QRegex.pir:7569) 
(gen/parrot/stage2/QRegex.nqp:1304)
called from Sub 'parse' pc 32520 (gen/parrot/stage2/NQPHLL.pir:12662) 
(gen/parrot/stage2/NQPHLL.nqp:1443)
called from Sub '' pc 31967 (gen/parrot/stage2/NQPHLL.pir:12463) 
(gen/parrot/stage2/NQPHLL.nqp:1398)
called from Sub 'compile' pc 31711 (gen/parrot/stage2/NQPHLL.pir:12366) 
(gen/parrot/stage2/NQPHLL.nqp:1389)
called from Sub 'eval' pc 27509 (gen/parrot/stage2/NQPHLL.pir:10632) 
(gen/parrot/stage2/NQPHLL.nqp:1146)
called from Sub 'eval' pc 13955 (src/gen/perl6-debug.pir:5632) 
(src/perl6-debug.nqp:451)
called from Sub 'evalfiles' pc 30691 (gen/parrot/stage2/NQPHLL.pir:11948) 
(gen/parrot/stage2/NQPHLL.nqp:1356)
called from Sub 'command_eval' pc 29741 (gen/parrot/stage2/NQPHLL.pir:11564) 
(gen/parrot/stage2/NQPHLL.nqp:1293)
called from Sub 'command_eval' pc 355 (src/gen/perl6-compiler.pir:186) 
(src/Perl6/Compiler.nqp:17)
called from Sub 'command_line' pc 28581 (gen/parrot/stage2/NQPHLL.pir:11105) 
(gen/parrot/stage2/NQPHLL.nqp:1235)
called from Sub 'MAIN' pc 739 (src/gen/perl6-debug.pir:274) 
(src/perl6-debug.nqp:501)
called from Sub '' pc 226 (src/gen/perl6-debug.pir:99) (src/perl6-debug.nqp:1)
called from Sub '' pc 18745 (src/gen/perl6-debug.pir:7190) 
(src/perl6-debug.nqp:451)

Reply via email to