[17821] in Athena Bugs
sun4 8.3.27: spost
daemon@ATHENA.MIT.EDU (John Hawkinson)
Mon May 8 03:02:50 2000
Message-Id: <200005080702.DAA00973@mary-kay-commandos.mit.edu>
To: bugs@MIT.EDU
Date: Mon, 08 May 2000 03:02:45 -0400
From: John Hawkinson <jhawk@MIT.EDU>
System name: mary-kay-commandos.mit.edu
Type and version: SPARC/5 8.3.27 (with mkserv)
Display type: cgsix
Shell: /bin/sh (/afs/sipb/project/tcsh/betatcsh?)
Window manager: twm
What were you trying to do?
send email
What's wrong:
spost core dumped
What should have happened:
it should have just given an error
Nitty Gritty:
Who came up with those questions anyhow? They're so wrong for
trying to submit problem reports...
I failed to properly delimit multiple email addresses in a Cc
line and I got an error and spost core dumped on me.
[mary-kay-commandos!jhawk] ~/Mail/drafts> gdb /usr/athena/*/spost /tmp/spost.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.6"...
Core was generated by `spost -library /mit/jhawk/Mail -noverbose /mit/jhawk/Mail/drafts/3'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/lib/libresolv.so.2...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/lib/nss_files.so.1...done.
#0 0x14b20 in putfmt (name=0xefffefc0 "Cc", str=0xeffff041 "soda@sra.co.jp, releng@netbsd.org\n fvdl@netbsd.org\n", out=0x3bd10)
at spost.c:520
520 spost.c: No such file or directory.
(gdb) where
#0 0x14b20 in putfmt (name=0xefffefc0 "Cc", str=0xeffff041 "soda@sra.co.jp, releng@netbsd.org\n fvdl@netbsd.org\n", out=0x3bd10)
at spost.c:520
#1 0x1426c in main (argc=5, argv=0xeffff514) at spost.c:361
(gdb)
uspended
[mary-kay-commandos!jhawk] ~/Mail/drafts> cd ~source
[mary-kay-commandos!jhawk] ~source> machtype -L
8.3.27
[mary-kay-commandos!jhawk] ~source> look spost.c FILES.look
spost.c ./third/nmh/uip/spost.c
[mary-kay-commandos!jhawk] ~source> cd ~source-8.3
[mary-kay-commandos!jhawk] ~source> cd ~source-8.3/third/nmh/uip
[mary-kay-commandos!jhawk] ~source-8.3/third/nmh/uip> attach source-8.3
attach: /afs/dev.mit.edu/source/src-8.3 attached to /mit/source-8.3 for filesystem source-8.3
[mary-kay-commandos!jhawk] ~source-8.3/third/nmh/uip> fg
gdb /usr/athena/*/spost /tmp/spost.core (wd: ~/Mail/drafts)
(gdb) dir /mit/source-8.3/third/nmh/uip
Source directories searched: /mit/source-8.3/third/nmh/uip:$cdir:$cwd
(gdb) where
#0 0x14b20 in putfmt (name=0xefffefc0 "Cc", str=0xeffff041 "soda@sra.co.jp, releng@netbsd.org\n fvdl@netbsd.org\n", out=0x3bd10)
at spost.c:520
#1 0x1426c in main (argc=5, argv=0xeffff514) at spost.c:361
(gdb) list
515 mp = getm( cp, NULL, 0, AD_HOST, NULL);
516 if (f == 0) {
517 f = mp;
518 mp->m_next = mp;
519 } else {
520 mp->m_next = f->m_next;
521 f->m_next = mp;
522 f = mp;
523 }
524 }
(gdb)