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 2005/07/16 21:19:41 UTC

[Bug 4485] New: mass-check goes haywire creating processes

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

           Summary: mass-check goes haywire creating processes
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Masses
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: jm@jmason.org


I found my server this morning totally bogged down with a load of 36 from
the weekly net mass-checks -- ps auxww reports:

jm       31504  0.1  0.6 25620 1576 ?        SN   02:10   0:38 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       31564  1.5  0.1 32724  508 ?        SN   02:36   9:02 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       31565  2.0  3.8 37624 9884 ?        DN   02:36  11:50 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       31566  2.0  4.3 33068 11180 ?       RN   02:36  12:03 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       31567  1.5  0.2 32644  644 ?        SN   02:36   9:09 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       31568  2.0  4.8 33740 12300 ?       DN   02:36  12:00 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       31569  2.1  4.0 33400 10392 ?       DN   02:36  12:35 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       31570  1.6  0.3 32912  968 ?        SN   02:36   9:39 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       31571  2.0  0.8 36028 2112 ?        RN   02:36  11:39 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14782  0.5  4.9 33312 12740 ?       RN   04:43   2:36 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14783  0.0  0.2 37624  524 ?        SN   04:43   0:02 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14784  0.6  0.9 33548 2548 ?        RN   04:43   2:44 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14788  0.0  0.2 32644  644 ?        SN   04:43   0:03 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14789  0.5  4.2 37624 10892 ?       DN   04:43   2:20 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14791  0.4  4.4 33312 11456 ?       DN   04:43   2:12 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14795  0.0  0.2 32644  600 ?        SN   04:45   0:01 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14796  0.0  0.3 32912  968 ?        SN   04:45   0:02 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14797  0.0  0.2 33740  692 ?        SN   04:45   0:13 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14803  0.5  1.6 33740 4176 ?        RN   04:49   2:16 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14811  0.5  1.5 32912 3856 ?        RN   04:50   2:18 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14816  0.5  1.8 32644 4864 ?        DN   04:51   2:19 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14817  0.1  0.2 37624  548 ?        SN   04:51   0:34 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14823  0.5  3.2 33068 8376 ?        DN   04:52   2:19 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14824  0.0  0.1 32724  508 ?        SN   04:52   0:00 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14825  0.5  6.2 33464 15960 ?       SN   04:57   2:18 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14826  0.5  5.3 32644 13644 ?       RN   04:57   2:34 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14830  0.5  0.7 36028 2040 ?        RN   05:00   2:26 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14838  0.4  3.5 33740 9180 ?        RN   05:03   2:06 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14842  0.0  0.2 33068  552 ?        SN   05:10   0:01 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14845  0.5  0.7 32724 2036 ?        RN   05:10   2:26 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14846  0.5  4.8 32912 12544 ?       RN   05:10   2:19 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14849  0.5  5.0 33864 12984 ?       RN   05:11   2:14 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14907  0.5  4.4 33188 11524 ?       RN   05:28   2:24 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14908  0.5  2.6 37624 6752 ?        RN   05:29   2:21 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14912  0.0  0.2 33740  680 ?        SN   05:33   0:00 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14913  0.5  4.5 33196 11712 ?       RN   05:37   2:20 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14917  0.6  3.5 33864 9204 ?        RN   05:41   2:27 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14918  0.5  0.2 32724  656 ?        SN   05:48   1:58 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14932  0.5  0.2 33068  676 ?        SN   06:04   1:55 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14933  0.6  4.4 33452 11416 ?       RN   06:06   2:13 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       14934  0.6  2.9 33740 7628 ?        RN   06:07   2:21 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       15043  0.8  0.8 36028 2208 ?        RN   08:19   2:00 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       15078  0.7  3.0 32724 7924 ?        RN   09:36   1:05 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       15107  0.5  4.7 33464 12232 ?       RN   10:37   0:29 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       15160  0.5  4.8 37624 12392 ?       RN   10:47   0:27 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       15174  0.6  1.1 33068 2964 ?        RN   11:05   0:26 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       15178  0.7  0.8 36028 2180 ?        RN   11:10   0:27 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts
jm       15237  1.0  3.5 32724 9112 ?        DN   11:32   0:26 /usr/bin/perl -w
./mass-check --progress --tail=8000 --net -j 8 -f /home/jm/cor/tgts

