PopTray crashes on long 'TO' and 'CC' lists

Found a serious/minor bug in PopTray? Tell me about it.

Moderators: KY Dave, jojobear99, Rdsok

First Timer
Posts: 2
Joined: Wed Jun 14, 2006 4:56 pm

PopTray crashes on long 'TO' and 'CC' lists

Post by raloftus » Wed Jun 14, 2006 7:38 pm

Well, we use PopTray to reduce spam in our mail, and the biggest offender that we can safely delete automatically from server are those that use my domain name with an improper 'surname', such as dummy@mydomain.com or gyp@mydomain.com.

We have a new problem. We keep getting emails with very long 'TO' and 'CC' lists, and PopTray crashes every time when looking through the list for our proper domain name. We run PopTray as an automated task with a series of 'all lines needed' rules, each with a 'not' option, and each with a 'to' 'contains' an eligable receiver name. So, if the 'to' list does not contain a proper receiver name, the message is deleted from the pop3 server.

When Poptray crashes with this problem in Windows 98, it leaves a legal operation error message. If it crashes in Windows 2000, it just exits with no message.

Is there a way around this? Its tough to wake up with 800 spam emails that PopTray would have eliminated if it had not crashed somewhere in the process.

Thanks, RogerLoftus

User avatar
KY Dave
Not the Developer
Posts: 1599
Joined: Thu Mar 14, 2002 7:29 pm
Location: Burkesville, KY. U.S.A.

Post by KY Dave » Wed Jun 14, 2006 8:09 pm

Is it the specific email that crashes PopTray regardless of the RULE being ENABLED,
or does PopTray 'crash' ONLY IF the RULE is ENABLED when the specific email is checked?

Does PopTray 'crash' if the mentioned RULEs are NOT ENABLED?
KY Dave

Family Blog
You can STOP SPAM using PopFile and PopTray.

First Timer
Posts: 2
Joined: Wed Jun 14, 2006 4:56 pm

Post by raloftus » Wed Jun 14, 2006 9:12 pm

Thanks for the response:

If I disable the rules and run PopTray against a mailbox containing an email that crashes PopTray with my ruleset, no crash occurs. It appears that if the 'to' list contains over about 25 addresses, Poptray cannot process my ruleset without crashing immediately when encountering the email with the long address list. In other words, it will not complete processing the mailbox, and again, I am using PopTray only for deleting messages from the server.

If of interest, this is the error message that develops under Win98 - again no error message under Win2000, just immediate program exit.

POPTRAY caused an invalid page fault in
module POPTRAY.EXE at 016f:004a41a1.
EAX=00000000 CS=016f EIP=004a41a1 EFLGS=00010246
EBX=00d720d0 SS=0177 ESP=006e0000 EBP=006e001c
ECX=00000000 DS=0177 ESI=00012ebc FS=1a8f
EDX=00012ebc ES=0177 EDI=004b57b0 GS=0000
Bytes at CS:EIP:
64 ff 30 64 89 20 80 7b 10 00 75 21 8d 55 f4 a1
Stack dump:
004a42b9 006e001c 00012fb6 00d720d0 00000000 818e9cec
004a2ead 006e0044 004a421f 006e004c 004a42b9 006e0044
000130b0 00d720d0 00000000 818e9cec

I am tempted to think there is a memory allociation for processing the rule set being exceeded in my case. My rule set checks that each entry in the 'to' and 'cc' list be checked to 'not' contain one of three valid receiver ID's. If at the end of the list, no valid id's are found, PopTray must mark the email to delete from server. Server deletion appears to happen after the scan is complete.

I am curious if a long list would process if a valid receiver ID was found early in the list. Ideally the the egibility would be established at the first valid ID saving the overhead that crashes PopTray on the long lists. I am willing to test or try anything that will help resolve this problem.

Roger Loftus

User avatar
Site Admin
Posts: 1957
Joined: Mon Oct 15, 2001 12:54 pm
Location: Cape Town, South-Africa

Post by Renier » Sat Jun 17, 2006 10:35 pm

I'll have to see if I can re-create it.


Who is online

Users browsing this forum: No registered users and 11 guests