William Coleda <[EMAIL PROTECTED]> wrote:
> Running the tcl "examples/bench.tcl" script, I get the following backtrace:

> Program received signal EXC_BAD_ACCESS, Could not access memory.
> 0x0021cb38 in Parrot_Sub_invoke (interpreter=0xd001a0, pmc=0xed2b60, 
> next=0xf20284) at classes/sub.c:239
> 239         if (interpreter->code->cur_cs != sub->seg) {

> Any chance this is a parrot issue and not a tcl issue?

It's GC related (running it with -G succeeds).

It seems that you aren't always storing compiled code objects away. So
these get GCed. E.g.

commands/proc.imc:106

  $P0 = compile pir_compiler, proc_body

The compilation result C<$P0> remains unanchored.

leo

Reply via email to