You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2007/07/11 10:45:51 UTC

[Bug 5554] New: UTF-8 issue with perl 5.8.0 in Bayes.pm line 362

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5554

           Summary: UTF-8 issue with perl 5.8.0 in Bayes.pm line 362
           Product: Spamassassin
           Version: 3.2.1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: spamassassin
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: spamassassin@invoca.ch


I'm having an issue after upgrading spamassassin to 3.2.x with one of my
servers. The box in question is RHEL3 with it's perl 5.8.0, the same config on
RHEL4 with it's perl 5.8.5 doesn't show those symtoms. The logs of spampd, which
I'm using, shows:

Jul  9 07:53:45 sahost01 spampd[25350]: Malformed UTF-8 character (unexpected
continuation byte 0xa9, with no preceding start byte) in substitution iterator
at /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Bayes.pm line 362,
<_GEN_15> line 1509.

My first guess was that it's the issue discussed here:
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=3787#c80

So I went ahead and rebuilt the perl package with this perl patch included
http://rt.perl.org/rt3/Public/Bug/Display.html?id=37950
The new perl package passes the test from the perl bug description but the
spamassassin issue still appears.

There is at least another person who seems to have the same issue
http://www.mail-archive.com/users@spamassassin.apache.org/msg43099.html

I have now built perl 5.8.8 for the RHEL3 box and installed it and viola, the
problem is gone. So to me it really seems to be a problem with spamassassin
3.2.x and perl < 5.8.5.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5554] UTF-8 issue with perl 5.8.0 in Bayes.pm line 362

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5554


d.lesca@solinos.it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d.lesca@solinos.it




------- Additional Comments From d.lesca@solinos.it  2007-07-11 04:27 -------
On FC4 also there is this problem.


[root@airone log]# rpm -q perl
perl-5.8.6-24
[root@airone log]# rpm -q spamassassin
spamassassin-3.2.1-1

Now I have use this workaround:

http://mail-archives.apache.org/mod_mbox/spamassassin-users/200705.mbox/%3c464287a2.57.16b0.15090@cnc.bc.ca%3e

1) Locate your Message.pm module and
2) after "use warnings;" add "use bytes;"




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5554] UTF-8 issue with perl 5.8.0 in Bayes.pm line 362

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5554





------- Additional Comments From alehman@gbutler.com  2007-09-15 12:50 -------
Just installed 3.2.3 on RH EL3. Getting the same error.
# rpm -q perl
perl-5.8.0-94.EL3


Message.pm :

package Mail::SpamAssassin::Message;

use strict;
use warnings;
use bytes;

use Mail::SpamAssassin;
use Mail::SpamAssassin::Message::Node;
use Mail::SpamAssassin::Message::Metadata;
use Mail::SpamAssassin::Constants qw(:sa);
use Mail::SpamAssassin::Logger;

use vars qw(@ISA);




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.