petdance/scratch — Issue #879: Lexicals and :outer not Thawed Properly from PBC
Author: petdance
Created: 2011-11-14 06:13:51+00:00
State: open
Labels: bug, Pri-normal, Sev-medium

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

Originally http://trac.parrot.org/parrot/ticket/1171 by @chromatic