[spambayes-bugs] [ spambayes-Bugs-970359 ] XP freezes when training SpamBays via web interface

SourceForge.net noreply at sourceforge.net
Thu Jul 8 11:33:46 CEST 2004


Bugs item #970359, was opened at 2004-06-10 08:14
Message generated for change (Comment added) made by kmccoy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=970359&group_id=61702

Category: pop3proxy
Group: Binary 1.0rc1
Status: Open
Resolution: None
Priority: 5
Submitted By: Steve Bartram (stevebartram)
Assigned to: Nobody/Anonymous (nobody)
Summary: XP freezes when training SpamBays via web interface

Initial Comment:
First, thank you for SpamBayes. It marks my spam very
well indeed.

However, when training SpamBayes via the web inteface
(which is very nice) it frequently freezes my computer
so even ctrl-alt-delete won't work. I've checked the
Spambayes mailing lists and haven't seen any  other
report of this problem.

Environment:
I am using SpamBayes POP3 Proxy Version 1.0rc1 (May
2004) (binary), with version 2.3.3 (#51, Feb 13 2004,
14:39:56) [MSC v.1200 32 bit (Intel)] of Python; my
operating system is Windows 5.1.2600.2 ().  I have
trained 360 ham and 412 spam.
(although the "Check for latest version" reports
version "0.6")
It's the Windows binary version.
Some mail retrieved by Pegasus email and some by a
custom perl script. These work without any problems.
FireFox 0.8
AVG anti-virus up-to-date and ZoneAlarm correctly
configured.
SpamBayes trained via web interface, I haven't tried
the smtp proxy method.
SpamBayes is almost in it's default setup. It is using
dbm for storage.
Here is my bayescustomize.ini
================
[Headers]
header_score_logarithm:True
include_evidence:True
include_score:True
include_thermostat:True
[html_ui]
display_score:True
[pop3proxy]
listen_ports:8110,8111,8112,8113
remote_servers:.....
[smtpproxy]
use_cached_message:True
================

SpamBayesServer1.log:
================
Service not availible. Using thread.
Loading database... SMTP Listener on port 8225 is
proxying 127.0.01:25
Listener on port 8110 is proxying mail.zetnet.co.uk:110
Listener on port 8111 is proxying mail.tesco.net:110
Listener on port 8112 is proxying
pop3.connectfree.co.uk:110
Listener on port 8113 is proxying mail.onetel.net.uk:110
User interface url is http://localhost:8880/
================

Symptoms:
Quite frequently (but NOT consistently!) my computer
will freeze when training SpamBayes via the web
interface. This starts as a page not finishing loading.
Sometimes this is the review page, but more often it is
a page displaying a specific email. But, as I was
writing this email and checking my configuration it did
it on the page displaying which storage option was
being used. When this happens I can still click a few
times. The "back" button in the browser often seems to
work. But after a few clicks the system starts to lock
up. First all application windows fail to refresh their
contents, although their frames redraw. This is rapidly
followed by no response at all, even to
ctrl-alt-delete. At which point only a hard reset will
work.

After rebooting SpamBayes may successfully train on the
same set of emails. Or, it may freeze again. I usually
avoid trying to examine the email that I was trying to
view when the last freeze occurred. Instead, I find it
in my email client and check it there.

These freezes only happen on the spambayes pages. I
haven't changed/installed anything else recently.

I have tried closing Pegasus and stopping the perl
script (which runs periodically) before trying to
train. But this didn't prevent the freeze.

I also tried IE 6 instead of FireFox, but that froze too.

Any help will be greatly appreciated.

TIA,
Steve

----------------------------------------------------------------------

Comment By: kmccoy (kmccoy)
Date: 2004-07-08 04:33

Message:
Logged In: YES 
user_id=1079301

Hello,

I've encountered exactly the same problem.  It originally
happened with 1.0RC1 and it has continued happening with
1.0RC2 -- both the windows binary install file.  It happened
on versions of Firefox from 0.8 through 0.9.1 and IE6.  I
don't know how to find out the versions of python and XP,
but it's XP SP1 in the system control panel.  I use Eudora
6.1 for my email downloading.  My settings are slightly
altered, but I don't have a .ini file listing the changes. 
I'll detail them: 
-pop3 proxy settings
pop.mail.yahoo.com
110
-smtp proxy options
smtp.mail.yahoo.com
25
ham at localhost
spam at localhost
yes
-header options
none selected
-storage options
hammie.db
spambayes.messageinfo.db
yes
no
0
-statistics options
0.2
0.85
-- advanced
-statistics options
150
0.1
0.5
0.45
-header options
yes
2
yes
yes
no
0.2
-storage options
dbm
7
no
pop3proxy-ham-cache
pop3proxy-spam-cache
pop3proxy-unknown-cache
-tokenising options
no
no
no
no
-training options
no
-interface options
Subject From
no
yes
no
ham
spam
spam
0.0
100.0
localhost
none
myusername
mypassword (both of those are obviously not that. :P)
localhost
localhost
-- experimental
-experimental options
no
no
no
no
yes
url-cache
7
no
no
---- end



----------------------------------------------------------------------

Comment By: Mark Hammond (mhammond)
Date: 2004-06-28 01:49

Message:
Logged In: YES 
user_id=14198

The symptoms sound similar to what happens when windows runs
out of GUI resources.  If that is indeed true, it maybe your
browser rather than spambayes, particularly if you are using
other than IE.  If you are using IE, then this sounds very
strange, and certainly the frist report I have heard.  Being
able to hang the OS is a bug in the OS even if we *are*
being really naughty (which we aren't trying to be <wink>)

Another very interesting test would be to run from Python
sources - the binary version of the proxy programs are used
far less than their source-code versions.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=970359&group_id=61702


More information about the Spambayes-bugs mailing list