GNOME Bugzilla – Bug 660615
Make POP3 provider more cancellable ready
Last modified: 2011-10-03 09:25:02 UTC
Created attachment 197948 [details] Backtrace generated with: gdb --batch --ex "t a a bt" -pid=4860 &>bt.txt Hello, With the release of 3.0.3 evo does not crash anymore, thanks for that. However, there are still problems with POP3 servers. Often fetching mail hangs and cancelling only continue the hang. Additionally, when deleting mails with jpeg attachments, the download still continues and hangs instead of skipping that mail. Cancelling does sometimes work, but after a long time. Are these problems known issues? An example of indefinite hang is fetching mails after some time with evo idle (except checking for mails every 20 minutes). Sometimes expunging also results in a hang. Then I have to force a quit of evo and restart. Attached is a bt when evo is locked in the state of fetching mail from the POP3 server. Clicking the red button does not help, the text only changes to: Fetching mail (cancelling). Additional information: These problems were never seen in earlier versions (2.3x, etc)
Thanks for a bug report. The backtrace shows the POP3 is waiting for a greeting reply of your server, which takes long for some reason. But looking into the backtrace more closely I see that the POP3 provider doesn't use the cancellable into subsequent calls, thus it cannot be cancelled on user's wish. I see it's still the same in 3.2.0 and git master, thus I'm confirming this.
+ Trace 228665
Thread 2 (Thread 0xa1cffb70 (LWP 22377))
Created attachment 198065 [details] [review] eds patch for evolution-data-server; This makes POP3 provider more cancellable. It would be good if you could give it a try, either if you compile yourself or you ask your distribution maintainers to provide you a test package with the patch included. I'm committing it to master and 3.2, but with your testing it'll be ensured that the fix is complete.
Created commit b079735 in eds master (3.3.1+) Created commit ccea044 in eds gnome-3-2 (3.2.1+)