After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 677642 - Critical warnings on vFolder change
Critical warnings on vFolder change
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Mailer
3.6.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[vfolders]
Depends on:
Blocks:
 
 
Reported: 2012-06-07 17:43 UTC by Milan Crha
Modified: 2013-09-14 16:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Crha 2012-06-07 17:43:59 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


  • #0 g_logv
    at gmessages.c line 661
  • #1 g_log
    at gmessages.c line 792
  • #2 camel_service_get_session
    at camel-service.c line 1452
  • #3 folder_changed
    at camel-folder.c line 1662
  • #4 g_cclosure_marshal_VOID__POINTERv
    at gmarshal.c line 1236
  • #5 _g_closure_invoke_va
    at gclosure.c line 840
  • #6 g_signal_emit_valist
    at gsignal.c line 3207
  • #7 g_signal_emit
    at gsignal.c line 3352
  • #8 folder_emit_changed_cb
    at camel-folder.c line 191
  • #9 g_main_dispatch
    at gmain.c line 2515
  • #10 g_main_context_dispatch
    at gmain.c line 3052
  • #11 g_main_context_iterate
    at gmain.c line 3123
  • #12 g_main_loop_run
    at gmain.c line 3317
  • #13 gtk_main
    at gtkmain.c line 1161
  • #14 main
    at main.c line 679
  • #0 g_logv
    at gmessages.c line 661
  • #1 g_log
    at gmessages.c line 792
  • #2 camel_session_get_junk_filter
    at camel-session.c line 1326
  • #3 folder_changed
    at camel-folder.c line 1663
  • #4 g_cclosure_marshal_VOID__POINTERv
    at gmarshal.c line 1236
  • #5 _g_closure_invoke_va
    at gclosure.c line 840
  • #6 g_signal_emit_valist
    at gsignal.c line 3207
  • #7 g_signal_emit
    at gsignal.c line 3352
  • #8 folder_emit_changed_cb
    at camel-folder.c line 191
  • #9 g_main_dispatch
    at gmain.c line 2515
  • #10 g_main_context_dispatch
    at gmain.c line 3052
  • #11 g_main_context_iterate
    at gmain.c line 3123
  • #12 g_main_loop_run
    at gmain.c line 3317
  • #13 gtk_main
    at gtkmain.c line 1161
  • #14 main
    at main.c line 679
Continuing.

(evolution:4477): camel-CRITICAL **: camel_session_get_junk_filter: assertion `CAMEL_IS_SESSION (session)' failed
Comment 1 Milan Crha 2012-06-07 17:46:04 UTC
hrm, a) there are two backtraces,
     b) it's bug #677635 comment #1, not 2.
Comment 2 Milan Crha 2012-06-08 12:44:32 UTC
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+)