Re: [xslt] libxml2-2.6.19 -- "make check" segfaults
- From: Daniel Veillard <veillard redhat com>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] libxml2-2.6.19 -- "make check" segfaults
- Date: Fri, 15 Apr 2005 00:18:25 -0400
On Wed, Apr 13, 2005 at 03:09:57PM +0200, Peter Breitenlohner wrote:
> Hi Daniel,
hum, wrong list, this should go to the xml gnome org one. Could be a
good idea to also double check your subscriptions, I had to manually
approve your mail.
> when running 'make check' for libxml2-2.6.19 (on ix86 linux/gnu) I got this
> output:
>
> ## Running the API regression tests this may take a little while
> xmlRegisterCharEncodingHandler: NULL handler !
> /bin/sh: line 1: 31824 Segmentation fault ( ./testapi -q )
> make[2]: [APItests] Error 139 (ignored)
> ## Reader regression tests
>
> In order to find out the cause for the Segmentation fault I ran ./testapi by
> hand (without '-q') and got:
>
> ...
> Testing parser : 60 of 69 functions ...
> Segmentation fault
>
> whereas doing the same for libxml2-2.6.17, I got
>
> ...
> Testing parser : 60 of 69 functions ...
> Testing parserInternals : 33 of 90 functions ...
> ...
>
> Thus it seems the Segmentation fault occurs inside test_parser. Inserting
> additional print statements into this function I further pinned this down to
> test_xmlCtxtReadFile, where it occurs already for the first iteration,
> i.e., n_ctxt=n_filename=n_encoding=n_options=0.
>
> ========================
>
> This is probably a problem with the test program, but since I'm not sure I
> somewhat hesitate to install this new version.
I certainly ran make tests before doing the release, both on Linux i386
and x86_64 and didn't got that problem. The best you can do is run the
program under valgrind with the --db-attach=yes option and then post the
stack trace you get on the error. Or you can run it directly under gdb
and post the stack trace too.
I checked this test on really weird architecture like linux/s390 and
linux/ppc64 and didn't got the problem. I think 2.6.19 is safe to use
but would still like to get more debug informations on that error your got.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]