You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2001/10/10 03:25:23 UTC

DO NOT REPLY [Bug 4060] New: - XMLPlatformUtils leaks a mutex on Solaris, Linux and others

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4060>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4060

XMLPlatformUtils leaks a mutex on Solaris, Linux and others

           Summary: XMLPlatformUtils leaks a mutex on Solaris, Linux and
                    others
           Product: Xerces-C++
           Version: Nightly build
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Utilities
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: mike_bos@mail.com


In SolarisPlatformUtils and HPPlatformUtils, when APP_NO_THREADS is not defined,
XMLPlatformUtils::platformInit allocates a mutex (gAtomicOpMutex on Solaris),
but XMLPlatformUtils::platformTerm does not destroy/free the mutex.

This is the case on at least Solaris, IRIX, HPUX, Linux, OS400, Tru64, UnixWare.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org