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

Re: 2.0-alpha and Solaris 7



On Sun, 15 Aug 1999, Kurt D. Zeilenga wrote:

> I committed some changes which should resolve these issues.
> 	- backed out dir.mk changes which broke 'make veryclean'
> 	- moved res_search detection from out behind --enable-dns
> 	- used link test for inet_aton() detection

Cool - all okay, thanks.

> >After all this, "make test" still results in a core dump anyway so now I need
> >to dig a little further...

The failure appears something like this:

% make test
ln: cannot create ./data: File exists
run configure with --enable-bdb2
ln: cannot create ./data: File exists
Initiating LDAP tests...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: ldbm
>>>>> Starting test001-ldif2ldbm ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Running ldif2ldbm to build slapd database...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve all the entries...
Waiting 5 seconds for slapd to start...
26420 Segmentation Fault - core dumped
Waiting 5 seconds for slapd to start...
^C
% file core
core:           ELF 32-bit MSB core file SPARC Version 1, from 'slapd'
% gdb ../servers/slapd/slapd core
GNU gdb 4.18
Copyright 1998 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 conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.7"...
Core was generated by `../servers/slapd/slapd -f ./data/slapd-master.conf -p 9009 -d 5'.
Program terminated with signal 9, Killed.
Reading symbols from /usr/lib/libresolv.so.2...done.
Reading symbols from /usr/lib/libgen.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libpthread.so.1...done.
Reading symbols from /usr/lib/librt.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/lib/libaio.so.1...done.
Reading symbols from /usr/lib/libthread.so.1...done.
#0  0xef5c6c5c in strlen () from /usr/lib/libc.so.1
(gdb) bt
#0  0xef5c6c5c in strlen () from /usr/lib/libc.so.1
#1  0xef60ec20 in _doprnt () from /usr/lib/libc.so.1
#2  0xef610bbc in vsnprintf () from /usr/lib/libc.so.1
#3  0xef5e2570 in vsyslog () from /usr/lib/libc.so.1
#4  0xef5e2190 in syslog () from /usr/lib/libc.so.1
#5  0x36010 in send_ldap_result (conn=0x1083d8, op=0xf6338, err=0,
    matched=0x0, text=0x0, ref=0x0, ctrls=0x0) at result.c:410
#6  0x3d868 in do_bind (conn=0x1083d8, op=0xf6338) at bind.c:251
#7  0x278fc in connection_operation (arg_v=0xf4f18) at connection.c:708
(gdb)


dave