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:
=?UTF-8?Q?=C3=86var_Arnfj=C3=B6r=C3=B0_Bjarmason?=
Date:
July 19, 2008 01:07
Subject:
Perl debugger runs out of memory, hangs or segfaults on XML::Parser::Lite
Message ID:
51dd1af80807190107h30b8626ct6d4d0a825abe4b3b@mail.gmail.com
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About