GNOME Bugzilla – Bug 638247
Deadlock when enables an account
Last modified: 2011-01-13 12:43:06 UTC
evolution 2.91.4 glib master gtk 2.24 openchange r2134 I have account configured already which is disabled. When i go to edit -> preferences and enables the account, evolution becomes upresponsive and UI hangs completely. gdb traces of evolution (gdb) t a a bt
+ Trace 225307
Thread 1 (Thread 0xb5fe6830 (LWP 4306))
Similar hang when tried to enable another account
+ Trace 225308
Thread 1 (Thread 0xb5fe6830 (LWP 24413))
Confirming. Steps: a) disable MAPI account b) close all evolution-related processes c) delete ~/.local/share/evolution/mapi-profiles.ldb d) run evolution e) Edit->Preferences->Mail Accounts->enable MAPI account
Created attachment 178217 [details] [review] ema patch for evolution-mapi; Doing couple things in an extra thread and other couple things in the main thread fixes the deadlock. The code complexity increased slightly, but in a good manner.
Crated commit dad54aa in ema master (2.91.6+)