http://bugzilla.spamassassin.org/show_bug.cgi?id=3625





------- Additional Comments From [EMAIL PROTECTED]  2004-08-31 14:56 -------
> I'm not sure of a clean way to solve this issue though.  at minimum, the
> parent sigpipe handler could see it's logging via syslog() and close/open
> appropriately.

It is doing that, apparently under Perl > 5.6.1.  

It works by adding a handler to SIGPIPE that increments a value 
($main::SIGPIPE_RECEIVED++).  Then it runs and eval on syslog and expects that 
failure to trigger the check against $main::SIGPIPE_RECEIVED++.  

However, that apparently doesn't fail under 5.6.1.  We added some debuggging 
code under that conditional check (if ($@) {) and it never got there and child 
apparently goes nuts trying to print to a now invalid file handle.

So the fix I'm proposing is to simply move that syslog processing into the 
signal handler.  It works in my testing.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to