Subject: bin/4644: /usr/bin/Mail cores at exit when new mail arrived while running
To: None <firstname.lastname@example.org>
From: Ken Wellsch <email@example.com>
Date: 12/05/1997 09:58:55
>Synopsis: /usr/bin/Mail cores at exit when new mail arrived while running
>Responsible: bin-bug-people (Utility Bug People)
>Arrival-Date: Fri Dec 5 07:05:01 1997
>Originator: Ken Wellsch
Link-Systems International Inc.
>Release: NetBSD 1.3_BETA (from Dec 3 tar_files)
i386 (Dell P6/200 box)
System: NetBSD antigone 1.3_BETA NetBSD 1.3_BETA (ANTIGONE) #0: Thu Dec 4 00:53:45 EST 1997 kwellsch@antigone:/usr/src/sys/arch/i386/compile/ANTIGONE i386
For folks that choose to use the trusty old "mail" command, if you are
using it to read your mail, new mail arrives, then on exit from the mail
command it faults, and the worse part is that it leaves the lock file
in place (which users tend not to know about).
With something in your mailbox, go into "mail". Then elsewhere, send
yourself an e-mail message. I presume that if you're making changes
to the mailbox, e.g. as I do below by deleting, then trying to resolve
the differing mailboxes is blowing mail away. On exit what you see below
happens and seems to be easy to reproduce (I've done so twice now).
Mail version 8.1 6/6/93. Type ? for help.
"/var/mail/kwellsch": 1 message 1 new
I suppose should try it with an unstrip'ed binary and do a traceback to
see if there is anything useful to be found at the place it is faulting.
No more messages
New mail has arrived.
Segmentation fault (core dumped)
% uname -a
NetBSD antigone 1.3_BETA NetBSD 1.3_BETA (ANTIGONE) #0: Thu Dec 4 00:53:45 EST 1997 kwellsch@antigone:/usr/src/sys/arch/i386/compile/ANTIGONE i386