On Jan 5, 2006, at 17:04, Roger Browne wrote:
I wonder if anyone has any ideas how I can track down the source of a
problem that I am having. I have a pir file that runs fine under 0.4.0,
but under the latest svn fails with this message:
parrot: src/string.c:448: string_append: Assertion `b->encoding &&
b->charset && !(((b)->obj.flags) & b_PObj_on_free_list_FLAG)'
failed.
This means that at that line a GC-collected strings is used - the RHS
of concat is dead (on the free list).
If I insert print instructions into the pir file, the point at which
the
program fails changes arbitrarily.
That's the nice thing with GC bugs ;-)
If I run the program with --no-gc, it runs normally.
The bad news is I can't reproduce this with trunk, all combinations of
-t, --gc-debug are working.
There is another issue though 'make all' inside amber currently needs a
statically linked parrot. I don't know, if this is amber- or
parrot-related though.
Regards,
Roger Browne
leo