[lxml-dev] a different segfault

Stefan Behnel stefan_ml at behnel.de
Thu Jun 5 08:48:18 CEST 2008


Hi,

Roger Patterson wrote:
> I am getting a mysterious segfault using the XSLT lib.
> Basically, if I have:
>     <xsl:strip-space elements="*"/>
> 
> in my transform, I get the segfault, if I remove that line, it works fine.
> 
> Now, I haven't distilled it down to a succinct example yet, and my 
> transform and code are pretty large, but I was wondering if anyone else 
> has experienced this?

Your stack trace doesn't tell me much. Could you a) use lxml 2.0.6 and b)
rebuild lxml with "-g3" CFLAGS to see the function that's executed here?
Running your code in valgrind would be great, there's a command line in the
Makefile.

Stefan



More information about the lxml-dev mailing list