http://bugzilla.spamassassin.org/show_bug.cgi?id=3443
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|3.1.0 |3.0.0
------- Additional Comments From [EMAIL PROTECTED] 2004-05-30 16:59 -------
The SIGINT vs SIGTERM thing turned out to be a red herring. The problem was a
race condition. I checked in a fix in revision 20664.
First, I added the line to SATest.pm to delete the log file before starting up
spamd, to avoid getting an old id if the search of the log file started before
the new spamd process started writing to it.
The major fix was in spamd. I moved the code that writes the pid to the pid file
(in the case of the -r option) and to the debug log file to be after the setting
of the signal handlers.
The race condition was that anything that started up spamd and then looked in
one of those files to get the pid could find it and send a signal to the process
before the signal handlers were installed.
While this always caused problems in make test under Cygwin, I believe that it
is OS independent and might have been causing sporadic zombie process or other
errors on other systems.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.