You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2011/03/11 22:56:21 UTC

DO NOT REPLY [Bug 50918] New: apr_ldap_rebind thread_mutex problems

https://issues.apache.org/bugzilla/show_bug.cgi?id=50918

           Summary: apr_ldap_rebind thread_mutex problems
           Product: APR
           Version: HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: covener@gmail.com


I think during a graceful restart of httpd, apr_ldap_rebind_init() can use a
removed/invalid mutex because it won't create a new threadmutex when it gets
initialized again.

During some unrelated testing, I saw a loop in the rebind callback list which I
think this is the root cause of.  No return code is checked on the
apr_thread_mutex_lock() but the lock appears to be returning EINVAL, presumably
with a cleaned-up mutex.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 50918] apr_ldap_rebind thread_mutex problems

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50918

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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