You are not logged in.
Since I've updated mutt recently, I'm experiencing a very annoying bug: mutt hangs when the editor returns after writing an email for more than ~5 minutes.
I've tried using different editors, did not help.
I'm usually using mutt-sidebar, but the stock package from the official repo behaves the same way. Did not try downgrading though.
There are no warning/error messages whatsoever.
Any clue?
Last edited by Ambrevar (2014-05-05 13:57:01)
Offline
Err, actually it hangs after ~5 minutes even when no editor was fired. So if I just launch Mutt and do nothing for 5 minutes, the UI hangs.
Offline
What is it doing? How do you fetch your mail: through mutt or an external program? If the former, is it your mail server that is at issue?
What debugging have you tried? mutt can be built with +DEBUG and a log level. Or you could run a backtrace. Narrowing down your issue is the first step.
Offline
A simple test would be to check your muttrc for timeouts/time values of 5 minutes. Change them to 10 ... or to 1, and see if the behavior follows. This would not help with a solution, but it would pinpoint which periodic process is causing the hang. But this also depends on the information requested above: if mutt is checking for new mail every 5 minutes (highly likely) then the tool/program/process that is used for checking for new mail is the target.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I had similar problem with mutt and gmail. Don't remember details (it was 3 or 4 years ago) but I think decreasing 'imap_keepalive' helped (I've set to 300 seconds). That or it could be 'timeout'.
Offline
I am using some Gmail accounts, plus embedded IMAP+SMTP support. Changing imap_keepalive from 300 to 30 seems to solve this issue. A week ago it was perfectly fine, so I wonder what happened in the meantime.
Sorry for not investigating this a little further before posting, I have not much time at the moment. Beside, I really need mutt and this bug makes it unusable. I'll try to have a look at the debug details in a while.
Offline
mutt's IMAP support is not the best. It's simpler and less painful to use another purpose-built tool like OfflineIMAP or mbsync.
Offline