looks like -j 8 didn't quite limit it.  nothing useful in the logs apart from

Argument "c" isn't numeric in pack at /home/jm/ftp/Mail-SpamAssassin-3.1.0/masses/.
./lib/Mail/SpamAssassin/Util.pm line 711.
Argument "a" isn't numeric in pack at /home/jm/ftp/Mail-SpamAssassin-3.1.0/masses/.
./lib/Mail/SpamAssassin/Util.pm line 711.
Argument "e" isn't numeric in pack at /home/jm/ftp/Mail-SpamAssassin-3.1.0/masses/.
./lib/Mail/SpamAssassin/Util.pm line 711.
Argument "e" isn't numeric in pack at /home/jm/ftp/Mail-SpamAssassin-3.1.0/masses/.
./lib/Mail/SpamAssassin/Util.pm line 711.
Argument "c" isn't numeric in pack at /home/jm/ftp/Mail-SpamAssassin-3.1.0/masses/.
./lib/Mail/SpamAssassin/Util.pm line 711.
Argument "a" isn't numeric in pack at /home/jm/ftp/Mail-SpamAssassin-3.1.0/masses/.
./lib/Mail/SpamAssassin/Util.pm line 711.
Argument "e" isn't numeric in pack at /home/jm/ftp/Mail-SpamAssassin-3.1.0/masses/.
./lib/Mail/SpamAssassin/Util.pm line 711.
Argument "e" isn't numeric in pack at /home/jm/ftp/Mail-SpamAssassin-3.1.0/masses/.
./lib/Mail/SpamAssassin/Util.pm line 711.
Argument "c" isn't numeric in pack at /home/jm/ftp/Mail-SpamAssassin-3.1.0/masses/.
./lib/Mail/SpamAssassin/Util.pm line 711.
bayes: cannot open bayes databases /home/jm/ftp/Mail-SpamAssassin-3.1.0/masses/spam
assassin/bayes_* R/W: lock failed: Interrupted system call
bayes: cannot open bayes databases /home/jm/ftp/Mail-SpamAssassin-3.1.0/masses/spam
assassin/bayes_* R/W: lock failed: Interrupted system call


lots of "pack" errors for some reason.



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

[Bug 4485] mass-check goes haywire creating processes

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4485





------- Additional Comments From jm@jmason.org  2005-07-16 19:06 -------
aha.  I think it must be related to an out-of-space-on-/tmp condition; /
(including /tmp) was out of space.



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

[Bug 4485] mass-check goes haywire creating processes

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


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |3.1.1






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

[Bug 4485] mass-check goes haywire creating processes when / full

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


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|mass-check goes haywire     |mass-check goes haywire
                   |creating processes          |creating processes when /
                   |                            |full




------- Additional Comments From jm@jmason.org  2006-02-03 18:45 -------
I'm sure it probably was related; still a bug that needs fixing, though! ;)



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

[Bug 4485] mass-check goes haywire creating processes

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





------- Additional Comments From spamassassin@dostech.ca  2006-02-03 13:02 -------
Do you think that -j 8 not limiting the number of processes wasn't related to
your volume being full or are you just waiting for someone to send you a large
drive? ;)



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

[Bug 4485] mass-check goes haywire creating processes when / full

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


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From jm@jmason.org  2006-11-02 15:26 -------
haven't seen anything like this since -- no need to keep it around ;)



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

[Bug 4485] [review] mass-check goes haywire creating processes

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


parkerm@pobox.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 1 vote, maybe?        |ready for commit




