petdance/scratch — Issue #160: Lexicals and :outer not Thawed Properly from PBC
Author: petdance
Created: 2011-11-01 04:25:03+00:00
State: open

Several tests in t/op/lexicals.t fail when run as PBC (or with parrot -r):

t/op/lexicals (Wstat: 1024 Tests: 47 Failed: 4)
Failed tests: 38, 40-41, 43

$ ./parrot t/op/lexicals_38.pbc
20
Bug: Context 811aee8 :outer points back to itself.
current instr.: '&g' pc 21
(/home/chromatic/dev/parrot/t/op/lexicals_38.pir:17)
called from Sub '&main' pc 56
(/home/chromatic/dev/parrot/t/op/lexicals_38.pir:26)

$ ./parrot t/op/lexicals_40.pbc
Null PMC access in get_string()
current instr.: '&g' pc 9 (/home/chromatic/dev/parrot/t/op/lexicals_40.pir:14)
called from Sub '&main' pc 33
(/home/chromatic/dev/parrot/t/op/lexicals_40.pir:20)

$ ./parrot t/op/lexicals_41.pbc
Null PMC access in get_string()
current instr.: '&g' pc 9 (/home/chromatic/dev/parrot/t/op/lexicals_41.pir:15)
called from Sub '&main' pc 43
(/home/chromatic/dev/parrot/t/op/lexicals_41.pir:22)

$ ./parrot t/op/lexicals_43.pbc
(hangs; interrupted)

I suspect these are all the same problem, and are related to RT #60650.

-- c