[lxml-dev] Build problems under MacOS-X
Stefan Behnel
stefan_ml at behnel.de
Sun Feb 3 21:56:37 CET 2008
Hi,
js wrote:
> seg fault occured to me, too.
> Repeating etree.parse causes that.
>
> Here's the crash.log
> Command: python2.5
> Path: /opt/local/bin/python2.5
> Parent: zsh [12091]
>
> Version: ??? (???)
>
> PID: 12274
> Thread: 0
>
> Exception: EXC_BAD_ACCESS (0x0001)
> Codes: KERN_INVALID_ADDRESS (0x0001) at 0x6f632e6f
>
> Thread 0 Crashed:
> 0 libxml2.2.dylib 0x01371fc0 xmlDictFree + 45
> 1 libxml2.2.dylib 0x0137200e xmlDictFree + 123
> 2 etree.so 0x010634ad
> __pyx_f_4lxml_5etree_24_ParserDictionaryContext_initThreadDictRef + 63
> (lxml.etree.c:45919)
> ....
Have you set DYLD... to the directory where the new lib versions are installed
when running this? (compile time is *not* enough)
If you did, could you try passing the "--without-threading" option to setup.py
and rebuild with that to see if the problem persists?
Stefan
More information about the lxml-dev
mailing list