id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	lang	patch	platform
464	Multiple failures on OpenBSD 4.4 /i386	doughera		"I had a chance to try a build on OpenBSD 4.4 / i386 and the build stops with
{{{
./parrot -o runtime/parrot/library/CGI/QueryHash.pbcr untime/parrot/library/CGI/QueryHash.pir
Null PMC access in get_pmc_keyed_str()
*** Error code 1
}}}

The problem appears to be quite generic and widespread.  Running the  core tests yields: 
{{{
perl t/harness --core-tests

Failed 163/271 test scripts, 39.85% okay. 641/3167 subtests failed, 79.76% okay.
}}}

A common theme appears to be the various find_* opcodes.  For example, t/op/calling_11.pir looks like this:
{{{
.sub main :main
    $P0 = new 'String'
    $P0 = ""hello\n""
    find_name $P1, ""foo""
    # set_args and invoke must be adjacent
    set_args ""0"", $P0
    invokecc $P1
.end
.sub foo
    get_params ""0"", $P0
    print $P0
.end
}}}

Calling {{{parrot -t t/op/calling_11.pir}}} results in

{{{
     0 new P0, ""String""               P0=PMCNULL 
     3 set P0, ""hello\n""              P0=String=PMC(0x7d9e9c68 Str:"""") 
     6 find_name P1, ""foo""            P1=PMCNULL 
     9 set_args PC9 (1), P0           PC9=FixedIntegerArray=PMC(0x890fbc90) P0=String=PMC(0x7d9e9c68 Str:""hello\n"")
    12 invokecc P1                    P1=PMCNULL
Null PMC access in invoke()
current instr.: 'main' pc 12 (t/op/calling_11.pir:7)
FileHandle objects (like stdout and stderr)are about to be closed, so clearing trace flags.

}}}

I have labeled this as ""fatal"" because it's fatal on this particular platform, but left the priority at ""normal"" because it's apparently only this particular platform.

I have attached the 'myconfig' file as well as the full output of the core-test run."	bug	closed	normal		none		fatal	fixed					openbsd
