You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Thomas Munaretto <tm...@yahoo.com> on 2002/03/28 13:39:16 UTC

Freeing unallocated memory in FormatterToXML::FormatterToXML(...)

Hi all,

While purifying one of our apps in order to find memory management
problems we have come across a "freeing of unallocated memory" in
Xalan-C. We were able to consistently reproduce this with the
"SimpleTransform" sample app from the Xalan-C distribution.

Since our application is supposed to be running uninterrupted for days,
this is very likely to cause problems.

According to purify the freeing is happening in
FormatterToXML::FormatterToXML(...), the allocation of the memory in
XalanDOMString::append(). I was actually wondering whether this is
related to bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6270
or the fix of that bug (which we are already using).

Our environment:
XalanC 1.3
XercesC 1.6
Solaris 2.6
Sun Workshop 6.2
Purify 5.1

Has anybody similar findings? Workarounds?

Attached a file with the purify output from running SimpleTransform.


Regards,
Tom





__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/