[lxml-dev] merge annotate() and xsiannotate() into single function

Stefan Behnel stefan_ml at behnel.de
Fri Jun 22 20:03:41 CEST 2007



jholg at gmx.de wrote:
> As a side note, current trunk dumps core with a segfault for me in "make test". I attach the output/trace at the end of this post.
> 
> Trunk segfault:
> 
> 0 lb54320 at adevp02 .../lxml $ make test PYTHON=python2.4
> python2.4 setup.py  build_ext -i
> Building lxml version 2.0.dev-44407
> running build_ext
> python2.4 test.py -p -v 
> 
> TESTED VERSION:
>     Python:            (2, 4, 4, 'final', 0)
>     lxml.etree:        (2, 0, -3, 44407)
>     libxml used:       (2, 6, 27)
>     libxml compiled:   (2, 6, 27)
>     libxslt used:      (1, 1, 20)
>     libxslt compiled:  (1, 1, 20)
> 
>  488/583 ( 83.7%): test_xmlschema_invalid_schema2 (....test_xmlschema.ETreeXMLSchemaTestCase)make: *** [test_inplace] Segmentation Fault (core dumped)
> 2 lb54320 at adevp02 .../lxml $ 

Hmm, there was a bug in libxml2 versions before 2.6.24 that made this test
crash, but lxml now works around it. So I have no idea where this might come
from. It works for me with exactly the same versions (and even any version I
tested). This is on Solaris, right? Any chance you might be running into a
similar problem as we saw on Mac-OS, where multiple installed libraries were
interfering?

It's impossible for me to investigate this. You can switch off that test for
your work by prepending the method name with an underscore, for example. We
can look into this later on. 1.3 is more important now.

Stefan


More information about the lxml-dev mailing list