[XSL functions] causing segfaults?
by Aaron Straup Cope other posts by this author
Jan 21 2004 2:23PM messages near this date
view in the new Beta List Site
Re: newbie install question
|
Re: [XSL functions] causing segfaults?
Hi all,
I am trying to determine where a problem that is causing a program, that
makes extensive use of XML::LibXSLT functions, to dump core.
The problem popped up last week after I upgraded a lot of things from
the FreeBSD ports collection, including libxml2 and libxslt.
Based on debugging output, everything is fine up to and including the
first call to a registered XSLT function. That is, I can print to STDERR
right up to the point where I am returning a result. From there, the
disk starts to page noisily and eventually the Perl interpreter core
dumps.
I have tried this with both the ports and CVS versions of XML::LibXSLT
and the ports version of XML::LibXML. The CVS version of XML::LibXML
will not pass tests.
---
FreeBSD 4.9 RELEASE
Perl 5.8.2 (FBSD ports)
libxml 2.6.4 (FBSD ports)
libxslt 1.1.2 (FBSD ports rev. "_2")
XML::LibXML 1.56 (FBSD ports)
XML::LibXSLT 1.53 (CVS)
---
Unfortunately, I didn't think to write the exact version numbers for the
various xml/xslt libraries because, you know, it worked. :-(
---
I tried to build XML::LibXML from CVS but it failed tests 't/02parse'
[1] and 't/17callbacks' [2].
Both 'XML::LibXML - t/17callbacks' and 'XML::LibXSLT t/10functions'
tests squawked about "perl in free(): warning: chunk is already free"
warning. The latter, however, did not fail.
---
Is this a known failure? If it is not could someone suggest the next
step for tracking down the problem? If it really is just a question of
ripping out all the functions and adding them one at a time, I will do
that but it's not my first choice.
Thanks,
---
[1] Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
DIED. FAILED tests 211-476
Failed 266/476 tests, 44.12% okay
[2] ibid. FAILED tests 11-38 / Failed 28/38 tests,
26.32% okay
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Aaron Straup Cope
Petr Pajas
Aaron Straup Cope
|