petdance/scratch — Issue #277: pbc_disassemble fails on large PBCs
Author: petdance
Created: 2011-11-01 05:41:53+00:00
State: open
Labels: bug, Pri-normal, Sev-medium

PBC disassemble complains about encoding or flat out segfaults when dealing with large PBC files. Good choices are perl6.pbc from rakudo, nqp-rx.pbc, etc
{{{
> /home/pitr/parrot-trunk/bin/pbc_disassemble perl6.pbc
zsh: segmentation fault /home/pitr/parrot-trunk/bin/pbc_disassemble perl6.pbc
}}}
{{{
> ./pbc_disassemble parrot-nqp.pbc
...
000000000750-000000002197 000707:	index_i_sc_s I8,"\t Invalid character for UTF-8 encoding

current instr.: 'parrot;NQP;Compiler;main' pc 76066 (ext/nqp-rx/src/stage0/NQP-s0.pir:20736)
}}}

Originally http://trac.parrot.org/parrot/ticket/1557