GNOME Bugzilla – Bug 680502
Deadlock in contacts backend
Last modified: 2012-07-24 07:08:41 UTC
Moving this from a downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=841005 Contacts backend can stuck calendar factory on ESource change, as indicated in this backtrace. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". [New Thread 0xb5fffb40 (LWP 1579)] [New Thread 0xb7397b40 (LWP 1577)] 0xb7709424 in __kernel_vsyscall ()
+ Trace 230570
Thread 1 (Thread 0xb76e9740 (LWP 1576))
The issue here is that source_changed_cb hold mutex which create_book_record needs to use too.
Created attachment 219549 [details] [review] eds patch for evolution-data-server (3.4.3); Basically changing the mutex to rec_mutex fixes the issue.
Created commit 9316261 in eds master (3.5.5+) Created commit d56ed59 in eds gnome-3-4 (3.4.4+)