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/01/24 23:27:44 UTC
[Bug 5306] New: MISSING_HB_SEP on all messages using WIN32 and Cygwin
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5306
Summary: MISSING_HB_SEP on all messages using WIN32 and Cygwin
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P5
Component: Rules
AssignedTo: dev@spamassassin.apache.org
ReportedBy: tech2@i-is.com
Starting recently I am seeing all messages scanned under Windows XP hitting
MISSING_HB_SEP.
Details below:
This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 33 registered patches, see perl -V for more detail)
SpamAssassin version 3.2.0-pre1-r499012
running on Perl version 5.8.8
I'll attach a sample if needed. This problem happens under cygwin running the
same revision as above with perl 5.8.7.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 5306] MISSING_HB_SEP on all messages using WIN32 and Cygwin
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5306
------- Additional Comments From tech2@i-is.com 2007-01-24 15:04 -------
Created an attachment (id=3841)
--> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3841&action=view)
Second sample message
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 5306] MISSING_HB_SEP on all messages using WIN32 and Cygwin
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5306
tech2@i-is.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From tech2@i-is.com 2007-01-25 07:28 -------
That was it! The MISSING_HB_SEP is no longer hitting on the samples I submitted.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 5306] MISSING_HB_SEP on all messages using WIN32 and Cygwin
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5306
------- Additional Comments From tech2@i-is.com 2007-01-24 15:00 -------
Created an attachment (id=3839)
--> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3839&action=view)
Sample message with issue
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 5306] MISSING_HB_SEP on all messages using WIN32 and Cygwin
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5306
------- Additional Comments From jm@jmason.org 2007-01-24 16:11 -------
(In reply to comment #5)
> Hrm. I can't reproduce the missing separator bit, but the seek/read errors are
> from parts which 3.2 tries storing in temp files. Does Windows auto-close file
> handles which are open to files that get deleted? ie:
>
> open(FOO, "+>foo");
> unlink "foo";
>
> is "*FOO" now refering to a closed file? If so, we'll have to tack in a "am I
> running on windows" check in Message::parse_normal() and skip this behavior.
Looking at "perldoc perlport", it might do:
Some platforms can't delete or rename files held open by the system, this
limitation may also apply to changing filesystem metainformation like file
permissions or owners. Remember to "close" files when you are done with
them. Don't "unlink" or "rename" an open file. Don't "tie" or "open" a
file already tied or opened; "untie" or "close" it first.
the source of File::Temp says:
# internal routine to determine whether unlink works on this
# platform for files that are currently open.
# Returns true if we can, false otherwise.
# Currently WinNT, OS/2 and VMS can not unlink an opened file
# On VMS this is because the O_EXCL flag is used to open the
# temporary file. Currently I do not know enough about the issues
# on VMS to decide whether O_EXCL is a requirement.
sub _can_unlink_opened_file {
if ($^O eq 'MSWin32' || $^O eq 'os2' || $^O eq 'VMS' || $^O eq 'dos' || $^O eq 'Ma
cOS') {
return 0;
} else {
return 1;
}
}
Fred, could you try current SVN trunk? r499012 may help.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 5306] MISSING_HB_SEP on all messages using WIN32 and Cygwin
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5306
------- Additional Comments From tech2@i-is.com 2007-01-24 15:02 -------
Created an attachment (id=3840)
--> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3840&action=view)
Debug of message channel
Here's a debug of the channel "message" when I run -t -Dmessage on this
message, it's showing a problem with Message/Node.pm
[3908] warn: seek() on closed filehandle $tmpfile at
C:\Perl\site\lib/Mail/SpamA
ssassin/Message/Node.pm line 273.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 5306] MISSING_HB_SEP on all messages using WIN32 and Cygwin
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5306
------- Additional Comments From felicity@apache.org 2007-01-24 14:56 -------
We would definitely need a sample.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 5306] MISSING_HB_SEP on all messages using WIN32 and Cygwin
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5306
------- Additional Comments From felicity@apache.org 2007-01-24 15:11 -------
Hrm. I can't reproduce the missing separator bit, but the seek/read errors are
from parts which 3.2 tries storing in temp files. Does Windows auto-close file
handles which are open to files that get deleted? ie:
open(FOO, "+>foo");
unlink "foo";
is "*FOO" now refering to a closed file? If so, we'll have to tack in a "am I
running on windows" check in Message::parse_normal() and skip this behavior.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.