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 2013/03/06 20:24:44 UTC

[Bug 6916] New: Spamassassin crashes on one particular mail message

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

            Bug ID: 6916
           Summary: Spamassassin crashes on one particular mail message
           Product: Spamassassin
           Version: 3.3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Rules
          Assignee: dev@spamassassin.apache.org
          Reporter: peek@nimbios.org
    Classification: Unclassified

Spamassassin crashes on one particular mail message.  Debug output from
spamassassin shows:

Mar  5 14:48:47 mx spamd[24004]: rules: ran body rule __NONEMPTY_BODY ======>
got hit: "C"
Mar  5 14:50:43 mx kernel: [359648.499809] spamd child[24004]: segfault at 2a
ip 00007f6c23fb36ab sp 00007fffadd37930 error 4 in
libperl.so.5.14.2[7f6c23ef1000+173000]
Mar  5 14:50:43 mx spamd[24002]: spamd: handled cleanup of child pid [24004]
due to SIGCHLD: DIED, signal 11 (000b)

This is 100% reproducible.

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

[Bug 6916] Spamassassin crashes on one particular mail message

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

--- Comment #1 from AXB <ax...@gmail.com> ---
for developers to reproduce please add the msg which caused this as well as

- SpamAssassin version
- OS distro & version
- what glue are you using to send the msg to spamd
- spamd -D  output

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

[Bug 6916] Spamassassin crashes on one particular mail message

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

Michael Peek <pe...@nimbios.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peek@nimbios.org

--- Comment #4 from Michael Peek <pe...@nimbios.org> ---
OS distro & version: Ubuntu 12.04

Spamassassin version: 3.3.2-2ubuntu1

Spamd -D output: Attached

Trigger message: The exact message was too large to upload.  The web page
suggested posting a link instead: 

http://www.nimbios.org/~peek/tmp/for_apache/message.txt.gz

(Actually I shouldn't bother to wasting resources scanning messages this large,
which is a separate configuration issue that I'll have to address.  But this
message *does* trigger the bug, so here it is.)

Glue: exim 4.76-3ubuntu3.1, which is compiled with the the content-scanning
extension for spamassassin.  The relevant lines in exim's configuration file
are:

    # Add message header tags that detail the spamfilter's score for this
    # message.
    warn
        spam = mailfilter:true
        add_header = X-Spam-Score: $spam_score ($spam_bar)

    # If this message looks like it might be spam add another header
    warn
        spam = mailfilter
        add_header = X-Spam: SPAM
    warn
        spam = mailfilter
        add_header = X-Spam-Report: \n  $spam_report
    warn
        spam = mailfilter
        logwrite = SPAM ALERT

    #
    # Accept:
    # - If this message has been deemed spam
    # - And it's not from a sender internal to the NIMBioS network
    # Then:
    # - Accept it, but pretend to deny it
    #
    accept
        spam = mailfilter
        condition = ${if !eq{$acl_m1}{1}{true}{false}}
        logwrite = Accepted DATA (SPAM CONTENT, FAKING EMAIL REJECTION)
        control = fakereject/Invalid or unknown user.


Although it crashes under exim, spamc seems to not have a problem with the
message: 

mailfilter@gero:$ cat message.txt | spamc --check -s 268435456 ; echo $?
0.0/5.0
0

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

[Bug 6916] Spamassassin crashes on one particular mail message

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

--- Comment #5 from Kevin A. McGrail <km...@pccc.com> ---
A) Scanning a file of the size you are talking about likely just isn't going to
work. You listed 268,435,456 bytes

B) We can't support exim.  That's a separate product.

Overall, not sure we can do anything to help you here...

regards,
KAM

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

[Bug 6916] Spamassassin crashes on one particular mail message

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

Kevin A. McGrail <km...@pccc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kmcgrail@pccc.com

--- Comment #3 from Kevin A. McGrail <km...@pccc.com> ---
The email is really needed for us to replicate anything and see what might be
the issue.

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

[Bug 6916] Spamassassin crashes on one particular mail message

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

--- Comment #2 from Michael Peek <pe...@nimbios.org> ---
Created attachment 5137
  --> https://issues.apache.org/SpamAssassin/attachment.cgi?id=5137&action=edit
Output from spamd

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