[lxml-dev] XSLT and threading

eric casteleijn eric at infrae.com
Thu Jul 17 13:14:57 CEST 2008


Martijn Faassen wrote:
> Hey Stefan,
> 
> Yeah, we realize you need a test case. Eric worked quite hard to try
> to isolate the problem, but no luck yet so far. Hopefully we'll be
> able to tell you more next week. The situation seems to occur when
> custom resolvers are involved, and it's conceivable it's not really a
> threading problem at all.

I *finally* succeeded in building a small (semi) reliable test that 
shows the behavior. In the end, it has nothing to do with custom 
resolvers or even xsl:imports, which had me barking up quite a few wrong 
trees. Enclosed is a small python file, which when run, segfaults pretty 
reliably for me.

I don't think it's doing anything special anymore except the threading. 
If anyone can help with this, I will be very grateful!

eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_xslt.py
Type: text/x-python
Size: 1882 bytes
Desc: not available
Url : http://codespeak.net/pipermail/lxml-dev/attachments/20080717/86b025da/attachment-0001.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eric.vcf
Type: text/x-vcard
Size: 289 bytes
Desc: not available
Url : http://codespeak.net/pipermail/lxml-dev/attachments/20080717/86b025da/attachment-0001.vcf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://codespeak.net/pipermail/lxml-dev/attachments/20080717/86b025da/attachment-0001.pgp 


More information about the lxml-dev mailing list