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

Re: Seg Fault during make tests on AIX (ITS#1134)



Please use a debugger to obtain a stack backtrace (bt in
gdb) from the core file.  Thanks, Kurt

At 01:52 AM 5/3/01, JeromePerreard@lyon.msi-sa.fr wrote:
>Full_Name: Jerome PERREARD
>Version: openldap-2.0.7
>OS: AIX4.3.3
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (193.249.22.9)
>
>
>Hello,
>
>I am trying to install an LDAP server (openldap-2.0.7) 
>with SSL (openssl-0.9.6) on a powerpc-ibm-aix4.3.3.0.
>I use gdbm-1.8.0
>
>My environnement is set with
>export LDFLAGS="-L/temp/public/jerome/ssl/lib -L/temp/public/jerome/gdbm/lib"
>export CC=cc_r
>export CPPFLAGS="-I/temp/public/jerome/ssl/include
>-I/temp/public/jerome/gdbm/include"
>export CFLAGS="-g -O"
>
>I have installed openSSL (/temp/public/jerome/ssl) 
>and GDBM (/temp/public/jerome/gdbm)
>
>I tried this to setup LDAP 
>1>configure --with-tls --with-threads --enable-ldbm 
>--prefix=/temp/public/jerome/ldap
>make depend
>make
>
>2>configure --with-tls --enable-ldbm  --prefix=/temp/public/jerome/ldap
>make depend
>make
>
>3>configure --with-threads --enable-ldbm  --prefix=/temp/public/jerome/ldap
>make depend
>make
>
>4>configure --prefix=/temp/public/jerome/ldap
>make depend
>make
>
>but in each case I got "Segmentation fault" when I'm executing "make tests"
>
>ln: 0653-417 ./data is a directory. (cannot unlink)
>make: 1254-004 The error code from the last command is 1.
>make: 1254-005 Ignored error code 1 from last command.
>ln: 0653-421 ./schema exists.
>    Specify -f to remove ./schema before linking.
>make: 1254-004 The error code from the last command is 1.
>make: 1254-005 Ignored error code 1 from last command.
>Initiating LDAP tests for LDBM...
>>>>>> Executing all LDAP tests...
>>>>>> Test Directory: .
>>>>>> Backend: ldbm
>>>>>> Starting test000-rootdse ...
>running defines.sh . ldbm
>Datadir is ./data
>Cleaning up in ./test-db...
>Starting slapd on TCP/IP port 9009...
>Using ldapsearch to retrieve all the entries...
>./scripts/test000-rootdse[29]: 57156 Segmentation fault(coredump)
>./scripts/test000-rootdse[29]: 57158 Segmentation fault(coredump)
>./scripts/test000-rootdse[29]: 57160 Segmentation fault(coredump)
>./scripts/test000-rootdse[29]: 57162 Segmentation fault(coredump)
>./scripts/test000-rootdse[29]: 57164 Segmentation fault(coredump)
>./scripts/test000-rootdse[29]: 57166 Segmentation fault(coredump)
>kill: 50468: 0403-003 The specified process does not exist.
>>>>>> Test failed
>>>>>> ./scripts/test000-rootdse failed (exit 139)
>make: 1254-004 The error code from the last command is 139.
>
>I don't understand why the test failed.
>Did I do something wrong ?
>
>When I use an LDAP server built with SSL, can i use it without SSL or 
>do I need build another server without SSL?
>
>Thank you for your help.
>Jerome