Closed p6rt closed 12 years ago
nqp
say('hi') say('hi') hi say('hi') say('hi') Null PMC access in find_method('new')
-- cognominal stef
The world disappears between the two evaluations! And this is unrelated to 2012 mayan astrology.
Relevant part of the trace.
5d5f set P2, P1["World"] P2=PMCNULL P1=Hash=PMC(0x7f926677dc00) (src/stage2/gen/NQP.pm:487) ... 5d7c callmethodcc P2, "new" P2=PMCNULL (src/stage2/gen/NQP.pm:487)
More complete trace for the search of NQP::World
5d55 get_hll_global P28, "GLOBAL" P28=PMCNULL (src/stage2/gen/NQP.pm:487) 5d58 nqp_get_package_through_who P0, P28, "NQP" P0=PMCNULL P28=GLOBALish=PMC(0x7f92652d9590) (src/stage2/gen/NQP.pm:487) 5d5c get_who P1, P0 P1=PMCNULL P0=NQP=PMC(0x7f926677dca0) (src/stage2/gen/NQP.pm:487) 5d5f set P2, P1["World"] P2=PMCNULL P1=Hash=PMC(0x7f926677dc00) (src/stage2/gen/NQP.pm:487) 5d63 set P3, P35 P3=PMCNULL P35=String=PMC(0x7f92667e2010 Str:"67C0187A91F4EFF6565C") (src/stage2/gen/NQP.pm:487) 5d66 unless_null P3, 6 P3=String=PMC(0x7f92667e2010 Str:"67C0187A91F4EFF6565C") (src/stage2/gen/NQP.pm:487) 5d6c set P4, P34 P4=PMCNULL P34=PMCNULL (src/stage2/gen/NQP.pm:487) 5d6f unless_null P4, 6 P4=PMCNULL (src/stage2/gen/NQP.pm:487) 5d72 new P4, "Undef" P4=PMCNULL (src/stage2/gen/NQP.pm:487) 5d75 set_args PC54 (5), P2, "handle", P3, "description", P4 PC54=FixedIntegerArray=PMC(0x7f9263913f80) P2=PMCNULL P3=String=PMC(0x7f92667e2010 Str:"67C0187A91F4EFF6565C") P4=Undef=PMC(0x7f92667b2420) (src/stage2/gen/NQP.pm:487) 5d7c callmethodcc P2, "new" P2=PMCNULL (src/stage2/gen/NQP.pm:487) # Back in sub 'nqp;HLL;Compiler;_block1731 Null PMC access in find_method('new')
-- cognominal stef
On Fri Dec 30 13:19:01 2011, cognominal wrote:
nqp
say('hi') say('hi') hi say('hi') say('hi') Null PMC access in find_method('new')
$ ./nqp --version This is nqp version 2012.09.1-26-g5238d7b built on parrot 4.8.0 revision RELEASE_4_8_0 $ ./nqp
say("hi"); hi say("hi"); hi
Fixed.
Future nqp tickets should be logged against https://github.com/perl6/nqp/issues
Regards.
-- Will "Coke" Coleda
The RT System itself - Status changed from 'new' to 'open'
@coke - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#107330 (status was 'resolved')
Searchable as RT107330$