[5387] in testers
9.2.4 solaris: from coredump
daemon@ATHENA.MIT.EDU (John Hawkinson)
Fri May 16 05:02:16 2003
Date: Fri, 16 May 2003 05:01:11 -0400 (EDT)
Message-Id: <200305160901.FAA00703@multics.mit.edu>
To: testers@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>
My console reports:
02:32 Use of uninitialized value in string ne at /usr/athena/bin/from line 183.
02:32 Bus Error
from running from -t -n:
[bart-savagewood!jhawk] /var/tmp> from -t -n
Use of uninitialized value in string ne at /usr/athena/bin/from line 183.
Segmentation fault (core dumped)
but it's more than just obscure options:
[bart-savagewood!jhawk] /var/tmp> perl -W /usr/athena/bin/from
Use of uninitialized value in string ne at /usr/athena/bin/from line 183.
Use of uninitialized value in concatenation (.) or string at /usr/athena/bin/from line 183.
from: IMAP error for INBOX on PO12.MIT.EDU:
Segmentation fault (core dumped)
[bart-savagewood!jhawk] /var/tmp> head -1 `which from`
#!/usr/athena/bin/perl -w
[bart-savagewood!jhawk] /var/tmp> gdb /usr/athena/bin/perl core
GNU gdb 4.18
Copyright 1998 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 "sparc-sun-solaris2.8"...
warning: core file may not match specified executable file.
Core was generated by `/usr/athena/bin/perl -w /usr/athena/bin/from -t -n'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1...done.
Reading symbols from /usr/athena/lib/perl5/5.8.0/sun4-solaris/auto/IO/IO.so...
done.
Reading symbols from /usr/athena/lib/perl5/5.8.0/sun4-solaris/auto/Fcntl/Fcntl.so...done.
Reading symbols from /usr/athena/lib/perl5/5.8.0/sun4-solaris/auto/Cwd/Cwd.so...done.
Reading symbols from /usr/athena/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so...done.
Reading symbols from /usr/athena/lib/libsasl2.so.2...done.
Reading symbols from /usr/athena/lib/libssl.so.0.9.7...done.
Reading symbols from /usr/athena/lib/libcrypto.so.0.9.7...done.
Reading symbols from /usr/lib/libresolv.so.2...done.
Reading symbols from /usr/lib/nss_files.so.1...done.
Reading symbols from /usr/lib/nss_dns.so.1...done.
Reading symbols from /usr/athena/lib/sasl2/libanonymous.so.2...done.
Reading symbols from /usr/athena/lib/sasl2/libcrammd5.so.2...done.
Reading symbols from /usr/athena/lib/sasl2/libdigestmd5.so.2...done.
Reading symbols from /usr/athena/lib/sasl2/libgssapiv2.so.2...done.
Reading symbols from /usr/athena/lib/libgssapi_krb5.so.2...done.
Reading symbols from /usr/athena/lib/libkrb5.so.3...done.
Reading symbols from /usr/athena/lib/libk5crypto.so.3...done.
Reading symbols from /usr/athena/lib/libcom_err.so.1...done.
Reading symbols from /usr/lib/libgen.so.1...done.
Reading symbols from /usr/athena/lib/sasl2/libkerberos4.so.2...done.
Reading symbols from /usr/athena/lib/libkrb4.so.2...done.
Reading symbols from /usr/athena/lib/libdes425.so.3...done.
Reading symbols from /usr/athena/lib/sasl2/libotp.so.2...done.
Reading symbols from /usr/athena/lib/libdb-3.1.so...done.
Reading symbols from /usr/athena/lib/sasl2/libplain.so.2...done.
Reading symbols from /usr/athena/lib/sasl2/libsasldb.so.2...done.
#0 0x7e9e0 in do_clean_objs ()
(gdb) where
#0 0x7e9e0 in do_clean_objs ()
#1 0x7e984 in S_visit ()
#2 0x7eb80 in Perl_sv_clean_objs ()
#3 0x254bc in perl_destruct ()
#4 0x24408 in main ()
(gdb)
[bart-savagewood!jhawk] /var/tmp> perl -d /usr/athena/bin/from
Loading DB routines from perl5db.pl version 1.19
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(/usr/athena/bin/from:46): my $search_key = "unseen";
DB<1> r
Use of uninitialized value in string ne at /usr/athena/bin/from line 183.
main::send_command('UID SEARCH unseen') called at /usr/athena/bin/from line 111
Debugged program terminated. Use q to quit or R to restart,
use O inhibit_exit to avoid stopping after program termination,
h q, h R or h O to get additional info.
DB<1> T
$ = DB::fake::at_exit() called from file `/usr/athena/lib/perl5/5.8.0/perl5db.pl' line 3465
$ = DB::END() called from file `/usr/athena/bin/from' line 183
$ = eval {...} called from file `/usr/athena/bin/from' line 183
DB<1>
--jhawk