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 659125 - Reference counting issues in calendar
Reference counting issues in calendar
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Memos
3.2.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-09-15 05:59 UTC by Akhil Laddha
Modified: 2013-09-13 01:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (5.82 KB, patch)
2011-09-15 12:49 UTC, Milan Crha
committed Details | Review

Description Akhil Laddha 2011-09-15 05:59:41 UTC
Evolution 3.1.92

1. New -> Memo
2. Close this window, File -> Close or Click on 'X'

I see these warnings on evolution terminal

(evolution:17797): e-attachment-view.c-CRITICAL **: e_attachment_view_get_store: assertion `E_IS_ATTACHMENT_VIEW (view)' failed

(evolution:17797): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(evolution:17797): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed


(gdb) bt
  • #0 g_logv
    at gmessages.c line 457
  • #1 g_log
    at gmessages.c line 591
  • #2 g_return_if_fail_warning
  • #3 e_attachment_view_get_store
    at e-attachment-view.c line 1021
  • #4 attachment_paned_get_store
    at e-attachment-paned.c line 377
  • #5 e_attachment_view_get_store
    at e-attachment-view.c line 1026
  • #6 comp_editor_dispose
    at comp-editor.c line 1584
  • #7 memo_editor_dispose
    at memo-editor.c line 90
  • #8 g_object_unref
    at gobject.c line 2709
  • #9 focus_tracker_dispose
    at e-focus-tracker.c line 373
  • #10 g_object_unref
    at gobject.c line 2709
  • #11 focus_tracker_targets_received_cb
    at e-focus-tracker.c line 206
  • #12 request_targets_received_func
    at gtkclipboard.c line 1312
  • #13 selection_received
    at gtkclipboard.c line 959
  • #14 _gtk_marshal_VOID__BOXED_UINT
    at gtkmarshalers.c line 1462
  • #15 g_closure_invoke
    at gclosure.c line 774
  • #16 signal_emit_unlocked_R
    at gsignal.c line 3272
  • #17 g_signal_emit_valist
    at gsignal.c line 3003
  • #18 g_signal_emit_by_name
    at gsignal.c line 3097
  • #19 gtk_selection_retrieval_report
    at gtkselection.c line 2985
  • #20 _gtk_selection_notify
    at gtkselection.c line 2789
  • #21 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #22 g_type_class_meta_marshal
    at gclosure.c line 885
  • #23 g_closure_invoke
    at gclosure.c line 774
  • #24 signal_emit_unlocked_R
    at gsignal.c line 3310
  • #25 g_signal_emit_valist
    at gsignal.c line 3013
  • #26 g_signal_emit
    at gsignal.c line 3060
  • #27 gtk_widget_event_internal
    at gtkwidget.c line 6131
  • #28 gtk_widget_event
    at gtkwidget.c line 5847
  • #29 gtk_main_do_event
    at gtkmain.c line 1830
  • #30 _gdk_event_emit
    at gdkevents.c line 71
  • #31 gdk_event_source_dispatch
    at gdkeventsource.c line 360
  • #32 g_main_dispatch
    at gmain.c line 2441
  • #33 g_main_context_dispatch
    at gmain.c line 3011
  • #34 g_main_context_iterate
    at gmain.c line 3089
  • #35 g_main_loop_run
    at gmain.c line 3297
  • #36 gtk_main
    at gtkmain.c line 1362
  • #37 main
    at main.c line 696
Continuing.

(evolution:17475): e-attachment-view.c-CRITICAL **: e_attachment_view_get_store: assertion `E_IS_ATTACHMENT_VIEW (view)' failed
Comment 1 Milan Crha 2011-09-15 12:49:25 UTC
Created attachment 196622 [details] [review]
evo patch

for evolution;

The first chunk applied for the warning itself, the rest is what I found during investigation of the warning. There were couple reference counting issues on EClient and ECalComponent, thus, for example, the client could gone before it should when creating new memo (notice the warning when you close evolution after you cancel the New Memo dialog invoked from a context menu above the memo component list).
Comment 2 Milan Crha 2011-09-15 12:55:23 UTC
Created commit 6ea72f4 in evo master (3.1.92+)