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

(ITS#5212) OL 2.4.6 slapd crashes on ?undefined search string

Full_Name: Tonni Earnshaw
Version: 2.4.6
OS: Fedora FC6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

slapd built on FC6 from Buchan Milne's openldap2.4-2.4.6-1mdv2008.1.src.rpm
available on Mandriva Cooker mirrors and specifically composed to recognize Red
Hat-derived systems. Building the source results in a number of rpms, one of
which is  openldap2.4-servers-2.4.6-1.fc6.i386.rpm and contains slapd2.4.
Running 'make test' in the rpm BUILD folder after the build resulted in all
(52?) tests passing.

slapd2.4 normally runs stably and well. Although FC6 has native BDB 4.3.29,
Buchan has created slapds to use a discrete patched 4.2.52. Whilst checking a
question on the ML and searching on the rfc2256 core.schema attribute
facsimileTelephoneNumber slapd crashed repeatedly. Increasing log level output
to 1 and parsing slaps's log showed it doing this on returning a value of
?undefined for the search.

Because Buchan's builds install discrete OL versions, OL 2.3.39 and 2.4.6 both
exist on my system and can be run independently. Sopping slapd2.4 and starting
slapd2.3 proved that this problem doees not exist with 2.3.39. An ldd on the
slapd binary shows it uses its own libraries, not those of slapd2.3:

        linux-gate.so.1 =>  (0x00110000)
        libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x00d43000)
        liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00b99000)
        libltdl.so.3 => /usr/lib/libltdl.so.3 (0x00d3a000)
        libslapd24_db-4.2.so => /usr/lib/libslapd24_db-4.2.so (0x00bf6000)
        libodbc.so.1 => /usr/lib/libodbc.so.1 (0x00cc9000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x041f5000)
        libdl.so.2 => /lib/libdl.so.2 (0x00bc2000)
        libssl.so.6 => /lib/libssl.so.6 (0x0073c000)
        libcrypto.so.6 => /lib/libcrypto.so.6 (0x0353c000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x05599000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x003da000)
        libwrap.so.0 => /usr/lib/libwrap.so.0 (0x001c1000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00bdd000)
        libc.so.6 => /lib/libc.so.6 (0x00a57000)
        /lib/ld-linux.so.2 (0x00a3a000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x0045d000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00943000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x00a2a000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x007b4000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00bc8000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x0036e000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x007aa000)