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 )