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 2016/02/03 10:38:08 UTC
[Bug 7293] New: Parsing of undecoded UTF-16 at
/usr/share/perl5/Mail/SpamAssassin/HTML.pm line 260.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7293
Bug ID: 7293
Summary: Parsing of undecoded UTF-16 at
/usr/share/perl5/Mail/SpamAssassin/HTML.pm line 260.
Product: Spamassassin
Version: unspecified
Hardware: PC
OS: Windows 7
Status: NEW
Severity: normal
Priority: P2
Component: Learner
Assignee: dev@spamassassin.apache.org
Reporter: dog@pavlov.com
Created attachment 5375
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5375&action=edit
example mailbody that triggers the error
Running sa-learn over a message generates the error:
Parsing of undecoded UTF-16 at /usr/share/perl5/Mail/SpamAssassin/HTML.pm line
260.
Example attached.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7293] Parsing of undecoded UTF-16 at
/usr/share/perl5/Mail/SpamAssassin/HTML.pm line 260.
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7293
--- Comment #1 from Mark Martinec <Ma...@ijs.si> ---
Which version of HTML::Parser and perl was that?
Is the normalize_charset setting enabled or disabled?
Can't reproduce. I don't see anything in the provided sample
that could look like a BOM in UTF-16, or some other non-ASCII character.
Perhaps Encode::Detect::Detector was involved and it guessed wrong?
Debugging output would tell.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7293] Parsing of undecoded UTF-16 at
/usr/share/perl5/Mail/SpamAssassin/HTML.pm line 260.
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7293
dog@pavlov.com changed:
What |Removed |Added
----------------------------------------------------------------------------
OS|Windows 7 |Linux
Version|unspecified |3.4.1
CC| |dog@pavlov.com
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7293] Parsing of undecoded UTF-16 at
/usr/share/perl5/Mail/SpamAssassin/HTML.pm line 260.
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7293
--- Comment #5 from Reinhold Kainhofer <re...@kainhofer.com> ---
I'm running into the same issue with sa-learn 3.4.1 on a ubuntu 16.10 Server. I
have identified four mails that cause the warning, all of them are automated
flight book confirmations, forwarded from my work email to my private e-mail
address. I'm attaching them so you can reproduce the issue, too.
Perl version (stock ubuntu packages):
This is perl 5, version 22, subversion 2 (v5.22.2) built for
x86_64-linux-gnu-thread-multi
HTML::Parser version 3.72-2, as provided by the ubuntu packages
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7293] Parsing of undecoded UTF-16 at
/usr/share/perl5/Mail/SpamAssassin/HTML.pm line 260.
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7293
--- Comment #6 from Reinhold Kainhofer <re...@kainhofer.com> ---
Created attachment 5428
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5428&action=edit
Sample file 2 to reproduce (flight booking confirmation)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7293] Parsing of undecoded UTF-16 at
/usr/share/perl5/Mail/SpamAssassin/HTML.pm line 260.
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7293
Reinhold Kainhofer <re...@kainhofer.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reinhold@kainhofer.com
--- Comment #4 from Reinhold Kainhofer <re...@kainhofer.com> ---
Created attachment 5427
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5427&action=edit
Sample file to reproduce (flight booking confirmation)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7293] Parsing of undecoded UTF-16 at
/usr/share/perl5/Mail/SpamAssassin/HTML.pm line 260.
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7293
Mark Martinec <Ma...@ijs.si> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #3 from Mark Martinec <Ma...@ijs.si> ---
May have been fixed by upgrading HTML::Parser.
Closing.
Please reopen if a mail sample is found that can reproduce the problem.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7293] Parsing of undecoded UTF-16 at
/usr/share/perl5/Mail/SpamAssassin/HTML.pm line 260.
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7293
--- Comment #2 from dog@pavlov.com ---
Hi, this was an intermittent error on a production machine some four months
ago. Since then, the host has had it's dependent packages and OS upgraded
numerous times, and the error is no longer showing up in the logs.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7293] Parsing of undecoded UTF-16 at
/usr/share/perl5/Mail/SpamAssassin/HTML.pm line 260.
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7293
--- Comment #7 from Reinhold Kainhofer <re...@kainhofer.com> ---
Created attachment 5429
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5429&action=edit
Sample file 3 to reproduce (flight booking confirmation)
--
You are receiving this mail because:
You are the assignee for the bug.