------- Additional Comments From parkerm@pobox.com  2006-02-02 16:33 -------
+1



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

[Bug 4485] mass-check goes haywire creating processes when / full

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


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.1.1                       |3.1.2






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

[Bug 4485] mass-check goes haywire creating processes when / full

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


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.1.2                       |3.2.0




------- Additional Comments From felicity@apache.org  2006-04-04 05:01 -------
I'm going to punt this to 3.2.  That's where we're really using mass-check at the moment, and if there's 
movement there we can backport to 3.1. :)



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

[Bug 4485] [review] mass-check goes haywire creating processes

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





------- Additional Comments From jm@jmason.org  2006-02-02 21:57 -------
applied as 374493.   I'm not closing the bug though, since that was actually an
entirely separate issue from what was reported....



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

[Bug 4485] mass-check goes haywire creating processes

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


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spamassassin@dostech.ca
            Summary|[review] mass-check goes    |mass-check goes haywire
                   |haywire creating processes  |creating processes
  Status Whiteboard|ready for commit            |






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

[Bug 4485] [review] mass-check goes haywire creating processes

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





------- Additional Comments From jm@jmason.org  2006-01-26 03:01 -------
+1



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

[Bug 4485] [review] mass-check goes haywire creating processes

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


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|mass-check goes haywire     |[review] mass-check goes
                   |creating processes          |haywire creating processes
  Status Whiteboard|                            |needs 2 votes




------- Additional Comments From spamassassin@dostech.ca  2006-01-26 02:14 -------
I'm +1 for 3.1.  Not sure about Theo...



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

[Bug 4485] mass-check goes haywire creating processes

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





------- Additional Comments From nix@esperi.org.uk  2005-12-02 22:13 -------
Created an attachment (id=3287)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3287&action=view)
spam triggering Util.pm failures reproducibly at this site with 3.1.0

Nothing special is needed to reproduce it as far I know; no options or
anything. Both spamd and spamassassin emit the warnings.



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

[Bug 4485] mass-check goes haywire creating processes

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





------- Additional Comments From felicity@apache.org  2005-12-03 03:36 -------
Works fine w/ 3.1 for me.

The attached message does cause a bunch of crazy parsing messages:

[14738] dbg: dns: IPs found: full-external: 192.168.14.1, 194.217.242.77, 84.57.15.16, 
170.160.219.132 untrusted: 194.217.242.77, 84.57.15.16, 170.160.219.132 originating: , 
0.211.128.78, , , , , a, , , , , , , f, , , , , , eb, , a, , , , , a, , , , , , , , F, , , , , 02, , Dec, , 2005, , 04:07:58, , 

which I'm guessing for some reason you're then sending through some rule(s).  I traced down the main 
issue though:

Util.pm line 711 is the my_inet_aton function which is called in a few places:

Dns.pm:   Mail::SpamAssassin::Util::my_inet_aton($rdatastr) & $subtest)
NetSet.pm:      ip   => Mail::SpamAssassin::Util::my_inet_aton($ip) & $mask
NetSet.pm:  $ip = Mail::SpamAssassin::Util::my_inet_aton($ip);
Plugin/URIDNSBL.pm:              Mail::SpamAssassin::Util::my_inet_aton($rdatastr) & $subtest)

Looking at the code, the only one that doesn't validate the parameter is the second NetSet line up there 
in the NetSet::contains_ip() function.  So a bandaid fix would potentially be to add in an RE check and 
return an error for non-IPs.

Some more debugging shows the problem is:

X-Originating-IP: [0.211.128.78] via HTTP from webmail.mail.ru;
        Fri, 02 Dec 2005 04:07:58

EvalTests::check_rbl_backend seems to have a bug:

  my $IP_ADDRESS = IP_ADDRESS;
  my @originating = ();
  for my $header ('X-Originating-IP', 'X-Apparently-From') {
    my $str = $self->get($header);
    next unless $str;
    push (@originating, ($str =~ m/($IP_ADDRESS)/g));
  }   

