Matt Kettler wrote the following on 08/06/2004 05:33 PM :
At 10:44 AM 8/6/2004, Lionel Bouton wrote:
After looking into Digest::SHA1 and Whiplash.pm I noticed that Whiplash.pm called reset on a Digest::SHA1 object although it just called the hexdigest method which already resets the object upon completion.
It seems calling reset after digest or hexdigest is not only a waste of time, but also the source of the problem.
After commenting out the reset in Whiplash.pm (line 66) :
My system works flawlessly with that line intact. While it might be a waste of time, I doubt it's a source of the problem. I'd take it as some possibly redundant code, but one that is pointing out a problem in your perl libs.
Any chance your copy of Digest::SHA1 is mangled?
mangled no, buggy yes. This is 2.07 packaged by dag wiers for RedHat 8 (latest tar.gz available is 2.10).
I have the same software versions on another system which works without problem as yours. There are 2 diferrences : on the latter one all mail processing is sequential (fetchmail calls procmail which calls spamc), the packagers aren't the same (Digest::SHA1 is already packaged in Fedora Core 2).
I wouldn't expect a reset() method to have this behaviour in any case. The source of the problem might be an obscure bug that is only triggered when 2 forked spamd are processing messages at the same time and 2 Digest::SHA1 objects then conflict when new and reset (which is an alias to new by the way) are called...
-- Lionel Bouton - inet6 --------------------------------------------------------------------- o Siege social: 51, rue de Verdun - 92158 Suresnes / _ __ _ Acces Bureaux: 33 rue Benoit Malon - 92150 Suresnes / /\ /_ / /_ France \/ \/_ / /_/ Tel. +33 (0) 1 41 44 85 36 Inetsys S.A. Fax +33 (0) 1 46 97 20 10
------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Razor-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/razor-users