Closed
Bug 776983
Opened 12 years ago
Closed 9 years ago
Filters from Global Inbox suddenly stopped working, restart resurrects them
Categories
(MailNews Core :: Filters, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: mayhemer, Unassigned)
References
Details
(Keywords: regression, regressionwindow-wanted, Whiteboard: [filterfails][regression:TB15][summary comment 11])
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120711 Thunderbird/15.0a2
http://hg.mozilla.org/releases/mozilla-aurora/rev/99faf1860ca5
2 pop3 accounts using global inbox, few filters on global inbox.
One of them that moves my bugzilla watches to a separate folder (searches for "you are watching" in body) stopped suddenly working (mails were not moved).
Manual run didn't do anything. Nothing interesting in the console, AFAICT.
After restart filter works again, automatically.
Reporter | ||
Updated•12 years ago
|
Version: 13 → 15
Do you get an error about the target folder not existing? When the filters fail, if you go into the Filter list dialog, are those filters enabled (with the check mark)?
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to :aceman from comment #1)
> Do you get an error about the target folder not existing?
It it has to be found in the error console, then I *think* not, but cannot say for sure. However, all error in error console didn't appear related.
> When the filters
> fail, if you go into the Filter list dialog, are those filters enabled (with
> the check mark)?
Hmm.. again, not sure, but I think they all were enabled.
BTW, can Thunderbird it self switch a filter to be disabled?
(In reply to Honza Bambas (:mayhemer) from comment #2)
> (In reply to :aceman from comment #1)
> > Do you get an error about the target folder not existing?
> It it has to be found in the error console, then I *think* not, but cannot
> say for sure. However, all error in error console didn't appear related.
I mean an error dialog.
> > When the filters
> > fail, if you go into the Filter list dialog, are those filters enabled (with
> > the check mark)?
> Hmm.. again, not sure, but I think they all were enabled.
> BTW, can Thunderbird it self switch a filter to be disabled?
Yes, TB itself disables filters automatically if it detects some errors (like the target folder of "copy to" missing). But it should tell the user about it.
So, can you look in the filter list if the filters are enabled if when they are not working?
Reporter | ||
Comment 4•12 years ago
|
||
Looks like I have reproduced this again (Aurora based TB). My bugzilla watch filter stopped working.
I checked for filters being allowed: all are allowed (checkboxes are ticked)
No error dialog popped up on me.
Error console shows:
Timestamp: 8/8/2012 7:21:19 PM
Error: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIChannel.asyncOpen]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: resource://gre/modules/NetUtil.jsm :: NetUtil_asyncOpen :: line 165" data: no]
Source File: resource://gre/modules/NetUtil.jsm
Line: 165
Timestamp: 8/8/2012 7:21:20 PM
Error: Please do not load stuff in the multimessage browser directly, use the SummaryFrameManager instead.
Source File: resource:///modules/summaryFrameManager.js
Line: 85
Timestamp: 8/8/2012 7:22:19 PM
Error: Component returned failure code: 0x8055000a [nsIMsgIncomingServer.getNewMessages]
Source File: chrome://messenger/content/mailWindowOverlay.js
Line: 2432
Timestamp: 8/8/2012 7:25:20 PM
Error: [Exception... "'Component is not available' when calling method: [nsIActivityManager::removeActivity]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource:///modules/activity/pop3Download.js :: <TOP_LEVEL> :: line 124" data: no]
Source File: resource:///modules/activity/pop3Download.js
Line: 124
...repeated 7 times every 2 minutes, what is one of my accounts check time (other is 1 minute).
and then few times more in different intervals (multiples of 2 minutes, so it indicates it is related to inbox checking).
I cannot keep this for a long time, since it pollutes my inbox.
Is TB15a2 the first version where these problems started?
Those error messages look really bad, something seems wrong with your profile. Have you tried restarting TB in safe mode (Help->Restart with addons disabled)?
(In reply to Honza Bambas (:mayhemer) - not reading bugmail since Aug 11th from comment #4)
> Error: [Exception... "'Component is not available' when calling method:
> [nsIActivityManager::removeActivity]" nsresult: "0x80040111
> (NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
> resource:///modules/activity/pop3Download.js :: <TOP_LEVEL> :: line 124"
> data: no]
> Source File: resource:///modules/activity/pop3Download.js
> Line: 124
>
Can you see if this may be caused by bug 648788?
Reporter | ||
Comment 7•12 years ago
|
||
(In reply to :aceman from comment #6)
> Can you see if this may be caused by bug 648788?
How do I recognize it? Will there be "'Component is not available' when calling method: [nsIActivityManager::removeActivity]" error in the error console?
If so, then this is a different bug.
By the way, I sometime also experience that filters are not run automatically, but works when I do "Run Filters on Folder" command from menu on Inbox.
(In reply to :aceman from comment #5)
> Is TB15a2 the first version where these problems started?
>
I believe so.
> Those error messages look really bad, something seems wrong with your
> profile. Have you tried restarting TB in safe mode (Help->Restart with
> addons disabled)?
The profile is relatively new and I don't know about anything that would screw it up. It was created in Earlybird, and I always only use Earlybord (I want to say I never go back in versions over this profile).
I have no extensions except Test Pilot (1.3.9) /I'm disabling it right now permanently/.
Is there any logging module I could turn on to get more info? Thinderbird is breaking, and even I would work on fixes for free I'm willing to... I like it :)
If you'd like to fix TB you are very welcome. You can find us on irc.mozilla.org, channel #maildev. If you can code in C++, HTML, CSS, Javascript you can be of help :-P We can also better diagnose the problem if you come there.
So if you are always on Earlybird, then you are now on TB17?
You can enable the filter log to see when filters match any message.
Reporter | ||
Comment 9•12 years ago
|
||
:aceman: I work for several years on the Gecko platform as a C++ dev, just to introduce my self ;)
I'm now on TB17 and I still see this issue. So, the problem should now also be on release channel (15).
I meant NSPR log module, is there any?
Comment 10•12 years ago
|
||
I thought you were already here as a dev as you already have a nickname ;) So what is stopping you from coding on TB? We'd need somebody from Gecko as they often break us ;)
There were problems of filters getting disabled when the folder tree was not expanded (target folders were not visible) but that was fixed. I can't think of anything to try now. I just think the errors from comment 4 are not good and something bigger is wrong in your profile.
There does not seem to be a NSPR module for logging filters (https://wiki.mozilla.org/MailNews:Logging). I proposed some larger logging system to rkent, but it is not there yet.
Reporter | ||
Comment 11•12 years ago
|
||
(In reply to :aceman from comment #10)
> I thought you were already here as a dev as you already have a nickname ;)
> So what is stopping you from coding on TB? We'd need somebody from Gecko as
> they often break us ;)
I always tried to do my best to prevent or quickly fix breakages of comm-central.
>
> There were problems of filters getting disabled when the folder tree was not
> expanded (target folders were not visible) but that was fixed. I can't think
> of anything to try now. I just think the errors from comment 4 are not good
> and something bigger is wrong in your profile.
I don't always see them when this (or something like this) happens. I also reported bug 795935, where more and different symptoms are observer.
> There does not seem to be a NSPR module for logging filters
> (https://wiki.mozilla.org/MailNews:Logging). I proposed some larger logging
> system to rkent, but it is not there yet.
OK, then I will try to find STR. Few hints:
- I often put my machine to standby, it *seems* to me to happen after wake up
- after wake up after some 12 hours I usually receive hundreds of emails
- one pop3 account checks for new mail every 1 minute, the other pop3 account every 2 minutes, so hi probability for collisions with async filters
- global inbox (Local Folders/Inbox) with 6 filters set all to apply "after classification" (actually, the last run option), some of them tags, some of them moves to sub-folders
- I view only favorite folders
- I have two smart folders
- I copy sent mails to the same global inbox (also problems with coping :))
Comment 12•12 years ago
|
||
Can you try increasing the mail fetching intervals?
Reporter | ||
Comment 13•12 years ago
|
||
(In reply to :aceman from comment #12)
> Can you try increasing the mail fetching intervals?
I can, let's start with 2 minutes for each. If still present I will raise again and see.
Comment 14•12 years ago
|
||
Actually can you give intervals that do not overlap soon? Like prime number of minutes, e.g. 5 and 7 ?
Reporter | ||
Comment 15•12 years ago
|
||
(In reply to :aceman from comment #14)
> Actually can you give intervals that do not overlap soon? Like prime number
> of minutes, e.g. 5 and 7 ?
Changed to 5 for both accounts.
Comment 16•12 years ago
|
||
That was meant to give one account an interval of 5 and the other one 7 so that they meet only after 5*7 minutes :)
Reporter | ||
Comment 17•12 years ago
|
||
Aha :) done.
Reporter | ||
Comment 18•12 years ago
|
||
So, I've changed the setup to be 5 mins for one account and 7 mins for the second one. I haven't experienced this bug since then.
However, there are some errors in the console (that I'm now watching) but I don't think those are worth mentioning here now.
aceman, any suggestion now? I can go back to 1 and 2 minutes setting. I've learned how to check on the console consistently now ;)
Comment 19•12 years ago
|
||
Can you see if there is some potential race?
E.g. both accounts downloading messages into one Inbox - this is true as you have Global inbox.
But is there a filter moving messages into a folder that the other account is also downloading to?
You may also check out TB16 that should be released soon.
Reporter | ||
Comment 20•12 years ago
|
||
So, after a long time (since 9/10, comment 18) I experienced this bug again. It happened around 9:00 PM of my local time, I found first bugzilla mail after that time not moved to the watching folder. Long after the filters were already "broken" I was also sending an email and it failed to copy to the Inbox: the send info dialog was hanging on "Copying email to send email" - or what is the exact text. After I pressed the cancel button I got to the usual ping-pong of "count not copy, retry?". Retry failed this time as well.
There was nothing in the error console... :(
So, this is a race when using two accounts in global inbox. When I get ready, I will switch back to 1 and 2 minutes updates and try to find more clues.
Any suggestions for some NSPR logging to turn on?
Comment 21•12 years ago
|
||
Are you on TB16 already?
Reporter | ||
Comment 22•12 years ago
|
||
(In reply to :aceman from comment #21)
> Are you on TB16 already?
I'm on 18. I'm on Aurora (Earlybird) channel all the time.
Comment 23•12 years ago
|
||
You could try to log pop3:5 and msgdb:5 as NSPR modules, but the log may grow quite a lot until you hit the bug. Then you need to trim it a bit.
Reporter | ||
Comment 24•12 years ago
|
||
I have to say this usually happens when I send an email regardless the error about not being able to save the sent message to Inbox.
I have one log with pop3:5 and msgdb:5 but it is some 7GB long. Staring at it and checking any issues around the time the issue appeared doesn't tell me anything. However, I'm willing to provide it or its interesting parts.
I turned off logging since bug 817725.
Comment 25•12 years ago
|
||
when filter fails, does filter log indicate the messages were/should have been filtered?
Reporter | ||
Comment 26•12 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #25)
> when filter fails, does filter log indicate the messages were/should have
> been filtered?
Where can I find the filter log?
Comment 27•12 years ago
|
||
(In reply to Honza Bambas (:mayhemer) from comment #26)
> (In reply to Wayne Mery (:wsmwk) from comment #25)
> > when filter fails, does filter log indicate the messages were/should have
> > been filtered?
>
> Where can I find the filter log?
Options | security | junk
"enable adaptive junk filter logging" checkbox, and "show log" button
Reporter | ||
Comment 28•11 years ago
|
||
I'm still on Earlybird. Last week or so this happens (or a variance if this) for me regularly once a day! It's during a regular run (no suspends/crashes/outages/whatever) when I suddenly find out this doesn't work. Really bad...
The unexpected behavior exactly is:
- move filters are not able to move stuff (bugzilla watch)
- junk/spam is marked (the flame icon) but not moved to the Junk folder
- clicking the flame icon to unmark and mark again as spam doesn't move the mail
- doing manual "Move to" on a message doesn't move it, nothing happens
Error console shows nothing :( Activity monitor as well...
Severity: normal → major
Comment 30•10 years ago
|
||
per comment 15
Keywords: regression,
regressionwindow-wanted
Whiteboard: [regression:TB15]
Comment 31•10 years ago
|
||
(In reply to Honza Bambas (:mayhemer) from comment #28)
> - doing manual "Move to" on a message doesn't move it, nothing happens
"Move of any mail in any mail folder to any mail folder" does do nothing?
Or specific folder only phenomenon?
> Error console shows nothing :( Activity monitor as well...
No error(exception) in Error Console since initial of restart of Tb?
Or Error Console is cleared before trying to do "move mail" and "no error message upon the try"?
Do you see your problem without Global Inbox use?
(If inconvenient, create Search folder with search target=Inbox of all required accounts. This is similar to Inbox in Unified Folder View. If you do "click other folder then click the search folder for Inboxes" before you access mails in Inbox via search folder, refresh of search folder is executed. Because there is problem in Threading if Search Folder, please be careful if you love threaded display.)
"Number of handle" is large in Task Manager display?
Can you check without Addons? If no, can you check with mandatory Addon only in daily use?
Comment 32•10 years ago
|
||
Where filter is defined? Each POP3 account? Global Inbox Account(deferred to account, Local Folders usually)? Both?
"Before classification" "After classification"?
"Frequency of problem was reduced by increasing new mail check interval" indicates problem like "contention due to Global Inbox".
Will frequency of problem be reduced by both of next?
- Message filter for "Local Folders" only. No message filter for each POP3 account.
(message filter rule is saved in msgFilterRules.dat file under mail directory of each account)
- "After classification" (if global inbox owner, "after classification" is perhaps forced)
Do you use action of "Delete" or "Stop further filter execution" in message filter rule?
Comment 33•10 years ago
|
||
Have we experimented yet to see if the failures stop if each pop account filters to a DIFFERENT folder?
Flags: needinfo?(honzab.moz)
Whiteboard: [regression:TB15] → [regression:TB15][filterfails]
Reporter | ||
Comment 34•10 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #33)
> Have we experimented yet to see if the failures stop if each pop account
> filters to a DIFFERENT folder?
No, I have a global inbox. Sorry, I will not change the profile configuration to check this.
Flags: needinfo?(honzab.moz)
Comment 35•10 years ago
|
||
Sorry, I didn't mean splitting Global Inbox. I had the mistaken impression that a significant volume of messages are filtered from multiple Inboxes TO one or more common folders.
I imagine this just another example of a type issue that wada has commented on in many bug reports
Summary: Filters suddenly stopped working, restart helps to resurrect them → Filters from Global Inbox suddenly stopped working, restart resurrects them
Whiteboard: [regression:TB15][filterfails] → [filterfails][regression:TB15][summary comment 11]
Reporter | ||
Comment 36•10 years ago
|
||
Earlybird 36.0a2 (2015-01-09).
So, recently I removed my zimbra profile and left just my freemail account (POP3) I use for bugzilla etc (@mozilla.com is now simply forwarded to this address).
*Now I have just a single account* still using the Global Inbox. My Global Inbox filters are left in as well.
Few days ago, this bug started to appear again. Usually twice or more every day.
Just updated to most recent Earlybird (I have to do it manually despite my auto-update settings..., it's all so broken...) Will report if it got better or not.
Comment 37•9 years ago
|
||
(In reply to Honza Bambas, off till Nov 19 (:mayhemer) from comment #36)
> Earlybird 36.0a2 (2015-01-09).
>
> So, recently I removed my zimbra profile and left just my freemail account
> (POP3) I use for bugzilla etc (@mozilla.com is now simply forwarded to this
> address).
>
> *Now I have just a single account* still using the Global Inbox. My Global
> Inbox filters are left in as well.
>
> Few days ago, this bug started to appear again. Usually twice or more every
> day.
>
> Just updated to most recent Earlybird (I have to do it manually despite my
> auto-update settings..., it's all so broken...) Will report if it got
> better or not.
Did it get better?
Reporter | ||
Comment 38•9 years ago
|
||
(In reply to Wayne Mery (:wsmwk, use Needinfo for questions) from comment #37)
> (In reply to Honza Bambas, off till Nov 19 (:mayhemer) from comment #36)
> > Earlybird 36.0a2 (2015-01-09).
> >
> > So, recently I removed my zimbra profile and left just my freemail account
> > (POP3) I use for bugzilla etc (@mozilla.com is now simply forwarded to this
> > address).
> >
> > *Now I have just a single account* still using the Global Inbox. My Global
> > Inbox filters are left in as well.
> >
> > Few days ago, this bug started to appear again. Usually twice or more every
> > day.
> >
> > Just updated to most recent Earlybird (I have to do it manually despite my
> > auto-update settings..., it's all so broken...) Will report if it got
> > better or not.
>
> Did it get better?
It seems to be OK now. I'm currently on 44.0a2 (2015-10-30).
Comment 39•9 years ago
|
||
> It seems to be OK now
Thanks for the update
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•