[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: make test fails with Segmentation fault on Linux
stack back trace?
At 11:22 PM 9/2/00 +0200, Laurent Bonnaud wrote:
>Hi,
>
>make test fails on my Debian GNU/Linux 2.2 system (see the crash
>below). Here is how I configured and built openldap (without any
>problem):
>
>./configure --enable-spasswd --enable-wrappers
>make depend
>make
>make install
>
>And here are all necessary packages:
>
>ii libwrap0 7.6-4 Wietse Venema's TCP wrappers library
>ii libwrap0-dev 7.6-4 Wietse Venema's TCP wrappers library, development files
>ii libssl09 0.9.4-5 SSL shared libraries
>ii libssl09-dev 0.9.4-5 SSL development libraries
>ii libsasl-bin 1.5.21-1 Development files for authentication abstraction library
>ii libsasl-dev 1.5.21-1 Development files for authentication abstraction library
>ii libsasl-modules 1.5.21-1 Pluggable Authentication Modules for SASL
>ii libsasl7 1.5.21-1 Authentication abstraction library.
>
>slapd is linked with the libdb shared libraries from libc6/glibc2
>whereas the system has a large choice of libraries:
>
>ii libdb2 2.4.14-2.7.7.1.c The Berkeley database routines (run-time files).
>ii libdb2-dev 2.4.14-2.7.7.1.c The Berkeley database routines (development files).
>ii libdb2-util 2.4.14-2.7.7.1.c The Berkeley database routines (development files).
>ii libgdbmg1 1.7.3-26.2 GNU dbm database routines (runtime version). [libc6 version]
>ii libgdbmg1-dev 1.7.3-26.2 GNU dbm database routines (development files) [libc6 version
>
>Does somebody else see this problem ?
>
>What may be the cause ?
>
>--
>Laurent.
>
>$ make test
>cd tests; make test
>make[1]: Entering directory `/home/laurent/openldap-2.0.0/tests'
>ln: ./data: cannot overwrite directory
>make[1]: [test-ldbm] Error 1 (ignored)
>Initiating LDAP tests for LDBM...
>>>>>> Executing all LDAP tests...
>>>>>> Test Directory: .
>>>>>> Backend: ldbm
>>>>>> Starting test001-slapadd ...
>running defines.sh . ldbm
>Datadir is ./data
>Cleaning up in ./test-db...
>Running slapadd to build slapd database...
>Starting slapd on TCP/IP port 9009...
>Using ldapsearch to retrieve all the entries...
>./scripts/test001-slapadd: line 43: 21718 Segmentation fault $LDAPSEARCH -S "" -b "$BASEDN" -h localhost:$PORT >$SEARCHOUT 2>&1
>./scripts/test001-slapadd: line 43: 21719 Segmentation fault $LDAPSEARCH -S "" -b "$BASEDN" -h localhost:$PORT >$SEARCHOUT 2>&1
>./scripts/test001-slapadd: line 43: 21720 Segmentation fault $LDAPSEARCH -S "" -b "$BASEDN" -h localhost:$PORT >$SEARCHOUT 2>&1
>./scripts/test001-slapadd: line 43: 21721 Segmentation fault $LDAPSEARCH -S "" -b "$BASEDN" -h localhost:$PORT >$SEARCHOUT 2>&1
>./scripts/test001-slapadd: line 43: 21722 Segmentation fault $LDAPSEARCH -S "" -b "$BASEDN" -h localhost:$PORT >$SEARCHOUT 2>&1
>./scripts/test001-slapadd: line 43: 21723 Segmentation fault $LDAPSEARCH -S "" -b "$BASEDN" -h localhost:$PORT >$SEARCHOUT 2>&1
>./scripts/test001-slapadd: kill: (21717) - No such pid
>ldapsearch failed (139)!
>>>>>> ./scripts/test001-slapadd failed (exit 139)
>make[1]: *** [test-ldbm] Error 139
>make[1]: Leaving directory `/home/laurent/openldap-2.0.0/tests'
>make: *** [test] Error 2
>
>$ ldd /usr/local/libexec/slapd
> libdb.so.3 => /lib/libdb.so.3 (0x40017000)
> libsasl.so.7 => /usr/lib/libsasl.so.7 (0x40052000)
> libssl.so.0 => /usr/lib/libssl.so.0 (0x4005d000)
> libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0x4008a000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x40135000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x40162000)
> libwrap.so.0 => /lib/libwrap.so.0 (0x40178000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x4017f000)
> libc.so.6 => /lib/libc.so.6 (0x40192000)
> libdl.so.2 => /lib/libdl.so.2 (0x4026f000)
> libpam.so.0 => /lib/libpam.so.0 (0x40274000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)