GNOME Bugzilla – Bug 543532
Invalid writes when disable an account
Last modified: 2013-09-13 01:01:15 UTC
Evolution 2.23.5 I went to preference window and disabled the imap account, evolution showed some invalid writes. ==4426== ==4426== Thread 1: ==4426== Invalid read of size 4 ==4426== at 0xA81D9F7: em_folder_tree_model_remove_folders (em-folder-tree-model.c:882) ==4426== by 0xA81DDFE: em_folder_tree_model_remove_store (em-folder-tree-model.c:941) ==4426== by 0xA81E613: account_changed (em-folder-tree-model.c:399) ==4426== by 0x5979C69: g_cclosure_marshal_VOID__OBJECT (gmarshal.c:636) ==4426== by 0x596BC2A: g_closure_invoke (gclosure.c:767) ==4426== by 0x5983424: signal_emit_unlocked_R (gsignal.c:3256) ==4426== by 0x5984B5F: g_signal_emit_valist (gsignal.c:2988) ==4426== by 0x5984FE5: g_signal_emit (gsignal.c:3046) ==4426== by 0x471AFD5: e_account_list_change (e-account-list.c:367) ==4426== by 0xEBA9DF8: mail_account_disable (mail-account-disable.c:70) ==4426== by 0x42548F1: ep_activate (e-popup.c:295) ==4426== by 0x5979AE3: g_cclosure_marshal_VOID__VOID (gmarshal.c:77) ==4426== Address 0x5e49734 is 12 bytes inside a block of size 40 free'd ==4426== at 0x4023B7A: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==4426== by 0x59E9615: g_free (gmem.c:190) ==4426== by 0xA81EA3D: store_info_free (em-folder-tree-model.c:250) ==4426== by 0x59D326A: g_hash_table_remove_node (ghash.c:204) ==4426== by 0x59D41F0: g_hash_table_remove_internal (ghash.c:848) ==4426== by 0xA81D9F6: em_folder_tree_model_remove_folders (em-folder-tree-model.c:881) ==4426== by 0xA81DDFE: em_folder_tree_model_remove_store (em-folder-tree-model.c:941) ==4426== by 0xA81E613: account_changed (em-folder-tree-model.c:399) ==4426== by 0x5979C69: g_cclosure_marshal_VOID__OBJECT (gmarshal.c:636) ==4426== by 0x596BC2A: g_closure_invoke (gclosure.c:767) ==4426== by 0x5983424: signal_emit_unlocked_R (gsignal.c:3256) ==4426== by 0x5984B5F: g_signal_emit_valist (gsignal.c:2988) ==4426==
Created attachment 114926 [details] [review] proposed evo patch for evolution; I guess this should help. Can you test for me, please? (I have a bit unstable evo at the moment because of the db-summary, thus your help will be appreciated. Thanks a lot.)
Thanks milan, patch works.
Commit it Milan.
Committed to trunk. Committed revision 35850.
*** Bug 541461 has been marked as a duplicate of this bug. ***