Re: [xml] segfault and a possible fix in parser.c

Daniel Veillard <veillard redhat com> writes:

On Sun, Oct 31, 2004 at 08:25:12PM +0100, Petr Pajas wrote:
On Sunday 31 October 2004 20:08, Daniel Veillard wrote:
  Can you test the enclosed patch for the Perl bindings ?

Tested, works just fine :-)

  Okay, I commited it. I would appreciate if you could test
against libxml2 snapshot tomorrow and report in case of problem.
I will probably have to roll 2.6.16 out soonish and I want to
be sure what's in CVS works for XML::LibXML . Alternately pointers
on how to test myself might help.



I had to wait till now for the anon-cvs to catch up. Works fine,
thanks. You can always test against CVS XML::LibXML as follows:

cvs -z3 -d:pserver:anonymous axkit org:/home/cvs co XML-LibXML
perl Makefile.PL
make test

individual tests are in the directory t/. If some test fails as
"dubious", it is usually due to a crash. In that case, I usually
re-run the specific test alone for more info, as

perl -Mblib t/XYtest.t

If I see a sigsegv, I ususally do (valgrind 2.2.0 syntax):

valgrind --tool=corecheck perl -Mblib t/XYtest.t
valgrind --tool=memcheck perl -Mblib t/XYtest.t

-- Petr

Attachment: pgp9HRJrGFWQp.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]