[lxml-dev] lxml 2.0.1 released
Stefan Behnel
stefan_ml at behnel.de
Mon Feb 18 15:02:49 CET 2008
Hi,
js wrote:
>>> A quick question.
>>> Does this version of lxml fixed segfault bug on Mac OSX?
>> I don't get segfaults on OS X. Using Python 2.4 though.
>
> I'm using 10.4.11, Python 2.4.4 by MacPorts.
>
> Python 2.4.4 (#1, Feb 12 2008, 23:51:38)
> [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import webbrowser
>>>> from lxml import etree, html
>>>> etree.LXML_VERSION
> (2, 0, 1, 0)
>>>> html.parse('http://example.com')
> Python(29901) malloc: *** Deallocation of a pointer not malloced:
> 0x80; This could be a double free(), or free() called with the middle
> of an allocated block; Try setting environment variable MallocHelp to
> see tools to help debug
> <lxml.etree._ElementTree object at 0x1481d28>
This information is definitely not enough for me to get an idea about what
happens here.
That said, could you try passing the "--auto-rpath" option to setup.py when
building? I'd like to know if that makes a difference. You should then see an
option "rpath" (or "install_name"??) in the gcc command line.
And please also make sure that the "xslt-config" that setup.py finds is the
one that comes with the updated libxml2/libxslt libraries, *not* the one
pre-installed on your system.
Stefan
More information about the lxml-dev
mailing list