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

RE: SASL/ldapsearch killeth slapd (ITS#2530)



Your sasldb plugin is compiled and linked against BDB 4.0 while everything
else uses BDB 4.1. As we stated before, this is a broken environment, not an
OpenLDAP bug. A program cannot have two different versions of BDB linked in
at the same time and this is nothing we have any control over.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: Sean O'Malley [mailto:omalleys@eclipse.cl.msu.edu]

> thanks for your help btw =) I always wanted to figure out how to use
> the debugger thing. -)
>
> [Switching to Thread 1097415984 (LWP 20956)]
> 0x0811c658 in ?? ()
> (gdb) bt
> #0  0x0811c658 in ?? ()
> #1  0x40250a67 in _sasldb_getdata () from
> /usr/lib/sasl2/libsasldb.so.2
> #2  0x4024f0bc in _init () from /usr/lib/sasl2/libsasldb.so.2
> #3  0x400faf8b in _sasl_auxprop_lookup () from /usr/lib/libsasl2.so.2
> #4  0x400fb43e in _sasl_canon_user () from /usr/lib/libsasl2.so.2
> #5  0x40304aae in MD5_UTF8_8859_1 () from
> /usr/lib/sasl2/libdigestmd5.so.2
> #6  0x40104485 in sasl_server_step () from /usr/lib/libsasl2.so.2
> #7  0x0807f16a in slap_sasl_bind (conn=0x811c028, op=0x811bce0,
> dn=0x416936f0,
>     ndn=0x416936f8, cred=0x402528c4, edn=0x0, ssfp=0x811c4d8) at
> sasl.c:1366
> #8  0x08065b5b in do_bind (conn=0x40640340, op=0x811bce0) at
> bind.c:307
> #9  0x08051a2a in connection_operation (ctx=0x811c4d8,
> arg_v=0x811bce0)
>     at connection.c:917
> #10 0x40021be0 in ldap_int_thread_pool_wrapper (xpool=0x80c7fd0) at
> tpool.c:426
> #11 0x40237332 in start_thread () from /lib/tls/libpthread.so.0
>
>
>
> --------------------------------------
>   Sean O'Malley, Information Technologist
>   Michigan State University
> -------------------------------------
>
> On Sat, 24 May 2003, Howard Chu wrote:
>
> > When it crashes, issue the "bt" command to get the stack trace.
> >
> >   -- Howard Chu
> >   Chief Architect, Symas Corp.       Director, Highland Sun
> >   http://www.symas.com               http://highlandsun.com/hyc
> >   Symas: Premier OpenSource Development and Support
> >
> > > -----Original Message-----
> > > From: Sean O'Malley [mailto:omalleys@eclipse.cl.msu.edu]

> > > > > Attaching to process 20269
> > > > > Reading symbols from /usr/local/openldap/libexec/slapd...done.
> > > > > Reading symbols from
> > > /usr/local/openldap/lib/libldap_r.so.2...done.
> > > > > Loaded symbols for /usr/local/openldap/lib/libldap_r.so.2
> > > > > Reading symbols from
> /usr/local/openldap/lib/liblber.so.2...done.
> > > > > Loaded symbols for /usr/local/openldap/lib/liblber.so.2
> > > > > Reading symbols from
> > > > > /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.so...done.
> > > > > Loaded symbols for /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.so
> > > > > Reading symbols from /usr/lib/libsasl2.so.2...done.
> > > > > Loaded symbols for /usr/lib/libsasl2.so.2
> > > > > Reading symbols from /lib/libcrypt.so.1...done.
> > > > > Loaded symbols for /lib/libcrypt.so.1
> > > > > Reading symbols from
> /usr/local/ssl/lib/libssl.so.0.9.6...done.
> > > > > Loaded symbols for /usr/local/ssl/lib/libssl.so.0.9.6
> > > > > Reading symbols from
> /usr/local/ssl/lib/libcrypto.so.0.9.6...done.
> > > > > Loaded symbols for /usr/local/ssl/lib/libcrypto.so.0.9.6
> > > > > Reading symbols from /lib/libresolv.so.2...done.
> > > > > Loaded symbols for /lib/libresolv.so.2
> > > > > Reading symbols from /lib/libdl.so.2...done.
> > > > > Loaded symbols for /lib/libdl.so.2
> > > > > Reading symbols from /lib/tls/libpthread.so.0...done.
> > > > > [New Thread 1076106400 (LWP 20267)]
> > > > > Error while reading shared library symbols:
> > > > > Can't attach LWP 20267: No such process
> > > > > Reading symbols from /lib/tls/libc.so.6...done.
> > > > > Loaded symbols for /lib/tls/libc.so.6
> > > > > Reading symbols from /lib/ld-linux.so.2...done.
> > > > > Loaded symbols for /lib/ld-linux.so.2
> > > > > Reading symbols from /lib/libnss_files.so.2...done.
> > > > > Loaded symbols for /lib/libnss_files.so.2
> > > > > Reading symbols from /usr/lib/sasl2/libanonymous.so.2...done.
> > > > > Loaded symbols for /usr/lib/sasl2/libanonymous.so.2
> > > > > Reading symbols from /usr/lib/sasl2/libsasldb.so.2...done.
> > > > > Loaded symbols for /usr/lib/sasl2/libsasldb.so.2
> > > > > ---Type <return> to continue, or q <return> to quit---
> > > > > Reading symbols from /lib/libdb-4.0.so...done.
> > > > > Loaded symbols for /lib/libdb-4.0.so
> > > > > Reading symbols from /usr/lib/sasl2/libcrammd5.so.2...done.
> > > > > Loaded symbols for /usr/lib/sasl2/libcrammd5.so.2
> > > > > Reading symbols from /usr/lib/sasl2/libdigestmd5.so.2...done.
> > > > > Loaded symbols for /usr/lib/sasl2/libdigestmd5.so.2
> > > > > Reading symbols from /lib/libcrypto.so.4...done.
> > > > > Loaded symbols for /lib/libcrypto.so.4
> > > > > Reading symbols from
> /usr/kerberos/lib/libgssapi_krb5.so.2...done.
> > > > > Loaded symbols for /usr/kerberos/lib/libgssapi_krb5.so.2
> > > > > Reading symbols from /usr/kerberos/lib/libkrb5.so.3...done.
> > > > > Loaded symbols for /usr/kerberos/lib/libkrb5.so.3
> > > > > Reading symbols from
> /usr/kerberos/lib/libk5crypto.so.3...done.
> > > > > Loaded symbols for /usr/kerberos/lib/libk5crypto.so.3
> > > > > Reading symbols from /usr/kerberos/lib/libcom_err.so.3...done.
> > > > > Loaded symbols for /usr/kerberos/lib/libcom_err.so.3
> > > > > Reading symbols from /usr/lib/libz.so.1...done.
> > > > > Loaded symbols for /usr/lib/libz.so.1
> > > > > Reading symbols from /usr/lib/sasl2/liblogin.so.2...done.
> > > > > Loaded symbols for /usr/lib/sasl2/liblogin.so.2
> > > > > Reading symbols from /usr/lib/sasl2/libplain.so.2...done.
> > > > > Loaded symbols for /usr/lib/sasl2/libplain.so.2
> > > > > 0xffffe002 in ?? ()