[5201] in SIPB bug reports

home help back first fref pref prev next nref lref last post

Re: Problem with pmail

daemon@ATHENA.MIT.EDU (Salvatore Valente)
Mon Mar 13 22:00:17 1995

Date: Mon, 13 Mar 95 21:57:57 -0500
To: srz@MIT.EDU
Cc: bug-sipb@MIT.EDU
In-Reply-To: [5199]
From: Salvatore Valente <svalente@MIT.EDU>


	pmail is core dumping on me whenever I delete a large mail message
	(19k) from my msgbox (94k).  It core dumps on exit:

Fixed.

-Sal.

P.S.  Details, for the record: The bug was unrelated to deleting
messages.  When pmail runs "more" (for reading a long message), and
you quit "more" in the middle rather than letting it go through to the
end of the file, pmail receives a SIGPIPE.  And, if pmail caught a
SIGPIPE at any point when it was running, it would get a SIGILL
(illegal instruction) on exit.  I'm not entirely sure why this was
happening, but I think it's a bug in Ultrix's CC's optimizer.  (The
bug disappeared when compiled with gcc or with cc without the -O
option.)  (SIGILL kind of sounds like bad code was generated, doesn't
it?)  My fix was to edit the Imakefile to use gcc on Decs.  I've
rebuilt it with gcc, and installed it, and it will appear when the
volume is released.

home help back first fref pref prev next nref lref last post