Ken:

Ken:

I moved the older library and other libdb relations:

        $ mkdir /usr/lib/OLDlibdb
        $ mv libdb1.so libdb1.so.2 libdb2.so libdb2.so.3 \
             libdb.so.2 libdb.so.3 /usr/lib/OLDlibdb

Then recompiled and relinked SASL 2.1.1 (make distclean; make; make
install).

Attempted to convert the /etc/sasldb to /etc/sasldb.new and again, the
"dbconverter-2" routine Segmentation Faults - Death by 11. Below is the
session
and gdb traceback:

Whatelse can I look at?

RB


============================================================================
========

# /usr/dist/cyrus-sasl-2.1.1/utils/dbconverter-2 /etc/sasldb
/etc/sasldb2.new

This program will take the sasldb file specified on the
command line and convert it to a new sasldb file in the default
location (usually /etc/sasldb). It is STRONGLY RECOMMENDED that you
backup sasldb before allowing this program to run

We are going to convert /etc/sasldb and our output will be in
/etc/sasldb2.new

Press return to continue

Segmentation fault (core dumped)
[root@posiden cyrus-sasl-2.1.1]# !gdb
gdb -core=core -e  /usr/dist/cyrus-sasl-2.1.1/utils/.libs/lt-dbconverter-2
GNU gdb Red Hat Linux (5.1-1)
Copyright 2001 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 "i386-redhat-linux".

warning: core file may not match specified executable file.
Core was generated by `lt-dbconverter-2 /etc/sasldb /etc/sasldb2.new'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/local/lib/libsasl2.so.2...done.
Loaded symbols for /usr/local/lib/libsasl2.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libdb-4.0.so...done.
Loaded symbols for /lib/libdb-4.0.so
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /usr/local/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/local/lib/libgcc_s.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/sasl2/libsasldb.so.2...done.
Loaded symbols for /usr/lib/sasl2/libsasldb.so.2
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.2...done.
Loaded symbols for /lib/libcrypto.so.2
Reading symbols from /usr/lib/sasl2/libotp.so.2...done.
Loaded symbols for /usr/lib/sasl2/libotp.so.2
Reading symbols from /usr/lib/sasl2/libplain.so.2...done.
Loaded symbols for /usr/lib/sasl2/libplain.so.2
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
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/libkerberos4.so.2...done.
Loaded symbols for /usr/lib/sasl2/libkerberos4.so.2
Reading symbols from /usr/kerberos/lib/libkrb4.so.2...done.
Loaded symbols for /usr/kerberos/lib/libkrb4.so.2
Reading symbols from /usr/local/kerberos/lib/libkrb5.so.3...done.
Loaded symbols for /usr/local/kerberos/lib/libkrb5.so.3
Reading symbols from /usr/local/kerberos/lib/libcom_err.so.3...done.
Loaded symbols for /usr/local/kerberos/lib/libcom_err.so.3
Reading symbols from /usr/local/kerberos/lib/libdes425.so.3...done.
Loaded symbols for /usr/local/kerberos/lib/libdes425.so.3
Reading symbols from /usr/local/kerberos/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/local/kerberos/lib/libk5crypto.so.3
Reading symbols from /usr/lib/sasl2/libgssapiv2.so.2...done.
Loaded symbols for /usr/lib/sasl2/libgssapiv2.so.2
Reading symbols from /usr/local/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/local/lib/libgssapi_krb5.so.2
#0  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x08048bf0 in ?? ()
#2  0x08048c84 in ?? ()
#3  0x08048fd0 in ?? ()
#4  0x40102627 in __libc_start_main (main=0x8048ee0, argc=3,
ubp_av=0xbfffedf4, init=0x80487d4, fini=0x8049e30,
    rtld_fini=0x4000dcc4 <_dl_fini>, stack_end=0xbfffedec) at
../sysdeps/generic/libc-start.c:129
(gdb)

-----Original Message-----
From: Ken Murchison [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 9:45 AM
To: OCNS Consulting
Cc: [EMAIL PROTECTED]
Subject: Re: Signaled to Death by 11 - Again - bdb issue?




OCNS Consulting wrote:
>
> Thanks for pointing out the leftover library. Now, besides removing/moving
> the remnant library and all of its relations, do I then need to recompile
> the SASL library?

Just removing the library won't help.  You'll have to at least relink
the binaries.

Ken

Reply via email to