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

(ITS#4465) connection cleanup issue

Full_Name: Pierangelo Masarati
Version: HEAD
OS: Linux CentOS4.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: ando

I'm playing wild with an LDAP proxy, and occasionally I see core dumps when
abnormal situations occur.  For example, when I kill the proxy by hitting CTRL^C
under heavy load, and I restart it, occasionally I see failures like

slapd: connection.c:679: connection_init: Assertion `c->c_sasl_bindop == ((void
*)0)' failed.

which basically means that c_sasl_bindop was not cleaned up correctly during a
bind.  Apparently, I've been able to fix this by adding a cleanup function to
the bind callback.