GNOME Bugzilla – Bug 333243
critical warning "assertion `uri != NULL' failed" and crash when start evolution in new user mode
Last modified: 2013-09-13 01:01:01 UTC
Steps to reproduce: 1.Create a new user such as "new_user" 2.Logout desktop and relogin with "new_user" 3.Start evolution 4.Configure a new IMAP account Evolution will crash. Stack trace: [1] __lwp_kill(0x1, 0x5), at 0xcfba8fa5 [2] _thr_kill(0x1, 0x5), at 0xcfba5b64 [3] raise(0x5), at 0xcfb6dd14 [4] g_logv(0xccbffb38, 0x8, 0xccbffb48, 0x8046604), at 0xd0cb11b5 [5] g_log(0xccbffb38, 0x8, 0xccbffb48, 0xccc2f200, 0x350, 0xccc2f218), at 0xd0cb127d =>[6] em_folder_tree_model_remove_uri(model = 0x81bace0, uri = (nil)), line 848 in "em-folder-tree-model.c" [7] em_folder_tree_model_remove_folders(model = 0x81bace0, si = 0x86022c8, toplevel = 0x80466c4), line 901 in "em-folder-tree-model.c" [8] em_folder_tree_model_remove_folders(model = 0x81bace0, si = 0x86022c8, toplevel = 0x804670c), line 887 in "em-folder-tree-model.c" [9] em_folder_tree_model_remove_store(model = 0x81bace0, store = 0x857bb00), line 931 in "em-folder-tree-model.c" [10] em_folder_tree_model_add_store(model = 0x81bace0, store = 0x857bb00, display_name = 0x8270218 "jeff.cai@sun.com"), line 785 in "em-folder-tree-model.c" [11] mc_add_store(component = 0x81bd6c0, store = 0x857bb00, name = 0x8535f88 "jeff.cai@sun.com", done = (nil)), line 233 in "mail-component.c" [12] mail_component_add_store(component = 0x81bd6c0, store = 0x857bb00, name = 0x8535f88 "jeff.cai@sun.com"), line 1153 in "mail-component.c" [13] add_new_store(uri = 0x857eb00 "imap://qc161282@mail-apac.sun.com/;filter;use_ssl=always;command=ssh%20-C%20-l%20%25u%20%25h%20exec%20/usr/sbin/imapd;use_lsub", store = 0x857bb00, user_data = 0x80b49e0), line 2640 in "em-account-editor.c" [14] get_store_got(mm = 0x82bb7c0), line 1305 in "mail-ops.c" [15] mail_msgport_replied(source = 0x82e3aa8, cond = G_IO_IN, d = 0x82e3f00), line 461 in "mail-mt.c" [16] g_io_unix_dispatch(0x816dfe8, 0xccbb4710, 0x82e3f00), at 0xd0ccf67b [17] g_main_dispatch(0x80b45b8), at 0xd0ca9664 [18] g_main_context_dispatch(0x80b45b8), at 0xd0caa74d [19] g_main_context_iterate(0x80b45b8, 0x1, 0x1, 0x80986f0), at 0xd0caab6d [20] g_main_loop_run(0x8299df0), at 0xd0cab172 [21] bonobo_main(0x8046c54, 0x8046ae8, 0xd27fb840, 0xcfbf3580, 0xcf8a2000, 0x81642c0), at 0xd178f40e [22] main(argc = 1, argv = 0x8046b2c), line 610 in "main.c" Other information: The output of screen is : evolution-mail-CRITICAL **: file em-folder-tree-model.c: line 848: assertion `uri != NULL' failed aborting...
Created attachment 60558 [details] [review] For null uri, don't need remove it.
...and again a patch that we should get into 2.6
Kindly commit this both to HEAD and 2.6
Committed the patch to CVS HEAD and gnome-2-14 branch.