GNOME Bugzilla – Bug 677642
Critical warnings on vFolder change
Last modified: 2013-09-14 16:55:41 UTC
After my changes in vFolder there begun to show critical warnings on console. I saw them mostly on evolution's close (but not always), though with the account-management being merged I see them more often. Like I described in bug #677635 comment #2. I managed to catch the backtrace of it, which is slightly unusable due to delivery on idle, but it shows that the changed folder is a vTrash folder (junk or trash). warnings are: (evolution:4477): camel-CRITICAL **: camel_service_get_session: assertion `CAMEL_IS_SERVICE (service)' failed (evolution:4477): camel-CRITICAL **: camel_session_get_junk_filter: assertion `CAMEL_IS_SESSION (session)' failed
+ Trace 230323
Continuing. (evolution:4477): camel-CRITICAL **: camel_session_get_junk_filter: assertion `CAMEL_IS_SESSION (session)' failed
hrm, a) there are two backtraces, b) it's bug #677635 comment #1, not 2.
This one was nice. The folder_changed() was caused by folders removal in vee_folder_dispose(), which calls on each subfolder camel_vee_folder_remove_folder(). There is usually a need to call folder_changed() after subfolder removal, only not when these are removed in vee-folder's dispose. It's because after vee_folder_dispose() is called parent object's dispose, which removes parent_store and summary, both setting to NULL, but then is delivered the folder_changed() on idle, and it uses the same "reincarnated" vee-folder object, which doesn't have set parent_store nor summary. Created commit 417637e in eds master (3.5.3+)