SA Bugzilla – Bug 1113
divide by zero - EvalTests.pm line 1631- Failed to run __UPPERCASE_75_100
Last modified: 2002-12-13 01:40:30 UTC
we are sometimes getting the following msg in our logs.. spamd is dying when this occurs : Oct 14 20:13:25 ftoomsh spamd[11804]: Failed to run __UPPERCASE_75_100 SpamAssassin test, skipping: ^I(Illegal division by zero at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/EvalTests.pm line 1631, <STDIN> line 310. ) this doesnt seem to be fixed in the latest version either (v2.50).. unfortunatly I dont have the email which causes the problem. cya's steve..
Subject: Re: [SAdev] New: divide by zero - EvalTests.pm line 1631- Failed to run __UPPERCASE_75_100 > Oct 14 20:13:25 ftoomsh spamd[11804]: Failed to run __UPPERCASE_75_100 > SpamAssassin test, skipping: ^I(Illegal division by zero > at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/EvalTests.pm line > 1631, <STDIN> line 310. ) I fail to see how that could happen given that the code protects against divide by zero and that the numbers involved should all be integers (so it shouldn't be an overflow/underflow problem either). Maybe I'm missing something, here. Could you copy that function out of your running copy of EvalTests.pm and attach it to this bug report (attach, not cut-and-paste)? Thanks. > this doesnt seem to be fixed in the latest version either (v2.50).. > > unfortunatly I dont have the email which causes the problem. That might be the only way to find the bug (if there is one). Dan
Created attachment 403 [details] our running copy of EvelTests.pm
Looking at the source, that fn cannot get a divide by zero in the current source. So I'm closing this bug until the reporter reports that it's still occurring with current CVS (and can provide a sample mail to reproduce it ;)