petdance/scratch — Issue #467: t/pmc/sub fails with runcore PBC
Author: petdance
Created: 2011-11-14 06:10:21+00:00
State: open
Labels: bug, core, Pri-normal, Sev-medium

perl t/harness --gc-debug --running-make-test -r t/pmc/sub.t
```
t/pmc/sub....NOK 63/64
# Failed test ':outer with identical sub names'
# at t/pmc/sub.t line 1462.
# Exited with error code: 1
# Received:
# ABC::outer
# ABC::inner
# Null PMC in say
# current instr.: 'parrot;ABC;inner' pc 47 (/local/scratch/dmajnem2/parrot/t/pmc/sub_63.pir:20)
# called from Sub 'parrot;ABC;outer' pc 37 (/local/scratch/dmajnem2/parrot/t/pmc/sub_63.pir:14)
# called from Sub 'main' pc 9 (/local/scratch/dmajnem2/parrot/t/pmc/sub_63.pir:3)
#
# Expected:
# ABC::outer
# ABC::inner
# ABC lex
# DEF::outer
# DEF::inner
# DEF lex
#
# Looks like you failed 1 test of 64.
t/pmc/sub....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 63
Failed 1/64 tests, 98.44% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/pmc/sub.t 1 256 64 1 63
Failed 1/1 test scripts. 1/64 subtests failed.
Files=1, Tests=64, 2 wallclock secs ( 1.54 cusr + 0.46 csys = 2.00 CPU)
Failed 1/1 test programs. 1/64 subtests failed.
```

icc --version
```
icc (ICC) 10.1 20080801
Copyright (C) 1985-2008 Intel Corporation. All rights reserved.
```

svn info
```
Path: .
URL: https://svn.perl.org/parrot/trunk
Repository Root: https://svn.perl.org/parrot
Repository UUID: d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Revision: 36011
Node Kind: directory
Schedule: normal
Last Changed Author: Whiteknight
Last Changed Rev: 36011
Last Changed Date: 2009-01-25 17:09:07 -0600 (Sun, 25 Jan 2009)
```

Originally http://trac.parrot.org/parrot/ticket/228
Originally reported by dmajnemer (@)