RE: [xml] Bug or User Error



Just another piece of info to this mystery..
 
My output shows:

HEAP[AMS V2 Client.exe]: HEAP: Free Heap block 13e0768 modified at 13e0790 after it was freed

At error time..


From: Ron Ohmer
Sent: Thu 1/29/2004 09:58
To: xml gnome org
Subject: [xml] Bug or User Error

Does anyone have a suggestion as to why I am getting an unhandled exception on a doc=xmlParseFile(filename).
 
It is around the 6th time it runs in a program (Same every time), so I suspect it is running out of stack space..  After every run thru the parser I am sure to run:
 

xmlFreeDoc(doc);

xmlCleanupParser();

 
So, I am confused as to how I am leaving open memory out there.  My stack is:
 
Program
xmlSAXParseFile
xmlInitParser
xmlNewCharEncodingHandler
xmlStrndup
malloc
 
The malloc is the offending problem..
 
Any suggestions?
 
Ron Ohmer 


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