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

(ITS#5583) slapadd core dumps



Full_Name: Dieter Kluenter
Version: 2.4.10
OS: openSUSE
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (84.142.217.87)


Hello,
processor: amd64
my configure flags:

export CFLAGS="-g -march=athlon64"
PREFIX="/opt/openldap"
DATABASE="bdb"
make distclean ;
./configure \
--prefix=${PREFIX} \
--enable-dynamic \
--enable-aci \
--enable-modules \
--enable-rewrite \
--enable-bdb=yes \
--enable-hdb=yes \
--enable-ldap=mod \
--enable-monitor=yes \
--enable-meta=mod \
--enable-perl=mod \
--enable-relay=mod \
--enable-monitor=yes \
--enable-sql=mod \
--enable-overlays=mod
make depend && make && cd tests ; 

running slapadd with following options

 ./slapd -T add -d-1 -qwv -f /opt/openldap/etc/openldap/slapd.conf -F
/opt/openldap/etc/openldap/slapd.d -l /tmp/hdk-init.ldif 

slapadd startup: initiated.
backend_startup_one: starting "o=avci,c=de"
hdb_db_open: "o=avci,c=de"
hdb_db_open: database "o=avci,c=de": dbenv_open(/tmp/ldap).
slapd: ad.c:164: slap_bv2ad: Assertion `*ad == ((void *)0)' failed.
Abgebrochen (core dumped)

output of gdb

(gdb) file /work/openldap/2.4.10/servers/slapd/.libs/slapd
Reading symbols from /work/openldap/2.4.10/servers/slapd/.libs/slapd..done
(gdb) core-file core
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /opt/openldap/lib/libldap_r-2.4.so.2...done.
Loaded symbols for /opt/openldap/lib/libldap_r-2.4.so.2
Reading symbols from /opt/openldap/lib/liblber-2.4.so.2...done.
Loaded symbols for /opt/openldap/lib/liblber-2.4.so.2
Reading symbols from /usr/lib64/libltdl.so.3...done.
Loaded symbols for /usr/lib64/libltdl.so.3
Reading symbols from /usr/lib64/libdb-4.5.so...done.
Loaded symbols for /usr/lib64/libdb-4.5.so
Reading symbols from /usr/lib64/libodbc.so.1...done.
Loaded symbols for /usr/lib64/libodbc.so.1
Reading symbols from /lib64/libpthread.so.0...done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /usr/lib64/libsasl2.so.2...done.
Loaded symbols for /usr/lib64/libsasl2.so.2
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/libssl.so.0.9.8...done.
Loaded symbols for /usr/lib64/libssl.so.0.9.8
Reading symbols from /usr/lib64/libcrypto.so.0.9.8...done.
Loaded symbols for /usr/lib64/libcrypto.so.0.9.8
Reading symbols from /lib64/libresolv.so.2...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libz.so.1...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /usr/lib64/sasl2/liblogin.so...done.
Loaded symbols for /usr/lib64/sasl2/liblogin.so
Reading symbols from /lib64/libcrypt.so.1...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /usr/lib64/sasl2/libanonymous.so...done.
Loaded symbols for /usr/lib64/sasl2/libanonymous.so
Reading symbols from /usr/lib64/sasl2/libdigestmd5.so...done.
Loaded symbols for /usr/lib64/sasl2/libdigestmd5.so
Reading symbols from /usr/lib64/sasl2/libcrammd5.so...done.
Loaded symbols for /usr/lib64/sasl2/libcrammd5.so
Reading symbols from /usr/lib64/sasl2/libsasldb.so...done.
Loaded symbols for /usr/lib64/sasl2/libsasldb.so
Reading symbols from /usr/lib64/sasl2/libplain.so...done.
Loaded symbols for /usr/lib64/sasl2/libplain.so
Reading symbols from /opt/openldap/libexec/openldap/dynlist-2.4.so.2...done.
Loaded symbols for /opt/openldap/libexec/openldap/dynlist-2.4.so.2
Reading symbols from /opt/openldap/libexec/openldap/accesslog-2.4.so.2...done.
Loaded symbols for /opt/openldap/libexec/openldap/accesslog-2.4.so.2
Reading symbols from /opt/openldap/libexec/openldap/ppolicy-2.4.so.2...done.
Loaded symbols for /opt/openldap/libexec/openldap/ppolicy-2.4.so.2
Reading symbols from /opt/openldap/libexec/openldap/syncprov-2.4.so.2...done.
Loaded symbols for /opt/openldap/libexec/openldap/syncprov-2.4.so.2
Core was generated by `./slapd -Tadd -d-1 -qwv -f
/opt/openldap/etc/openldap/slapd.conf -F /opt/openld'
Program terminated with signal 6, Aborted.
[New process 16951]
#0  0x00007f39e0ea95c5 in raise () from /lib64/libc.so.6
(gdb) quit

-Dieter