Steve Fink wrote:
> I currently get three test failures when running with GC_DEBUG on, but
> not always the same three (depending on how I muck with unrelated
> parts of the code.)

On my system I get failures with op/string.t tests 96 and 97 and
pmc/pmc.t test 76 (aka 75)

The first two can be fixed by the patch below.

The last one looks like a fundamental problem in MultiArray.
The line
 b->cell_buffer = new_buffer_header(interpreter);
in function new_marray is creating a new buffer header, overwriting
the new_bufferlike_header created earlier.

--
Peter Gibbs
EmKel Systems

Index: string.c
===================================================================
RCS file: /cvs/public/parrot/string.c,v
retrieving revision 1.99
diff -r1.99 string.c
166c166,167
<             a->flags &= ~(UINTVAL)BUFFER_constant_FLAG;
---
>             a->flags &= ~(UINTVAL)(BUFFER_constant_FLAG | BUFFER_COW_FLAG
|
>                                    BUFFER_external_FLAG);


Reply via email to