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

Re: (ITS#4671) unable to add objectIdentifier "olmBDBAttributes=olmDatabaseAttributes:1"

Status is set to "Test". I can't since slapd seems to seg fault (see gdb
output below). I've updated my configure statement according to Howard's
hints (see below).

------------------------------- snip -------------------------------

michael@nb2:~/src/openldap-HEAD/ldap> make test
cd tests; make test
make[1]: Entering directory `/home/michael/src/openldap-HEAD/ldap/tests'
make[2]: Entering directory `/home/michael/src/openldap-HEAD/ldap/tests'
Initiating LDAP tests for BDB...
Cleaning up test run directory leftover from previous run.
Running ./scripts/all...
>>>>> Executing all LDAP tests for bdb
>>>>> Starting test000-rootdse ...
running defines.sh
Starting slapd on TCP/IP port 9011...
./scripts/test000-rootdse: line 31: 32405 Segmentation fault      $SLAPD
-f $CONF1 -h $URI1 -d $LVL $TIMING >$LOG1 2>&1
Using ldapsearch to retrieve the root DSE...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...

------------------------------- snip -------------------------------

./configure \
  --enable-modules=yes \
  --enable-backends=mod \
  --enable-overlays=mod \
  --enable-aci=yes \
  --enable-cleartext \
  --enable-crypt=yes \
  --enable-debug=yes \
  --enable-kpasswd=yes \
  --enable-lmpasswd=yes \
  --enable-rewrite=yes \
  --enable-rlookups=yes \
  --enable-slapi=yes \
  --enable-slp=yes \
  --enable-spasswd=yes \
  --enable-wrappers=no \
  --prefix=${PREFIX} \
  --with-cyrus-sasl=yes \
  --with-kerberos=yes \
  --with-readline=yes \
  --with-threads=yes \

------------------------------- snip -------------------------------
michael@nb2:~/src/openldap-HEAD/ldap/tests> gdb --core=core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".

Core was generated by `../servers/slapd/slapd -s0 -f
./testrun/slapd.1.conf -h ldap://localhost:9011/'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /opt/bdb-4.4/lib/libdb-4.4.so...done.
Reading symbols from
Loaded symbols for ../servers/slapd/back-bdb/.libs/back_bdb-2-devel.so.0
Reading symbols from
Loaded symbols for
#0  monitor_subsys_backend_init (be=0x0, ms=0xb78f35a0) at backend.c:69
69              mp->mp_children = NULL;
(gdb) bt
#0  monitor_subsys_backend_init (be=0x0, ms=0xb78f35a0) at backend.c:69
#1  0xb78e5bde in monitor_back_db_open (be=0x81dced8) at init.c:2214
#2  0x0807bb4f in backend_startup_one (be=0x81dced8) at backend.c:212
#3  0x0807bde3 in backend_startup (be=0x81dced8) at backend.c:303
#4  0x0805ea13 in main (argc=8, argv=0xbfc31094) at main.c:917