You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2009/01/25 22:25:29 UTC

[Bug 6050] New: Spamassassin sometimes dies with SIGPIPE

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6050

           Summary: Spamassassin sometimes dies with SIGPIPE
           Product: Spamassassin
           Version: 3.2.5
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: major
          Priority: P5
         Component: spamassassin
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: kevin.sabug@atkinson.dhs.org


Created an attachment (id=4428)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4428)
Spamassassin log with debugging turned on

Spamassassin sometimes dies with SIGPIPE for an unknown reason.  Based on the
log my best guess is that it is during some network test.  When it will dies is
unpredictable, because when I pass the same mail though again it sometimes is
OK and other times its not. 

With the fix for #6033 this will cause mail to get unfiltered, without the fix
it would cause me to lose mail.

OS: FreeBSD 6.2-PRERELEASE

Let me know if you need any additional info or what me to do something to help
get better debug output or the like.


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6050] Spamassassin sometimes dies with SIGPIPE

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6050





--- Comment #7 from Ari Sovijärvi <ap...@flipperit.net>  2009-02-05 04:36:11 PST ---
Created an attachment (id=4430)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4430)
Test log, where SA crashes at Razor


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6050] Spamassassin sometimes dies with SIGPIPE

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6050





--- Comment #4 from kevin Atkinson <ke...@atkinson.dhs.org>  2009-01-26 12:03:46 PST ---
Well the last debug message always is "[61264] dbg: info: entering helper-app
run mode", when it dies.  This is defined is Dns.pm.

My best guess based on the logs is that it is razor2 which I turned off.  It
will be a day or so until I can be sure that fixed it.


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6050] Spamassassin sometimes dies with SIGPIPE

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6050





--- Comment #2 from kevin Atkinson <ke...@atkinson.dhs.org>  2009-01-25 13:48:46 PST ---
Created an attachment (id=4429)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4429)
More logs, See comment #1


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6050] Spamassassin sometimes dies with SIGPIPE

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6050





--- Comment #3 from Justin Mason <jm...@jmason.org>  2009-01-26 03:05:10 PST ---
normally, AFAIK, SIGPIPE should only be delivered if a process writing _into_
SpamAssassin's stdin dies.  are you sure that's not what's happening?  that
would explain why it's proving hard to reproduce.

also, it may be worth trying turning off pyzor, razor etc. one by one to see if
you can narrow down which one is causing it, if it _is_ a network test at
fault.


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6050] Spamassassin sometimes dies with SIGPIPE

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6050





--- Comment #5 from kevin Atkinson <ke...@atkinson.dhs.org>  2009-01-27 11:58:25 PST ---
Disabling razor2 seamed to have solved the problem....


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6050] Spamassassin sometimes dies with SIGPIPE

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6050


Ari Sovijärvi <ap...@flipperit.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apz@flipperit.net




--- Comment #6 from Ari Sovijärvi <ap...@flipperit.net>  2009-02-05 04:34:27 PST ---
I also noticed this bug when I was investigating why an apparent spam message
got through. This bug is apparently in Razor and it happens about 1 in 10
attempts. I've attached a log with "-D razor" parameter.

I'm running FreeBSD 7.1-RELEASE-p2 with Perl v5.8.9.


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6050] Spamassassin sometimes dies with SIGPIPE

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6050





--- Comment #1 from kevin Atkinson <ke...@atkinson.dhs.org>  2009-01-25 13:44:42 PST ---
It seams I can't reproduce the problem when running  manually Spamassassin or
procmail manually.  I will attach another log message with Spamassassin being
run on the same mail message.  The first it dies, the second time (running
procmail manually) it didn't.

Also, here is the Perl version in case it helps.

  This is perl, v5.8.8 built for i386-freebsd-64int
  (with 1 registered patch, see perl -V for more detail)


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6050] Spamassassin sometimes dies with SIGPIPE

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6050





--- Comment #8 from Justin Mason <jm...@jmason.org>  2009-02-05 05:27:51 PST ---
can anyone capture a -D debug log and an "strace -f" log of this happening?
that may be able to demonstrate where/if the SIGPIPE handler is being messed
with.


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.