https://bugs.openldap.org/show_bug.cgi?id=9334
Issue ID: 9334 Summary: slapo-ppolicy: mutex ownership issues Product: OpenLDAP Version: 2.5 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: overlays Assignee: bugs@openldap.org Reporter: quanah@openldap.org Target Milestone: ---
When building OpenLDAP trunk with:
CPPFLAGS="-DLDAP_THREAD_DEBUG" ./configure --enable-overlays --enable-ldap --enable-meta --with-tls=openssl
test022-ppolicy dies with:
5f514ef2 mdb_entry_get: rc=0 5f514ef2 => mdb_entry_get: ndn: "cn=standard policy,ou=policies,dc=example,dc=com" 5f514ef2 => mdb_entry_get: oc: "(null)", at: "(null)" 5f514ef2 mdb_dn2entry("cn=standard policy,ou=policies,dc=example,dc=com") 5f514ef2 => mdb_dn2id("cn=standard policy,ou=policies,dc=example,dc=com") 5f514ef2 <= mdb_dn2id: got id=0x4 5f514ef2 => mdb_entry_decode: 5f514ef2 <= mdb_entry_decode 5f514ef2 mdb_entry_get: rc=0 5f514ef2 send_ldap_result: conn=1006 op=0 p=3 5f514ef2 send_ldap_result: err=49 matched="" text="" thr_debug.c:1046: ldap_pvt_thread_mutex_unlock error: !THREAD_MUTEX_OWNER( mutex )
https://bugs.openldap.org/show_bug.cgi?id=9334
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.0
https://bugs.openldap.org/show_bug.cgi?id=9334
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.5.0 |2.4.53 Resolution|--- |TEST Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • ed356c55 by Howard Chu at 2020-09-03T21:30:35+01:00 ITS#9334 slapo-ppolicy re-fix ITS#9302
The mutex_lock was being skipped in the lockout case, but still calling mutex_unlock at the end.
https://bugs.openldap.org/show_bug.cgi?id=9334
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • af58686a by Howard Chu at 2020-09-03T21:46:16+00:00 ITS#9334 slapo-ppolicy re-fix ITS#9302
The mutex_lock was being skipped in the lockout case, but still calling mutex_unlock at the end.
https://bugs.openldap.org/show_bug.cgi?id=9334
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED