Modify ↓
#390 closed bug (fixed)Crash while aborting remote filtering
Description
Hello. Was testing and just getting a remote filter working. But it was taking too long communicating with mail server and sending data back or forth. So I pressed Abort.
First YAM told me the mail server reported some error about the QUIT comand and it spewed back some unreadable text. Looked like MIME format.
YAM then crashed. Let it run again. Crashed. Tried to ignore DSIs and let it recover. Too far gone, YAM froze, and I had to reboot. But ti did manage to put the preview window up with a corrupted list of items. Looked like random memory in strings.
YAM 2.8 (24/12/2012)
NList.mcc 20.134 (22/12/2012)
muimaster.library 20.2347 (20/01/2013) Attachments (7)Change History (14)Changed 3 months ago by hypexChanged 3 months ago by hypexcomment:1 Changed 3 months ago by thboeckel
comment:2 Changed 3 months ago by thboeckel
comment:3 Changed 3 months ago by thboeckel
Please check again with the next nightly build. Unfortunately I was not able to reproduce any crashes, hence I am not 100% sure whether these are fixed as well or not. comment:4 follow-up: ↓ 7 Changed 2 months ago by hypex
Okay checked with 2.9 debug R6608 and the problem still persists.However this time the Selection window pops up over the Transfer window. The Selection window shows no sign of remote filtering or results as lit ists each new mail.
Pressed abort in Transfer window and it crashed. Collected five logs.
Version 0, edited 2 months ago
by hypex
(next)
Changed 2 months ago by hypexChanged 2 months ago by hypexChanged 2 months ago by hypexChanged 2 months ago by hypexChanged 2 months ago by hypexcomment:5 Changed 2 months ago by hypex
comment:6 Changed 2 months ago by thboeckel
comment:7 in reply to: ↑ 4 Changed 2 months ago by thboeckel
Replying to hypex:
Unfortunately I am still not able to reproduce the crashes myself. But according to the crashlogs thereis a NULL access happening. This will be fixed in the next release.
Let me explain how remote filters work. Usually all new mails on the server will be marked as "to be downloaded" and "to be deleted" (unless the "delete mail on server" option is disabled). Remote filter can invert exactly these two flags and hence cause mails to be not downloaded or to be deleted. The filter will be applied when YAM has received the single mail details (sender, subject, etc). You will only notice the effect of the remote filter if it really did change one of the two flags. Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber
| ||||||||||||||||||||||||||||



(In [6602]) * tcp/pop3.c: remote filters are now applied when getting the single message details. This makes it possible to let the filters check all available information but it also requires the user to wait until the details of all new mails have been received. Otherwise it might happen that some mails will be received although they should be filtered out. This closes #390.