Re: [lxml-dev] Segfault on OS X

Le 16 avr. 2005, à 09:52, Paul Everitt a écrit :
Well, I'll be.... Your etree.so passes all tests on my machine (in either 2.3 or 2.4, which really makes no sense.) (Yes, I am loading the right one. Checked with gdb.) I am beginning to suspect that the problem lies with the DarwinPorts Python... or libxml, or something. BTW, 10.3.9 now includes a nice version of libxml and libxslt. You could try building against those? Marc-Antoine

On Apr 16, 2005, at 7:04 PM, Marc-Antoine Parent wrote:
I'm on dialup until tomorrow night, so it's a bit of a chore to update. :^) Are you saying 10.3.9 has versions of libxml2/libxslt that are good enough for lxml? If so, that's great news! --Paul

I thought so, but upon checking, the xslt versions is a tad too old: libxml 2.2.16/libxslt 1.1.9 (lxml needs 1.1.12) (though... xslt says it was compiled against libxml 2.2.11... I just may have overwritten my system's libxml install? Could someone else do a xmllint --version?) MAP

Paul Everitt wrote:
I just compiled lxml 0.5.1 against the stock Python and libxml2 in OS X 10.4 ("Tiger"). It worked without a problem, no segfault.
Cool! It working out of the box on Tiger is nice. Of course eventually that will stop being the case -- there are bugfixes (thanks to some of my reports) in newer versions of libxml2 that I want to start exploiting that may not yet be in Tiger. What versions of libxml2 and libxslt is Tiger using? Regards, Martijn

On May 3, 2005, at 1:17 PM, Martijn Faassen wrote:
libxml2.2.dylib paul$ which xmllint /usr/bin/xmllint paul$ xmllint --version xmllint: using libxml version 20616 compiled with: DTDValid FTP HTTP HTML C14N Catalog XPath XPointer XInclude Iconv Unicode Regexps Automata Schemas --Paul

Paul Everitt wrote:
On May 3, 2005, at 1:17 PM, Martijn Faassen wrote:
Looks like 2.6.16, if I read that right. That's a version from late last year; Debian is using the same. I'd like like to know the XSLT version, too, hm.. 'xsltproc --version' gives quite a bit of info: Using libxml 20616, libxslt 10112 and libexslt 810 xsltproc was compiled against libxml 20616, libxslt 10112 and libexslt 810 libxslt 10112 was compiled against libxml 20616 libexslt 810 was compiled against libxml 20616 Regards, Martijn

On May 3, 2005, at 6:33 PM, Martijn Faassen wrote:
paul$ xsltproc --version Using libxml 20616, libxslt 10111 and libexslt 809 xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20616 libexslt 809 was compiled against libxml 20616 --Paul

On Apr 16, 2005, at 7:04 PM, Marc-Antoine Parent wrote:
I'm on dialup until tomorrow night, so it's a bit of a chore to update. :^) Are you saying 10.3.9 has versions of libxml2/libxslt that are good enough for lxml? If so, that's great news! --Paul

I thought so, but upon checking, the xslt versions is a tad too old: libxml 2.2.16/libxslt 1.1.9 (lxml needs 1.1.12) (though... xslt says it was compiled against libxml 2.2.11... I just may have overwritten my system's libxml install? Could someone else do a xmllint --version?) MAP

Paul Everitt wrote:
I just compiled lxml 0.5.1 against the stock Python and libxml2 in OS X 10.4 ("Tiger"). It worked without a problem, no segfault.
Cool! It working out of the box on Tiger is nice. Of course eventually that will stop being the case -- there are bugfixes (thanks to some of my reports) in newer versions of libxml2 that I want to start exploiting that may not yet be in Tiger. What versions of libxml2 and libxslt is Tiger using? Regards, Martijn

On May 3, 2005, at 1:17 PM, Martijn Faassen wrote:
libxml2.2.dylib paul$ which xmllint /usr/bin/xmllint paul$ xmllint --version xmllint: using libxml version 20616 compiled with: DTDValid FTP HTTP HTML C14N Catalog XPath XPointer XInclude Iconv Unicode Regexps Automata Schemas --Paul

Paul Everitt wrote:
On May 3, 2005, at 1:17 PM, Martijn Faassen wrote:
Looks like 2.6.16, if I read that right. That's a version from late last year; Debian is using the same. I'd like like to know the XSLT version, too, hm.. 'xsltproc --version' gives quite a bit of info: Using libxml 20616, libxslt 10112 and libexslt 810 xsltproc was compiled against libxml 20616, libxslt 10112 and libexslt 810 libxslt 10112 was compiled against libxml 20616 libexslt 810 was compiled against libxml 20616 Regards, Martijn

On May 3, 2005, at 6:33 PM, Martijn Faassen wrote:
paul$ xsltproc --version Using libxml 20616, libxslt 10111 and libexslt 809 xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20616 libexslt 809 was compiled against libxml 20616 --Paul
participants (3)
-
Marc-Antoine Parent
-
Martijn Faassen
-
Paul Everitt