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

Re: make test fails with Segmentation fault on Linux (ITS#707)



>>>>> "Kurt" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:
Kurt> 
Kurt> Looks like your stack is trashed as this back trace makes little
Kurt> sense. 

Here is a better backtrace:

Core was generated by `../clients/tools/ldapsearch -P 3 -x -LLL -S  -b o=University of Michigan, c=US'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libsasl.so.7...done.
Reading symbols from /usr/lib/libssl.so.0...done.
Reading symbols from /usr/lib/libcrypto.so.0...done.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/libdb.so.3...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libpam.so.0...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
#0  0x401e6183 in inet_ntop () from /lib/libc.so.6
(gdb) bt
#0  0x401e6183 in inet_ntop () from /lib/libc.so.6
#1  0x401e6145 in inet_ntop () from /lib/libc.so.6
#2  0x8058442 in ldap_connect_to_host (ld=0x8095160, sb=0x8095448, proto=0, host=0x8095490 "localhost", 
    address=0, port=12579, async=0) at os-ip.c:337
#3  0x804ee9c in ldap_int_open_connection (ld=0x8095160, conn=0x80958d8, srv=0x80954a8, async=0)
    at open.c:271
#4  0x8056b73 in ldap_new_connection (ld=0x8095160, srvlist=0x80954a8, use_ldsb=1, connect=1, bind=0x0)
    at request.c:259
#5  0x804eb0c in ldap_open_defconn (ld=0x8095160) at open.c:29
#6  0x8056872 in ldap_send_initial_request (ld=0x8095160, msgtype=96, dn=0x8085e9e "", ber=0x80950c8)
    at request.c:91
#7  0x8054b25 in ldap_sasl_bind (ld=0x8095160, dn=0x8085e9e "", mechanism=0x0, cred=0xbfffdb14, 
    sctrls=0x0, cctrls=0x0, msgidp=0xbfffdad8) at sasl.c:146
#8  0x8054bb2 in ldap_sasl_bind_s (ld=0x8095160, dn=0x0, mechanism=0x0, cred=0xbfffdb14, sctrls=0x0, 
    cctrls=0x0, servercredp=0x0) at sasl.c:180
#9  0x805516a in ldap_simple_bind_s (ld=0x8095160, dn=0x0, passwd=0x0) at sbind.c:110
#10 0x804eadf in ldap_bind_s (ld=0x8095160, dn=0x0, passwd=0x0, authmethod=128) at bind.c:112
#11 0x804c18f in main (argc=0, argv=0xbffffc44) at ldapsearch.c:778

-- 
Laurent.