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

io.c:710: ber_get_next: Assertion '0' failed. (ITS#3278)



Full_Name: Arlene Berry
Version: 2.2.13
OS: RedHat 9
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (64.221.115.99)


I'm using PADL's nss_ldap 220 and pam_ldap 169, openldap 2.2.13 patched for
issue #2982, cyrus sasl 2.1.19, and mit kerberos 1.3.4 on RedHat 9.  My
directory server is a Windows 2003 domain controller with SFU 3.5 installed.  I
have everything built, configured, and working using sasl GSSAPI for
authentication.  

The problem is that I am getting random occurrences of "io.c:710: ber_get_next:
Assertion '0' failed."  It's some sort of timing problem.  When I turn on
debugging the problem goes away.  When I turn debugging off, sometimes the
problem comes back.  Since the linux machine is actually a vmware image, I moved
it to a faster box and the problem got much worse.  It was so bad I was able to
reproduce it with the debugging level at 65535.  The ps command seems to have a
higher rate of failure.  I'm seeing 'Unable to chase referral
"ldap://ForestDnsZones.msildap.cybersafe.com/DC=ForestDnsZones,DC=msildap,DC=cybersafe,DC=com";
(Can't contact LDAP server)' before the assertion and after a varying number of
requests.  Unfortunately I cannot reproduce this with ldapsearch since
ldapsearch chases referrals anonymously which isn't allowed by my domain
controller.

Below is a small portion of the debugging output from immediately before the
assertion.  I can give you as much as you want but I have over 46,000 lines of
it.

ldap_chkResponseList for msgid=271, all=1
ldap_chkResponseList returns NULL
ldap_int_select
read1msg: msgid 271, all 1
ber_get_next
ldap_read: want=8, got=8
  0000:  00 00 00 d6 60 81 d3 06                            ....`...
ber_get_next failed.
ldap_free_connection
ldap_free_connection: actually freed
ldap_err2string
Unable to chase referral
"ldap://ForestDnsZones.msildap.cybersafe.com/DC=ForestDnsZones,DC=msildap,DC=cybersafe,DC=com";
(Can't contact LDAP server)
wait4msg continue, msgid 259, all 1
** Connections:
* host: DomainDnsZones.msildap.cybersafe.com  port: 0
  refcnt: 1  status: Connected
  last used: Tue Aug 10 16:26:22 2004

* host: engwin07.msildap.cybersafe.com  port: 389  (default)
  refcnt: 1  status: Connected
  last used: Tue Aug 10 16:26:22 2004

** Outstanding Requests:
 * msgid 271,  origid 271, status InProgress
   outstanding referrals 0, parent count 0
 * msgid 262,  origid 259, status InProgress
   outstanding referrals 0, parent count 1
 * msgid 270,  origid 259, status Request Completed
   outstanding referrals 0, parent count 1
 * msgid 264,  origid 259, status Request Completed
   outstanding referrals 0, parent count 1
 * msgid 259,  origid 259, status Request Completed
   outstanding referrals 1, parent count 0
** Response Queue:
 * msgid 259,  type 115
ldap_chkResponseList for msgid=259, all=1
ldap_chkResponseList returns NULL
ldap_int_select
read1msg: msgid 259, all 1
ber_get_next
ps: io.c:710: ber_get_next: Assertion `0' failed.