[lxml-dev] thread-related crash when using xslt
Martijn Faassen
faassen at startifact.com
Wed Feb 25 20:06:27 CET 2009
Hi there,
Attached is a small tarball that demonstrates code that crashes when the
code is run in a thread but doesn't crash when it is run stand-alone. I
isolated the specific XSLT + XML combination that seems to trigger this
crash. I suspect it has to do with passing an XSLT object to a thread.
I run this with lxml 2.1.5 in Python 2.4, libxml2 2.6.32 and libxslt 1.1.24
By the way, the FAQ implies that passing an XSLT object into a thread
will slow things down (probably as the XSLT would be re-interpreted). Is
that still true in the current codebase? I had the impression from
previous discussions that this would change.
Regards,
Martijn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thread_crash.tgz
Type: application/x-compressed-tar
Size: 1058 bytes
Desc: not available
Url : http://codespeak.net/pipermail/lxml-dev/attachments/20090225/bf0c4d93/attachment.bin
More information about the lxml-dev
mailing list