Occasional / random deadlock hang on startup refreshing IMAP accounts' folders, high CPU usage
With Evolution 3.48.4 from Fedora 38, but also every previous version (I've been seeing this problem for years), I sometimes experience a weird hang on startup (this hang also sometimes happens by itself when Evolution decides to refresh IMAP accounts while running) where all the accounts are deadlocked together trying to fetch their folders/subscriptions list. This is apparently any/all IMAP accounts, not just GMail.
It seems really random so I don't know exactly when/how it happens and how to trigger it, but I think this might be easier to trigger by repeatedly shutting down (with evolution --force-shutdown
) and starting Evolution, until the race/deadlock condition happens.
When it happens, it looks like this (tons of spinners, unavailable folder lists, and tons of refresh processes in the statusbar):
Furthermore, when this happens, high CPU usage occurs (maybe because of all the spinners? or maybe because of something else). Attached is a sysprof 44 capture: evolution-random-mail-accounts-refresh-deadlock-on-startup.tar.xz
This is what's most visible at a glance in the sysprof capture: