Bug 1023670

Summary: perl warning
Product: [Fedora] Fedora Reporter: Fabrice Bellet <fabrice>
Component: spamassassinAssignee: Warren Togami <wtogami>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: frank, kevin, lars, nb, paul, plautrba, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spamassassin-3.3.2-18.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-15 06:09:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Fabrice Bellet 2013-10-26 20:23:03 UTC
This perl warning is triggered by spamd and occurs quite frequently in my /var/log/maillog file:


Oct 26 22:15:41 lxorgfr spamd[8739]: Use of each() on hash after insertion without resetting hash iterator results in undefined behavior, Perl interpreter: 0x22f7010 at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/AsyncLoop.pm line 363.

Comment 1 Lars E. Pettersson 2013-12-28 20:32:14 UTC
There seems to be an upstream fix/patch available for this from May this year: <https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6937>

Comment 2 Fabrice Bellet 2013-12-29 21:21:37 UTC
yes, good catch, I confirm that the proposed patch works for me.

Comment 3 Lars E. Pettersson 2013-12-30 12:07:21 UTC
I have now tested the patch I mentioned before and it seems to work for me also. No ill effects noted yet at least.

Comment 4 Kevin Fenzi 2014-01-04 19:22:03 UTC
Can you test this scratch build: 

http://koji.fedoraproject.org/koji/taskinfo?taskID=6360100

I had to monkey with the patch to get it to apply, so confirmation that it's working would be great.

Comment 5 Lars E. Pettersson 2014-01-05 12:12:44 UTC
Kevin, the build from koji seem to work, no problem detected here.

Comment 6 Fedora Update System 2014-01-05 15:16:34 UTC
spamassassin-3.3.2-18.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/spamassassin-3.3.2-18.fc20

Comment 7 Fedora Update System 2014-01-07 09:38:49 UTC
Package spamassassin-3.3.2-18.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing spamassassin-3.3.2-18.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0290/spamassassin-3.3.2-18.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-01-15 06:09:55 UTC
spamassassin-3.3.2-18.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Kevin Fenzi 2014-01-17 15:58:38 UTC
*** Bug 1054723 has been marked as a duplicate of this bug. ***