@originating shouldn't be getting all of the non-IPs, but it does.  It looks like a possible issue with the 
IP_ADDRESS RE:

                      (?:[a-f0-9]{0,4}\:){0,7} [a-f0-9]{0,4}


(In reply to comment #3)
> I've just seen exactly this error; not with mass-check but with a copy of
> spamassassin 3.1.0 in production (running atop Perl 5.8.5). They're only
> warnings and the spam is processed and correctly identified nonetheless, but it
> looks ugly. The errors (unsurprisingly) don't happen when running the wrapped
> spam through spamassassin -d.
> 
> Error messages:
> 
> [440] warn: Argument "a" isn't numeric in pack at
> /usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
> line 711.



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

[Bug 4485] mass-check goes haywire creating processes

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4485





------- Additional Comments From jm@jmason.org  2005-07-16 12:20 -------
actually, those aren't the logs -- they're from the rescore mass-check!  I'll
update if I can find the weekly's logs.



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

[Bug 4485] mass-check goes haywire creating processes

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





------- Additional Comments From spamassassin@dostech.ca  2006-01-26 02:13 -------
Created an attachment (id=3346)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3346&action=view)
Theo's patch




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

[Bug 4485] [review] mass-check goes haywire creating processes

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


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 2 votes               |needs 1 vote, maybe?






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

[Bug 4485] mass-check goes haywire creating processes

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


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fugazi@ananzi.co.za




------- Additional Comments From spamassassin@dostech.ca  2006-01-26 02:02 -------
*** Bug 4757 has been marked as a duplicate of this bug. ***



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

[Bug 4485] mass-check goes haywire creating processes

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





------- Additional Comments From felicity@apache.org  2005-12-03 03:40 -------
btw, I put in a validation RE into 3.2.0 in r351875:

===============================================================
====
--- NetSet.pm   (revision 351873)
+++ NetSet.pm   (working copy)
@@ -96,6 +96,7 @@
   my ($self, $ip) = @_;
 
   if (!defined $self->{nets}) { return 0; }
+  if ($ip !~ m/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/) { return 0; }
 
   $ip = Mail::SpamAssassin::Util::my_inet_aton($ip);
   foreach my $net (@{$self->{nets}}) {




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

[Bug 4485] mass-check goes haywire creating processes when / full

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


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |4673
              nThis|                            |






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

[Bug 4485] mass-check goes haywire creating processes

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





------- Additional Comments From nix@esperi.org.uk  2005-12-02 22:09 -------
I've just seen exactly this error; not with mass-check but with a copy of
spamassassin 3.1.0 in production (running atop Perl 5.8.5). They're only
warnings and the spam is processed and correctly identified nonetheless, but it
looks ugly. The errors (unsurprisingly) don't happen when running the wrapped
spam through spamassassin -d.

Error messages:

[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "f" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "eb" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "F" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "Dec" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Character in 'C' format wrapped in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "04:07:58" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "f" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "eb" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "F" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "Dec" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Character in 'C' format wrapped in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "04:07:58" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "f" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "eb" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "F" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "Dec" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Character in 'C' format wrapped in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "04:07:58" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "f" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "eb" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "F" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "Dec" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Character in 'C' format wrapped in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "04:07:58" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "f" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "eb" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "F" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "Dec" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Character in 'C' format wrapped in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "04:07:58" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "f" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "eb" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "F" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "Dec" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Character in 'C' format wrapped in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "04:07:58" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "f" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "eb" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "F" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "Dec" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Character in 'C' format wrapped in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "04:07:58" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "f" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "eb" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "F" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "Dec" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Character in 'C' format wrapped in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "04:07:58" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "f" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "eb" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "a" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "F" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "Dec" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Character in 'C' format wrapped in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.
[440] warn: Argument "04:07:58" isn't numeric in pack at
/usr/packages.bin/perl/5.8.5/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Util.pm
line 711.

Spam attached.



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