On Wednesday 29 June 2005 15:24, Matt Fowles wrote:
> t/pmc/io_1.pir
Ah, yes. This is a failing todo test. The useage of IO ops on non IO-PMCs is 
not specced yet.

jens


#6  0x08128193 in PIO_putps (interpreter=0x826e050, pmc=0x82a93e8,
s=0x843c7d8) at io/io.c:1011

1006    INTVAL
1007    PIO_putps(theINTERP, PMC *pmc, STRING *s)
1008    {

PMC_struct_val is not a valid ParrotIOLayer for non PIO-PMCs:

1009        ParrotIOLayer *l = PMC_struct_val(pmc);
1010        ParrotIO *io = PMC_data0(pmc);

The next assertion fails in most (but not all) cases:
1011        assert((unsigned int)l != 0xdeadbeefU);
1012        assert(io != 0);
1013        return PIO_write_down(interpreter, l, io, s);
1014    }

Reply via email to