You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/10/23 12:02:35 UTC

DO NOT REPLY [Bug 24049] New: - Memory leak in the unix proc_mutex implementation

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=24049>.
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=24049

Memory leak in the unix proc_mutex implementation

           Summary: Memory leak in the unix proc_mutex implementation
           Product: APR
           Version: 0.9.4
          Platform: All
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: APR
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: emild@cs.technion.ac.il


There is a memory leak in the current unix implementation of proc_mutexes. In 
the current implementation 

proc_mutex_proc_pthread_cleanup() 

from 

locks/unix/proc_mutex.c

will not perform the munmap() unless the mutex is locked. Obviously this is not 
what we want.

I attach a patch to fix this problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org