develooper Front page | perl.perl5.porters | Postings from July 2008

Perl debugger runs out of memory, hangs or segfaults on XML::Parser::Lite

Thread Next
From:
Ævar Arnfjörð Bjarmason
Date:
July 19, 2008 01:07
Subject:
Perl debugger runs out of memory, hangs or segfaults on XML::Parser::Lite
perl 5.10 and blead will do various combinations of running of of
memory, hanging or segfaulting when running on a program using
XML::Parser::Lite, attached is a stripped down version of X::P::L
which demonstrates the problem:

$ perl5.10.0 -d /tmp/xpl-testcase.pl

main::(/tmp/xpl-testcase.pl:71):        setHandlers();
  DB<1> c
Out of memory!

perl5.11.0 (blead) will hang given the same task, both 5.10 and blead
will segfault if "t" (trace) is turned on before "c" (continue).

Attached is a screenlog of a gdb session using trace on blead where it
segfaults.


Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About