httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24049] New: - Memory leak in the unix proc_mutex implementation
Date Thu, 23 Oct 2003 10:02:35 GMT
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


Mime
View raw message