On Thu, Feb 02, 2006 at 11:33:25AM +0100, Leopold Toetsch wrote: : : On Feb 2, 2006, at 2:33, Allison Randal (via RT) wrote: : : >I've spent too much time on this error, so I'm routing around it, but : >I'd love to figure out what's causing it. In my local version of : >Punie I get this error when I run 'make test': : : [ ... ] : : >... Also, if I modify the Punie compiler to dump out generated PIR : >to a file before it executes it, I get no errors even on the bytecode : >version. : : While this all smells like a GC bug, I don't see it with r11401 on : darwin nor x86/linux. I've also run io_print_6 through valgrind on the : latter, which also doesn't show any indication re string truncation. : : Anyway, if it's a GC bug, the following should succeed: : : punie$ TEST_PROG_ARGS=-G make test : : and : : $ ./parrot -G languages/punie/punie.pbc : languages/punie/t/io_print_6.p1
As another datapoint on what *might* be the same bug, there are two PGE failures I get regressing Pugs using embedded Parrot, saying something like: error:imcc:syntax error, unexpected ']' in file 'EVAL_6' line 99 Which seems similar though not identical to Allison's error message. Anyway, it still fails using TEST_PROG_ARGS=-G on the Pugs test, though I don't know if the embedding interface examines TEST_PROG_ARGS. And it could well be a Pugs bug, though the fact that that tests pass with external rather than embedded Parrot seems to indicate not. That's all FWIW. No time to pursue it further, unfortunately... Larry