View previous topic :: View next topic |
Author |
Message |
snIP3r l33t
Joined: 21 May 2004 Posts: 853 Location: germany
|
Posted: Fri Aug 01, 2014 9:20 am Post subject: spamd issue after updating perl |
|
|
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 i3-4130T on ASUS P9D-X
Kernel 5.15.88-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic! |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Aug 01, 2014 12:54 pm Post subject: Re: spamd issue after updating perl |
|
|
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 |
|
|
Olis Apprentice
Joined: 29 Sep 2004 Posts: 177 Location: Germany
|
Posted: Sat Aug 02, 2014 9:23 am Post subject: Re: spamd issue after updating perl |
|
|
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 |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sat Aug 02, 2014 9:44 am Post subject: Re: spamd issue after updating perl |
|
|
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 |
|
|
Target Apprentice
Joined: 25 Apr 2002 Posts: 200
|
|
Back to top |
|
|
|