Rob, As you are aware, the routine -> "cyrus-sasl-2.1.1/utils/dbconverter-2"
per script lines: program=lt-'dbconverter-2' progdir="$thisdir/.libs calls the binary -> "cyrus-sasl-2.1.1/utils/.libs/lt-dbconverter-2". Upon interogation of the fs: find / -name lt-dbconverter-2 The only result is -> "/usr/dist/cyrus-sasl-2.1.1/utils/.libs/lt-dbconverter-2" So, "gdb -core=core -e /usr/dist/cyrus-sasl-2.1.1/utils/.libs/lt-dbconverter-2", is correct. Therefore the warning issued by gdb: warning: core file may not match specified executable file. The above message states "may not"; AFAICT: the core file does match the executable. Anyway, to be as accurate as possible, I did the following: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++ #cd /usr/dist/cyrus-sasl-2.1.1/utils/.libs #ls -al total 396 drwxr-xr-x 2 root root 4096 Mar 21 10:20 . drwxr-xr-x 3 46453 wheel 4096 Mar 21 11:19 .. -rwxr-xr-x 1 root root 90283 Mar 21 09:59 dbconverter-2 -rwxr-xr-x 1 root root 90315 Mar 21 10:20 lt-dbconverter-2 -rwxr-xr-x 1 root root 86139 Mar 21 09:59 sasldblistusers2 -rwxr-xr-x 1 root root 99617 Mar 21 09:59 saslpasswd2 #./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) #ls -al total 700 drwxr-xr-x 2 root root 4096 Mar 21 11:38 . drwxr-xr-x 3 46453 wheel 4096 Mar 21 11:19 .. -rw------- 1 root root 507904 Mar 21 11:38 core -rwxr-xr-x 1 root root 90283 Mar 21 09:59 dbconverter-2 -rwxr-xr-x 1 root root 90315 Mar 21 10:20 lt-dbconverter-2 -rwxr-xr-x 1 root root 86139 Mar 21 09:59 sasldblistusers2 -rwxr-xr-x 1 root root 99617 Mar 21 09:59 saslpasswd2 # gdb -core=core -e ./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 `./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 0x08048bd0 in ?? () #2 0x08048c64 in ?? () #3 0x08048fb0 in ?? () #4 0x40102627 in __libc_start_main (main=0x8048ec0, argc=3, ubp_av=0xbfffdff4, init=0x80487ac, fini=0x8049e10, rtld_fini=0x4000dcc4 <_dl_fini>, stack_end=0xbfffdfec) at ../sysdeps/generic/libc-start.c:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++ If you know of a more exact method to obtain the traceback information, please forward. Thanks for your assistance. RB -----Original Message----- From: Rob Siemborski [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 10:44 AM To: OCNS Consulting Cc: Ken Murchison Subject: RE: Signaled to Death by 11 - Again - bdb issue? On Thu, 21 Mar 2002, OCNS Consulting wrote: > [root@posiden cyrus-sasl-2.1.1]# !gdb [snip] > warning: core file may not match specified executable file. [snip] Could you send us a backtrace that is either of the running program or of the actual core file? Thanks, -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 235 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper