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

Re: (ITS#4390) slapd-ldap crashes with failed assertion

On Mon, 2006-02-06 at 00:18 +0000, aleksander.adamowski@gmail.com wrote:
> Full_Name: Aleksander Adamowski
> Version: 2.3.19
> OS: Fedora Core 4 on x86_64
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> In our company, we use OpenLDAP for our main mail server in a setup described in
> ITS #4387 (http://www.openldap.org/its/index.cgi?findid=4387).
> It might be relevant that it runs on x86-64 architecture.
> With this setup, the slapd-ldap backend crashes very frequently with the
> following assertion:
> slapd: ../../../../servers/slapd/back-ldap/unbind.c:60: ldap_back_conn_destroy:
> Assertion `lc->lc_refcnt == 0' failed.
> Unfortunately, I'm unable to determine the exact cause of this, the logs don't
> show any suspicious queries before the crash occurs.
> The problem doesn't hit us hard because we've been running the slapd-ldap
> instance in an infinite loop for some time, to let it come up immediately after
> crashes (which are unfortunately very frequent).

If this is related to ITS#4387, I need to know more about the type and
sequence of operations that occur.  In fact, I haven't been able to
reproduce this issue so far, even by running multiple consecutive binds
on the same connection (see last commits to tests/progs/slapd-bind.c).


Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it