Unexplained Segmentation Fault
Guild N Crantz
guildencrantz at mindless.com
Mon Jul 14 12:02:38 EDT 2003
DOH! Sorry about that, here's the backtrace:
[root at ophelia root]# gdb imtest core.23103
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 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"...
(no debugging symbols found)...
Core was generated by `imtest -t menagerie.cc'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libsasl2.so.2...done.
Loaded symbols for /usr/local/lib/libsasl2.so.2
Reading symbols from /lib/libssl.so.2...done.
Loaded symbols for /lib/libssl.so.2
Reading symbols from /lib/libcrypto.so.2...done.
Loaded symbols for /lib/libcrypto.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libdb-4.0.so...done.
Loaded symbols for /lib/libdb-4.0.so
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
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 /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
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
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/lib/sasl2/libdigestmd5.so.2...done.
Loaded symbols for /usr/lib/sasl2/libdigestmd5.so.2
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
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0 0x40020ff6 in _plug_find_prompt (promptlist=0x61656c50, lookingfor=16386)
at plugin_common.c:306
306 for (prompt = *promptlist; prompt->id != SASL_CB_LIST_END; ++prompt) {
(gdb) bt
#0 0x40020ff6 in _plug_find_prompt (promptlist=0x61656c50, lookingfor=16386)
at plugin_common.c:306
#1 0x4002103e in _plug_get_simple (utils=0x8057cd8, id=16386,
required=-1073749640, result=0xbfffe200, prompt_need=0x4035e940)
at plugin_common.c:330
#2 0x4035d4ae in plain_client_mech_step () from /usr/lib/sasl2/libplain.so.2
#3 0x40018dcf in sasl_client_step (conn=0x8057110, serverin=0x8057970 "",
serverinlen=0, prompt_need=0xbfffe200, clientout=0xbfffe204,
clientoutlen=0xbfffe208) at client.c:632
#4 0x0804b70c in strcpy ()
#5 0x0804c727 in strcpy ()
#6 0x0804dcfd in strcpy ()
#7 0x402014ce in __libc_start_main () from /lib/libc.so.6
(gdb)
I'll upgrade SASL tonight, but if you have any other suggestions in the mean time I'd love to hear them.
~~Guildencrantz
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers
More information about the Info-cyrus
mailing list