GNOME Bugzilla – Bug 664639
[IMAPX] Doesn't quit gracefully on account disable
Last modified: 2013-09-14 16:55:46 UTC
Evolution 3.3.3 1. Disable imapx account 2. Quit evolution 3. Status bar says 'Disconnecting IMAP server ... ' 4. Even after waiting for 10 minutes, evolution didn't quit gdb trace of evolution (evolution:14966): camel-CRITICAL **: camel_folder_get_parent_store: assertion `CAMEL_IS_FOLDER (folder)' failed (evolution:14966): camel-CRITICAL **: camel_service_get_session: assertion `CAMEL_IS_SERVICE (service)' failed (evolution:14966): camel-CRITICAL **: camel_folder_get_parent_store: assertion `CAMEL_IS_FOLDER (folder)' failed (evolution:14966): camel-CRITICAL **: camel_service_get_session: assertion `CAMEL_IS_SERVICE (service)' failed (evolution:14966): camel-CRITICAL **: camel_folder_get_parent_store: assertion `CAMEL_IS_FOLDER (folder)' failed (evolution:14966): camel-CRITICAL **: camel_service_get_session: assertion `CAMEL_IS_SERVICE (service)' failed (evolution:14966): camel-CRITICAL **: camel_folder_get_parent_store: assertion `CAMEL_IS_FOLDER (folder)' failed (evolution:14966): camel-CRITICAL **: camel_service_get_session: assertion `CAMEL_IS_SERVICE (service)' failed ^C Program received signal SIGINT, Interrupt. pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170 170 ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: No such file or directory. in ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S (gdb) t a a bt
+ Trace 229106
Thread 2 (Thread 0xb5e4ab70 (LWP 14967))
Thread 1 (Thread 0xb6125890 (LWP 14966))
Similar case happened again.
+ Trace 229107
Thread 2 (Thread 0xb5e4ab70 (LWP 12825))
gdb trace for critical warnings (gdb) bt
+ Trace 229108
Continuing. (evolution:14966): camel-CRITICAL **: camel_session_submit_job: assertion `CAMEL_IS_SESSION (session)' failed
*** Bug 664670 has been marked as a duplicate of this bug. ***
*** Bug 665979 has been marked as a duplicate of this bug. ***
Created attachment 212940 [details] [review] eds patch for evolution-data-server; This fixed it for me, the activity is run for couple seconds, but then it finally finishes and imapx threads are gone.
Created commit 0660a48 in eds master (3.5.1+)
Just for a record, two follow-up commits: http://git.gnome.org/browse/evolution-data-server/commit/?id=6992df26967b60d4b http://git.gnome.org/browse/evolution-data-server/commit/?id=24ec80fc75af605a7
I backported all three changes in one commit to stable too, in a hope that it'll help with suspend/resume: Created commit b2dde29 in eds gnome-3-4 (3.4.3+)