[lxml-dev] Possible 'freeing null pointer' problem with 'document()' function

Sidnei da Silva sidnei at enfoldsystems.com
Thu Aug 23 15:28:04 CEST 2007


On 8/23/07, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Hmmm, I need more detail here. Any chance you could send me a working (i.e.
> crashing) example of acceptable size so that I could run it through valgrind?

Yeah, that's the trick ;(

For now I can only reproduce it inside Apache, but I've witnessed
crashes both on Windows and on Linux. The code is not sharing parser
or xslt objects between threads that I can spot. In fact all the
processing is happening on one single thread, on the very first
request.

I've just got libxml2 and libxslt upgraded to newer versions (2.6.29
and 1.1.21) on my Linux box and will give it a last try there to see
if the problem goes away.

-- 
Sidnei da Silva
Enfold Systems                http://enfoldsystems.com
Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214


More information about the lxml-dev mailing list