Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
spamd issue after updating perl
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 784
Location: germany

PostPosted: Fri Aug 01, 2014 9:20 am    Post subject: spamd issue after updating perl Reply with quote

hi all!

after the latest perl update to 5.18.2-r1 i get this spamd message in /var/log/messages:

Code:

Aug  1 11:00:07 area52 spamd[3483]: Use of each() on hash after insertion without resetting hash iterator results in undefined behavior at /usr/lib64/perl5/vendor_perl/5.18.2/Mail/SpamAssassin/AsyncLoop.pm line 363.


the message repeats about 10 - 12 times. i ran perl-cleaner --all and also re-emerged spamassassin and restarted spamd with no success.

any ideas about how to solve this?

thx in advance
snIP3r
_________________
Intel G3220 on ASUS P9D-X
Gentoo Base System 2.2
Kernel 3.12.20-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
khayyam
Advocate
Advocate


Joined: 07 Jun 2012
Posts: 2244

PostPosted: Fri Aug 01, 2014 12:54 pm    Post subject: Re: spamd issue after updating perl Reply with quote

snIP3r wrote:
any ideas about how to solve this?

snIP3r ... I'm not running spamassassin so I can't test but please try the following:

/usr/lib64/perl5/vendor_perl/5.18.2/Mail/SpamAssassin/AsyncLoop.pm
Code:
-    while (my($key,$ent) = each %$pending) {
+    my %pend = %$pending ;
+    while (my($key,$ent) = each %pend) {

HTH & best ... khay
Back to top
View user's profile Send private message
Olis
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2004
Posts: 139
Location: Germany

PostPosted: Sat Aug 02, 2014 9:23 am    Post subject: Re: spamd issue after updating perl Reply with quote

khayyam wrote:
snIP3r wrote:
any ideas about how to solve this?

snIP3r ... I'm not running spamassassin so I can't test but please try the following:

/usr/lib64/perl5/vendor_perl/5.18.2/Mail/SpamAssassin/AsyncLoop.pm
Code:
-    while (my($key,$ent) = each %$pending) {
+    my %pend = %$pending ;
+    while (my($key,$ent) = each %pend) {

HTH & best ... khay
Had the same problem here after upgrading perl to v5.18. The above fixes solved the problem in AsyncLoop.pm.

Thanks!
Back to top
View user's profile Send private message
khayyam
Advocate
Advocate


Joined: 07 Jun 2012
Posts: 2244

PostPosted: Sat Aug 02, 2014 9:44 am    Post subject: Re: spamd issue after updating perl Reply with quote

Olis wrote:
Had the same problem here after upgrading perl to v5.18. The above fixes solved the problem in AsyncLoop.pm. Thanks!

Olis ... you're welcome. As this doesn't seem to have been reported one or other of you should probably open a bug. It looks like =mail-filter/spamassassin-3.4.0 is being bumped (see: bug 501246) which may, or may not, fix this.

best ... khay
Back to top
View user's profile Send private message
Target
Apprentice
Apprentice


Joined: 25 Apr 2002
Posts: 200

PostPosted: Tue Aug 05, 2014 3:35 am    Post subject: Reply with quote

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

Ran into this issue just now and a search pulled up this bug on the apache tracker in addition to this thread. Patch available for 3.3.2 there in the interim.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum