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

Re: Assertion failure in ldapsearch



Guillaume Rousse wrote:
This server is frozen, and ldapsearch crashes:

[root@etoile main]# ldapsearch -x
ldapsearch: error.c:272: ldap_parse_result: Assertion `r != ((void *)0)'
failed.
Abandon

This is openldap 2.4.15 client, with this specific configuration:
TLS_CACERTDIR	/etc/pki/tls/rootcerts
TLS_REQCERT	demand
NETWORK_TIMEOUT 2
TIMEOUT 2
TIMELIMIT 2

On my own host, with 2.4.17 and no configuration, the client just hangs
indefinitly.

I'm joining the network capture.

Not sure what's the point of your email. Whatever 2.4.15 did is uninteresting since it no longer occurs in 2.4.17. Your packet trace shows a few TCP retries, so the remote server's network stack is not responding, and you already said "this server is frozen." Naturally the client hangs waiting for a reply, if you didn't specify any timeouts of your own.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/