[lxml-dev] Weird bug

David Turner novalis at openplans.org
Fri Apr 13 18:17:19 CEST 2007


On Fri, 2007-04-13 at 08:44 +0200, Stefan Behnel wrote:
> Hi,
> 
> David Turner wrote:
> > I'm trying to write some code that uses lxml, and I run into a weird
> > memory error.
> > 
> > Unfortunately, I can't seem to create a small testcase.  So this bug
> > report probably won't be very useful.
> 
> Thanks for the report. However, I can't see anything related to lxml from your
> stack traces, so before I try to reproduce this, would you mind trying it with
> the latest trunk version of lxml? You didn't state which version you were
> using, so I assume it was a release version.

Actually, I'm using the latest trunk, and libxml2.6.27

> > Running valgrind shows a couple of memory errors.  The first is in
> > xmlFreeNode, when it attempts to get the dict from a doc that has been
> > freed.  The node in question is created at line 327 of tasklist.py in
> > transcluder -- but the error comes later, during garbage collection.
> 
> Could you send me the valgrind log? bzip2 is fine.

It's small, so I attached it here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: valgrind.log.21815.bz2
Type: application/x-bzip
Size: 1175 bytes
Desc: not available
Url : http://codespeak.net/pipermail/lxml-dev/attachments/20070413/c3d00e71/attachment.bin 


More information about the lxml-dev mailing list