[xml] Exception at TextWriterEndDocument()



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
xmlTextWriterEndDocument()

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,
Thanks!



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