Thanks for catching this, Jim. This was from an optimization I put in earlier, I didn't cover all cases. I just pushed a fix and make tests is passing for me now.
--Andrew Whitworth On Thu, Oct 27, 2011 at 9:00 PM, James E Keenan <[email protected]> wrote: > On 10/25/11 9:02 AM, Andrew Whitworth wrote: >> >> Thanks for the information, Moritz! We may need to do a little bit >> more digging before a merge. > > When testing the green_threads branch tonight on linux/i386 (all-gcc build, > no optimize), I encountered failures in two files during 'make test': > > $ prove t/pmc/task.t t/pmc/task_primes.t > t/pmc/task.t ......... 1/10 Null PMC access in get_integer() > current instr.: 'recv_msg1' pc 242 (t/pmc/task.t:85)Null PMC access in > push_pmc() > current instr.: 'task_send_recv' pc 211 (t/pmc/task.t:70) > called from Sub 'main' pc 47 (t/pmc/task.t:11) > called from Sub '__PARROT_ENTRY_MAIN__' pc 383 > (frontend/parrot2/prt0.pir:189) > t/pmc/task.t ......... Dubious, test returned 1 (wstat 256, 0x100) > Failed 7/10 subtests > t/pmc/task_primes.t .. Null PMC access in get_integer() > current instr.: 'main' pc 67 (t/pmc/task_primes.t:30) > t/pmc/task_primes.t .. Dubious, test returned 1 (wstat 256, 0x100) > Failed 8/8 subtests > > Test Summary Report > ------------------- > t/pmc/task.t (Wstat: 256 Tests: 3 Failed: 0) > Non-zero exit status: 1 > Parse errors: Bad plan. You planned 10 tests but ran 3. > t/pmc/task_primes.t (Wstat: 256 Tests: 0 Failed: 0) > Non-zero exit status: 1 > Parse errors: Bad plan. You planned 8 tests but ran 0. > Files=2, Tests=3, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.03 cusr 0.01 > csys = 0.09 CPU) > Result: FAIL > > _______________________________________________ > http://lists.parrot.org/mailman/listinfo/parrot-dev > _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
