Running mail filters -- non stop (bug?)
-
@mossman My intension was not to promote a measure which is already known and which does not work for everyone. My intension was to help @Ayespy understand that the 'Running mail filters...' -non stop issue is not caused or triggered by a weird user action with a 1ppm occurence but something that goes wrong in Vivaldi. Maybe not permanently and for everyone but obviously it's an issue as it's neither a feature, nor is it a wanted or acceptable behaviour.
Increased CPU load and unresettable mail counter may be helpful aspects when trying to find the root cause for this malfunction. But as well they may be seperate effects that popped up at the same time by accident. -
@zytozid said in Running mail filters -- non stop (bug?):
I created a filter rule some days ago, since then I get the non stop "Running mail filters..." bug with high CPU load.
.....and if you delete that filter, does it return?
-
I can reproduce the misbehaviour on my machine:
What happened:
- I had deleted the C:\Users\Claus\AppData\Local\Vivaldi\User Data\Default\Storage\ext\mpognobbkildjkofajifpdfhcoklimli directory and re-indexed an re-fetched all mail (IMAP my friend...). CPU for Vivaldi was low at 0-1%.
- I hit RMB 'Re-run filters' for different mail folders although there was no weird <new unread> indicator. Each time the status message 'Running mail filters...' poped up just for a second.
- I hit RMB 'Re-run filters' on the 'Filters' line. Status message 'Running mail filters...' poped up and decided to stay. CPU for Vivaldi raised to 7% permanently.
That's just it.
The round before I had two filters defined and the same happened. I deleted the two filters but that didn't stop CPU and permanent 'Running mail filters...' display.
Knowing that a newly created ...limli directory cured the issue I backuped the directory for good and bad situations to compare the content. Result is shown here:
Maybe it helps identify where the bug is hidden. However I hope that the developers can reproduce the misbehaviour now which is the basis for locating bugs...
-
@clausr Thank you very much for your comments.
Until now I thought that my mail database is corrupted.
So I tested the following with the current stable and snapshot version on Ubuntu 20.04 LTS:
Added a new profile and a feed. As soon as you run the command "Rerun Filter for Folder" under "All Message" or "Filters", you get into the "Running mail filters ..." loop, combined with a very high CPU load.Bugreport: : VB-87361: "Rerun Filter for folder" --> run into the "Running mail filters ..." loop --> High CPU usage
-
@mottenmouse It's the "filters folder" rerun that appears to cause this. I was able to stop it by deleting the mail indexing folder from my profile and allowing it to rebuild (can take a long time) but I think the problem is that this can be an invalid command. "Filters" is not a folder with a filter - but a command tree. So Vivaldi actually cannot rerun a filter on it, as there is none, and gets stuck forever trying. I will have a chat with a mail developer about this. Unfortunately, I'm over 8 hours behind them, so our conversations can take a long time. This context menu option should not be available for that item.
-
To add to this info gathering, I think in my case I performed the action on the feeds category - so similar to running on all messages or "filters" categories...
-
@mossman There's some dev work on the issue at present. Let's see what the next build brings.
-
@ayespy I ran Email logs & got the following result
I don't know what it means but when you scroll down to the 2-3rd page, it looks very strange even though I don't know what I'm talking about. I think this log supports your thesis which may help solve the problem. At least, I hope so.
-
Follow-up - for me it is fixed in snapshot 5.2.2617.2
-
This post is deleted! -
This post is deleted! -
@mossman said in Running mail filters -- non stop (bug?):
Follow-up - for me it is fixed in snapshot 5.2.2617.2
Not here.....so far
-
@janrif The you may need to delete the mail indexing file and let it re-index.
-
Please - rather than simply deleting it - move the folder / make a backup if you want to test this. POP3 Mail will not be shown any more afterwards and Feeds (at least for me) will neither be shown nor retrieved but are broken.
-
@jumpsq OH, yeah. POP3. Forgot about that...
-
-
This post is deleted! -
This (filters running forever) happened to me too. I triggered it by moving 20k messages from one account to another via Thunderbird (its GUI is intimidating but man, can it do stuff!) while also being connected to those mail accounts through Vivaldi. I managed to stop it be deleting "Storage/ext/mpognobbkildjkofajifpdfhcoklimli", which was not enough, so I bisected my Preferences file and found out (using this: https://jsonformatter.org/json-viewer ) that I needed to remove extensions>settings>mpognobbkildjkofajifpdfhcoklimli (I lost my filters though). I am on 5.2, so maybe my issue is not what was fixed above.