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

(ITS#4675) slapd bus error when searching in a subtree



Full_Name: Geert Hendrickx
Version: 2.3.27
OS: NetBSD/amd64
URL: ftp://ftp.openldap.org/incoming/slapd-bus-error.out
Submission from: (NULL) (84.193.54.131)


I'm running OpenLDAP 2.3.27 (latest stable release) on NetBSD 3.1 (latest stable
release) on x86_64 (amd64), using a default slapd.conf file.  Backend is BDB
4.4.20 (latest stable release).

When running "ldapsearch -b dc=mydomain,dc=be mail=myuser@mydomain.tld maildrop"
(where dc=mydomain,dc=tld is the rootdn), everything is fine.  However when I do
the same search in a subtree (where the looked up object is actually located),
e.g. "ldapsearch -b ou=hosting,dc=mydomain,dc=tld mail=myuser@mydomain.tld
maildrop", slapd returns an answer and then crashes (bus error) every time. 
This does not happen when I search in the rootdn, or in a non-existing subtree. 
It does happen when I search for a non-existing object in an existing subtree.

This is the first OpenLDAP setup I'm running on a 64-bit system.  I manage
severel OpenLDAP setups on 32-bit NetBSD systems and I've never seen it there.
I'm not sure 64-bit is the cause though, as the setups are not identical
(different schema's etc).

In the provided "slapd -d -1" output, I first ran a (successful) search in the
rootdn, then a (successful) search in a subtree, after which slapd crashed.