[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8593) test039 deadlocks

Full_Name: Quanah Gibson-Mount
Version: 2.4.44
OS: Solaris 10
URL: ftp://ftp.openldap.org/incoming/test039-solaris-testrun.tgz
Submission from: (NULL) (

SunOS unknown 5.10 Generic_147148-26 i86pc i386 i86pc

test039 sporadically locks up when running on Solaris 10.  It took my system
some 150 or so passes to trigger.  On another system, it took only 16, so YMMV.

What I see from the logs in the testrun is that slapd.3.log sends a response,
and then halts:

58a723cf <<< dnPrettyNormal: <cn=All Staff,ou=Groups,o=Example,c=US>, <cn=all
58a723cf => send_search_entry: conn 1003 dn="cn=Bjorn Jensen,ou=Information
Technology Division,ou=People,o=Example,c=US"

slapd.2.log shows that the last thing it did was send a result, and then all the
open connections to it from slapd-mtester timed out:

58a723cf send_ldap_result: conn=1008 op=15 p=3
58a723cf send_ldap_result: r=3D0 matched="" text=""
58a723cf send_ldap_response: msgid=16 tag=101 err=0
ber_flush2: 14 bytes to sd 24
58a723cf conn=1008 op=15 SEARCH RESULT tag=101 err=0 duration=0.298ms nentries=0
58a723d5 connection_close: conn=1002 sd=15
58a723d5 conn=1002 fd=15 closed (idletimeout)
58a723d5 connection_close: conn=1003 sd=19
58a723d5 conn=1003 fd=19 closed (idletimeout)
58a723d5 connection_close: conn=1004 sd=20


slapd.1.log Also shows the last thing it did was return a result:

58a723cf bdb_search_candidates: id=1 first=9 last=9
58a723cf => send_search_entry: conn 1005 dn="cn=Bjorn Jensen,ou=Information
Technology Division,ou=People,dc=example,dc=com"
ber_flush2: 704 bytes to sd 22
58a723cf <= send_search_entry: conn 1005 exit.
58a723cf send_ldap_result: conn=1005 op=20 p=3
58a723cf send_ldap_result: err=0 matched="" text=""
58a723cf send_ldap_response: msgid=21 tag=101 err=0
ber_flush2: 14 bytes to sd 22
58a723cf conn=1005 op=20 SEARCH RESULT tag=101 err=0 duration=0.300ms nentries=1

A tarfile with full backtraces on all slapd and tester programs has been
uploaded to the FTP server