After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 617261 - evolution didn't quit due to deadlock
evolution didn't quit due to deadlock
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
2.30.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[imapx]
: 621221 (view as bug list)
Depends on: 550414
Blocks:
 
 
Reported: 2010-04-30 09:11 UTC by Akhil Laddha
Modified: 2010-06-10 17:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30


Attachments
proposed eds patch (688 bytes, patch)
2010-05-24 11:30 UTC, Milan Crha
committed Details | Review

Description Akhil Laddha 2010-04-30 09:11:44 UTC
evolution 2.31.1

What i did : evolution were fetching mails via imapx, disabled account in the mean while and clicked on 'X' to quit evolution but it didn't quit.

Program received signal SIGINT, Interrupt.
0xffffe430 in __kernel_vsyscall ()
(gdb) t a a bt


Comment 1 Milan Crha 2010-05-24 11:26:59 UTC
I just got the same with MAPI, the cfs_reload_from_db holds the db lock, but requests SUMMARY_LOCK, where the other thread holds SUMMARY_LOCK, but requests db lock. These two are waiting on each other.
Comment 2 Milan Crha 2010-05-24 11:30:06 UTC
Created attachment 161852 [details] [review]
proposed eds patch

for evolution-data-server;

Thus holding summary lock before db lock should fix the issue. Could you give it a try let me know, please? Thanks in advance.
Comment 3 Milan Crha 2010-06-02 11:36:09 UTC
I had a similar issue on gnome-2-30 too, though it would be safer to commit after patch for bug #550414, though it's still under testing. (The change there good for this bug is to create a recursive locks from mutexes used in camel folder summary, to not get into locking issue.


Comment 4 Milan Crha 2010-06-02 11:38:40 UTC
Created commit ed3eb6b in eds master (2.31.3+)
Comment 5 Milan Crha 2010-06-10 17:02:34 UTC
*** Bug 621221 has been marked as a duplicate of this bug. ***
Comment 6 Milan Crha 2010-06-10 17:12:02 UTC
Created commit ceb691f in eds gnome-2-30 (2.30.2+)