[lxml-dev] lxml 2.1.4/2.2beta1 Solaris 9 segv in test-suite
Stefan Behnel
stefan_ml at behnel.de
Tue Dec 23 07:38:52 CET 2008
Hi,
thanks for the report.
Volker Paulsen wrote:
> I just compiled lxml-2.1.4 (and lxml-2.2beta)
> with gcc 4.2.4 against
>
> - libxml2-2.7.2
> - libxslt-1.1.24
>
> Unfortunately the test "test_schematron_invalid_schema_empty" causes a
> segmentation violation with Python 2.5 and Python 2.6;
>
> Please find a gdb backtrace for Python 2.6 and lxml-2.1.4 (and
> lxml-2.2beta) attached.
I don't think I've seen this before, might be specific to Solaris. From the
stack trace, it's not sure that the problem is in lxml, as the error is
handled purely inside libxml2 up to that point.
I'd say you're safe if you don't use schematron (which most people won't
run into anyway). Could you try to reproduce this with 'xmllint' (comes
with libxml2) and the empty schema given by the test case?
<schema xmlns="http://purl.oclc.org/dsdl/schematron" />
That would allow us to see if it's a problem with libxml2.
Thanks,
Stefan
More information about the lxml-dev
mailing list