Re: [xml] Exception at TextWriterEndDocument()

On Sun, Sep 12, 2010 at 11:52:29AM +0200, Eric Benton wrote:
Hi all,

I'm using libxml2 on win7 64bit, I compiled it myself using visual studio.

It works ok, but I'm having a problem when I'm trying to call
xmlTextWriterWriteRawLen() with (len > 1000) or so...

Here is a stack trace, the problem is occurring later in the flow at

00 ntdll!RtlpReAllocateHeap+0xc8
01 ntdll!RtlReAllocateHeap+0xa2
02 MSVCR100!realloc+0x57
03 xxx!xmlBufferGrow+0x13f
04 xxx!xmlCharEncOutFunc+0x174
05 xxx!xmlOutputBufferFlush+0x6e
06 xxx!xmlTextWriterFlush+0x3a
07 xxx!xmlTextWriterEndDocument+0x1f3
08 xxx!wrap_to_xml+0x2cf

Any tip would help me,

  Either you exhausted memory or some of the code broke the memory
  allocation management. I don't know how to debug this on Windows.


Daniel Veillard      | libxml Gnome XML XSLT toolkit
daniel veillard com  | Rpmfind RPM search engine | virtualization library

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]