Menu

#203 Memory leak in libTclxml3.2.so

C/C++ Module
open
TclXML (91)
7
2014-07-20
2009-08-26
No

We are trying to use the latest version (3.2) of tclxml library in our application. Upon using the newer version of the library large memory leaks is being reported by purify. We are seeing memory leak of 16145 bytes per request sent.

I am attaching the purify log showing the details related to the memory leak. Please look into the same for details on the leak.

Please let me know your views and comments on the leak being observed.

Discussion

  • Chiranjeevi C

    Chiranjeevi C - 2009-08-26

    Purify log showing huge Memory leak.

     
  • Chiranjeevi C

    Chiranjeevi C - 2009-08-26
    • priority: 5 --> 7
     
  • Steve Ball

    Steve Ball - 2009-08-27
    • assigned_to: nobody --> balls
     
  • Anonymous

    Anonymous - 2014-07-18

    Hi, I'm having similar problems. The attached script is helping me to debug the problems. It runs some tclxml/tcldom commands in a loop and then outputs the total memory allocated by tclsh.

     
  • Anonymous

    Anonymous - 2014-07-20

    I think I was able to resolved some problems with the patch attached. At least the mentioned script runs without crashing and without memory leaks now.

    The tcltest scripts provided with the package also run without crashing with the same success/errors as before patching.

    I can provide no warranties though, because I haven't tested it thoroughly (yet).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.