id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,lang,patch,platform
1149,[bug] Segfault in -t trace output,pmichaud,,"While working on debugging some issues in nqp-rx this morning, I ran into a segfault that occurs when running Parrot with the -t option.  I've been able to narrow the problem down to this short code snippet (revision 42097):

{{{
$ cat z.pir
.sub main
    'foo'()
.end


.sub 'foo'
    $P0 = getinterp
    $P1 = $P0['namespace';1]
    say $P1
.end

$ ./parrot z.pir
parrot
$ ./parrot -t1 z.pir
     0 set_args PC1
     2 set P0, PC9                                        P0=PMCNULL PC9=Sub=PMC(0x97471dc pc:12)
     5 get_results PC1
     7 invokecc P0                                        P0=Sub=PMC(0x97471dc pc:12)
    12 getinterp P0                                        P0=PMCNULL
Segmentation fault
$ 
}}}

When -t causes segfaults on its own, it's much less useful for debugging.  :-(

Thanks!

Pm
",bug,closed,blocker,,core,trunk,high,fixed,,,,,
