GNOME Bugzilla – Bug 628866
Evolution hangs while moving a local folder to the IMAP account
Last modified: 2011-02-08 10:43:56 UTC
When moving directory from local folder to IMAP folder, Evolution hangs: 19456: evolution ----------------- lwp# 1 / thread# 1 -------------------- ff247788 lwp_park (0, 0, 0) ff076328 g_static_rec_mutex_lock (2629b40, ff2402e0, 1, ff105c5c, 23bb4, 2629b48) + 138 fbfb5278 message_info_from_uid (2618448, 1757110, 28, 4afe8, 2629b18, fc000248) + 1c fd041ae4 e_mail_reader_check_state (f91e08, 0, 0, 0, 0, 0) + 1a4 fd0409f4 mail_reader_update_actions (f91e08, 8ac60, 1, fd0ab3e8, 6aa08, fd0409dc) + 18 ff12f9a4 g_closure_invoke (fe6b48, 0, 1, 22794a8, ffbfe26c, 0) + 120 ff14684c signal_emit_unlocked_R (100, ff16e908, 1056980, ff159e94, ff16e8f4, f91e08) + 804 ff145b40 g_signal_emit_valist (18, 22794a8, 0, ffbfe480, 0, f91e08) + 62c ff145e1c g_signal_emit (f91e08, 1fb, 0, fd0b3ddc, 69668, 8800) + 1c fd136778 mail_shell_view_update_actions (ee0340, 3450, f91e08, 1dd28, fd154424, fd1366f8) + 80 ff12f9a4 g_closure_invoke (8b490, 0, 1, 332d978, ffbfe654, 0) + 120 ff14684c signal_emit_unlocked_R (100, ff16e908, 1056880, ff159e94, ff16e8f4, ee0340) + 804 ff145b40 g_signal_emit_valist (18, 332d978, 0, ffbfe868, 0, ee0340) + 62c ff145e1c g_signal_emit (ee0340, c9, 0, fd356b60, 21e64, 3800) + 1c ff12f9a4 g_closure_invoke (10267c8, 0, 4, 41d7c18, ffbfe9c4, 0) + 120 ff146bcc signal_emit_unlocked_R (103, ff16e908, 1026ae0, ff159e94, ff16e8f4, 1024088) + b84 ff145b40 g_signal_emit_valist (3, 41d7c18, 0, ffbfebe4, 0, 1024088) + 62c ff145e1c g_signal_emit (1024088, 244, 0, 27e4690, 2dbabd0, 8) + 1c fd058cf4 folder_tree_selection_changed_cb (7a00, 7800, 34029a0, 527f8, fd0ab3e8, fd058bec) + 108 ff12f9a4 g_closure_invoke (101bc48, 0, 1, 2291098, ffbfedd4, 0) + 120 ff146bcc signal_emit_unlocked_R (100, ff16e908, 10225c0, ff159e94, ff16e8f4, 1022400) + b84 ff145b40 g_signal_emit_valist (18, 2291098, 0, ffbfefe8, 0, 1022400) + 62c ff145e1c g_signal_emit (1022400, cd, 0, d800, 0, 0) + 1c fea9366c gtk_tree_view_real_set_cursor (1024088, 73a108, 1, 1, 10, 241fb48) + 140 fea81bc8 gtk_tree_view_button_press (1024088, 5866f80, 10240d8, 0, 73a108, febfc864) + 788 fd05904c folder_tree_button_press_event (1024088, 5866f80, 7a10, 1024088, fd0b2df8, 7800) + 15c fe986178 _gtk_marshal_BOOLEAN__BOXED (50002, ffbff440, fd058ef0, 119e950, 773e0, 1024088) + c0 ff12f9a4 g_closure_invoke (773e0, ffbff440, 2, 119e950, ffbff42c, 0) + 120 ff1473e0 signal_emit_unlocked_R (7b2a8, ff16e908, 10226e0, ff159e94, ff16e8f4, 1024088) + 1398 ff145b9c g_signal_emit_valist (0, 119e950, 0, ffbff644, 14, 1024088) + 688 ff145e1c g_signal_emit (1024088, 21, 0, 5866f80, ffbff654, 211fc0) + 1c feaaf9b0 gtk_widget_event_internal (1024088, 5866f80, feaaf6b0, 16c, 4, 15) + 268 fe984cdc gtk_propagate_event (b9400, 5866f80, 5, 277c84, 951, 1024088) + 100 fe983b10 gtk_main_do_event (0, fe9837f8, 5866f80, 314, 14, fe983890) + 280 fef5fb0c gdk_event_dispatch (4b3b8, fefacdd4, 5866f80, 42028, fefa9eb0, 20) + 7c ff04ae18 g_main_dispatch (4e0f8, 4e100, 0, 0, ff105c5c, fef5fa90) + 1e4 ff04c4e4 g_main_context_dispatch (23bbc, 4e100, 2c, 23bc0, 4e100, 4e0f8) + cc ff04ca14 g_main_context_iterate (4e0f8, 1, 1, b, 1, 23bc0) + 4a4 ff04d268 g_main_loop_run (bee520, 10, 0, ff105c5c, 1, 26d20) + 38c fe983148 gtk_main (20, 1, 0, bee520, fec09c18, d3b4) + d8 00012914 main (12000, 2398c, a4020, 23800, 1322c, 13000) + 240 00011d28 _start (0, 0, 0, 0, 0, 0) + 108 ----------------- lwp# 2 / thread# 2 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (255408, 3efb50, 0, 0, 0, 0) + 4c ff241d78 cond_wait (255408, 3efb50, b2840, 3, ff105c5c, 0) + 10 ff241db4 pthread_cond_wait (255408, 3efb50, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (3efb70, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (3efb70, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (43d380, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (43cf28, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 4 / thread# 4 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (5090d0, 5069b0, 0, 0, 0, 0) + 4c ff241d78 cond_wait (5090d0, 5069b0, 1, 0, 0, 0) + 10 ff241db4 pthread_cond_wait (5090d0, 5069b0, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (506990, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (506990, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (44e790, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (509f48, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 16 / thread# 16 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (5e9f80, 5f23c8, 0, 0, 0, 0) + 4c ff241d78 cond_wait (5e9f80, 5f23c8, 1, 0, 0, 0) + 10 ff241db4 pthread_cond_wait (5e9f80, 5f23c8, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (5f23a8, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (5f23a8, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (5ecc68, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (5eb818, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 17 / thread# 17 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (85bba0, 854e70, 0, 0, 0, 0) + 4c ff241d78 cond_wait (85bba0, 854e70, 1, 0, 0, 0) + 10 ff241db4 pthread_cond_wait (85bba0, 854e70, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (854e50, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (854e50, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (5f1bb0, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (5ea700, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 163 / thread# 163 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (fa8090, ee93f0, 0, 0, 0, 0) + 4c ff241d78 cond_wait (fa8090, ee93f0, b2840, 3, ff105c5c, 0) + 10 ff241db4 pthread_cond_wait (fa8090, ee93f0, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (ee93d0, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (ee93d0, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (f0a0e8, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (edf2e0, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 1023 / thread# 1023 -------------------- ff247788 lwp_park (0, 0, 0) ff076328 g_static_rec_mutex_lock (2629b40, ff2402e0, 1, ff105c5c, 23bb4, 2629b48) + 138 fbfb6d38 save_message_infos_to_db (2618448, 0, 24edee0, a42c0, 49558, 24edee0) + 54 fbfb6ecc camel_folder_summary_save_to_db (2618448, 40b1074, 4e270, 509118, fbfe8968, 39) + 138 fbfb2100 camel_folder_search_search (17c00, f177be10, 0, 40b1074, fffe8350, 2503fe0) + 94 fa718c90 local_search_by_expression (24edee0, f177be10, 40b1074, 0, 20e4c, fa739a3c) + a4 fd08b00c regen_list_exec (40b1060, 0, f27858, ff2e2000, 40b1060, f177be10) + 1a4 fd076a7c mail_msg_proxy (40b1060, 0, 34a10, 50c00, fde67a00, 236fec0) + ac ff078c04 g_thread_pool_thread_proxy (102b9c8, 40b1060, 0, ff105c5c, 23bbc, 23b84) + 84 ff0771bc g_thread_create_proxy (57f7878, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 1000 / thread# 1000 -------------------- ff247788 lwp_park (0, 0, 0) fd61fef0 camel_db_begin_transaction (509118, 0, 30, 0, fd654328, fd66a810) + 7c fd6222d4 cdb_delete_ids (509118, 251d078, 34bfe08, fd6557b0, fd6545e4, 0) + 70 fa720480 camel_mbox_summary_sync_mbox (2618448, ee77bbb0, 0, a42c0, 4d, 1) + 4f8 fa71f4fc mbox_summary_sync_full (2618448, 1, 25044c8, 0, fffeedb0, 1a638) + fc fa71fea8 mbox_summary_sync (2618448, 1, 25044c8, 0, fffef1b8, 10000) + 1b4 fa7189cc local_sync (24edee0, 1, 0, 24edee0, 210c8, fa739a3c) + 5c fbfbe28c camel_folder_sync (24edee0, 1, fa718970, 408c8, 42064, 0) + ac fd05fec8 emft_copy_folders__exec (3544250, 3532378, fffe97d0, 1af22a0, ae8740, 6) + 240 fd076a7c mail_msg_proxy (19c1b88, 0, 34a10, 50c00, fde6aa00, 2df0a10) + ac ff078c04 g_thread_pool_thread_proxy (ad2f90, 19c1b88, 0, ff105c5c, 23bbc, 23b84) + 84 ff0771bc g_thread_create_proxy (5695e10, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 22 / thread# 22 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (af0380, ae8188, 0, 0, 0, 0) + 4c ff241d78 cond_wait (af0380, ae8188, b2840, 3, ff105c5c, 0) + 10 ff241db4 pthread_cond_wait (af0380, ae8188, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (ae81e8, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (ae81e8, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (aeda50, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (ad23e0, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 23 / thread# 23 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (b35418, b2e1b0, 0, 0, 0, 0) + 4c ff241d78 cond_wait (b35418, b2e1b0, 1, 0, 0, 0) + 10 ff241db4 pthread_cond_wait (b35418, b2e1b0, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (b2e190, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (b2e190, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (b01040, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (b01158, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 24 / thread# 24 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (b81528, b7de18, 0, 0, 0, 0) + 4c ff241d78 cond_wait (b81528, b7de18, 1, 0, 0, 0) + 10 ff241db4 pthread_cond_wait (b81528, b7de18, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (b7ddf8, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (b7ddf8, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (b84800, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (b83678, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 25 / thread# 25 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (b9a988, b94e18, 0, 0, 0, 0) + 4c ff241d78 cond_wait (b9a988, b94e18, 1, 0, 0, 0) + 10 ff241db4 pthread_cond_wait (b9a988, b94e18, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (b94df8, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (b94df8, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (b9a538, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (b83f18, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 1025 / thread# 1025 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (2a6b008, 348da68, 0, 0, 0, 0) + 4c ff241d78 cond_wait (2a6b008, 348da68, b2840, 3, ff105c5c, 0) + 10 ff241db4 pthread_cond_wait (2a6b008, 348da68, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (33e95e8, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (33e95e8, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (44e7d0, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (24362d0, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 440 / thread# 440 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (17498e8, a7fdf8, 0, 0, 0, 0) + 4c ff241d78 cond_wait (17498e8, a7fdf8, b2840, 3, ff105c5c, 0) + 10 ff241db4 pthread_cond_wait (17498e8, a7fdf8, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (776fc8, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (776fc8, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (2a74d50, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (25a7400, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 164 / thread# 164 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (ee4890, ee56d8, 0, 0, 0, 0) + 4c ff241d78 cond_wait (ee4890, ee56d8, 1, 0, 0, 0) + 10 ff241db4 pthread_cond_wait (ee4890, ee56d8, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (ee56b8, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (ee56b8, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (ee5530, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (f143b0, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 439 / thread# 439 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (9c1c70, 114ea40, 0, 0, 0, 0) + 4c ff241d78 cond_wait (9c1c70, 114ea40, b2840, 3, ff105c5c, 0) + 10 ff241db4 pthread_cond_wait (9c1c70, 114ea40, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (1a6d100, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (1a6d100, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (2a74d90, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (a1c1c0, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 379 / thread# 379 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (28d3720, 28d1c88, 0, 0, 0, 0) + 4c ff241d78 cond_wait (28d3720, 28d1c88, b2840, 3, ff105c5c, 0) + 10 ff241db4 pthread_cond_wait (28d3720, 28d1c88, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (28d1c68, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (28d1c68, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (2874778, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (271e7d0, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 380 / thread# 380 -------------------- ff247788 lwp_park (0, 0, 0) ff24173c cond_wait_queue (2aa7a28, 28d1d48, 0, 0, 0, 0) + 4c ff241d78 cond_wait (2aa7a28, 28d1d48, b2840, 3, ff105c5c, 0) + 10 ff241db4 pthread_cond_wait (2aa7a28, 28d1d48, 4b400, 0, 1, ff241dac) + 8 ff01fc94 g_async_queue_pop_intern_unlocked (28d1d28, 23b68, 0, 23bbc, 23b8c, ff105c5c) + b0 ff01fe4c g_async_queue_pop (28d1d28, fffaf064, 23b74, 50c00, ff105c5c, ff0b4cc0) + cc fd61e88c sync_request_thread_cb (2874738, 0, ff2e6400, fd66a810, 4bfa8, 0) + 28 ff0771bc g_thread_create_proxy (26afbd0, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0) ----------------- lwp# 1007 / thread# 1007 -------------------- ff247788 lwp_park (0, 0, 0) fa718f0c local_search_free (24edee0, 40c6450, 0, 24edee0, fa739a3c, 5d9110) + 5c fbfe30ec folder_changed_change (1, ff2407dc, 0, fbfef850, 2295c00, 40c6450) + d38 fbfd457c session_thread_proxy (1a84c0, 1800468, 1800468, 50c00, fde63a00, fc0042e4) + 38 ff078c04 g_thread_pool_thread_proxy (ada7c0, 1800468, 0, ff105c5c, 23bbc, 23b84) + 84 ff0771bc g_thread_create_proxy (47071f8, ff1087e0, 2b6c, 23bc0, 23b9c, ff1087e0) + 160 ff247704 _lwp_start (0, 0, 0, 0, 0, 0)
Dead lock occurs due to the different locking sequence on camel db lock and the folder summary lock. In camel_mbox_summary_sync_mbox, the folder summary is first locked, then cdb is locked in camel_db_delete_uids. But in camel_folder_summary_save_to_db, the locking sequence is reversed.
Created attachment 169926 [details] [review] Change the lock sequence in line with the local
Review of attachment 169926 [details] [review]: This patch can not solve the issue.
It looks like there 's no easy way to solve the mutex lock sequence issue. In the camel_mbox_sync_mbox, the summary lock controls more than 200 lines of code and the operation on camel db requires to be atomic. This is a little complicated.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 562529 ***