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 775220 - Runtime error on application quit from gtk_accel_label_set_accel_closure()
Runtime error on application quit from gtk_accel_label_set_accel_closure()
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkLabel
3.22.x
Other Linux
: Normal critical
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-11-28 11:26 UTC by Milan Crha
Modified: 2017-08-22 17:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Crha 2016-11-28 11:26:08 UTC
This is with gtk3-3.22.2-2.fc25.x86_64, and it looks like a new thing. When I open an Evolution and show several popup menus above the message list, above the message preview pane and above a link in the preview and close the Evolution, then the console will show new runtime warnings (added there only after closing the window):

(evolution:3337): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer

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

(evolution:3337): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer

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

The first points to the backtrace below. I'm reporting it, because it can cause crashes in certain situations.

  • #0 g_logv
  • #1 g_log
    at gmessages.c line 1337
  • #2 g_type_check_instance
    at gtype.c line 4142
  • #3 g_signal_handlers_disconnect_matched
  • #4 gtk_accel_label_set_accel_closure
    at gtkaccellabel.c line 607
  • #5 refetch_widget_accel_closure
    at gtkaccellabel.c line 511
  • #6 gtk_accel_label_set_accel_widget
    at gtkaccellabel.c line 562
  • #7 gtk_menu_item_sync_action_properties
    at gtkmenuitem.c line 1347
  • #8 gtk_image_menu_item_sync_action_properties
    at deprecated/gtkimagemenuitem.c line 845
  • #9 gtk_activatable_do_set_related_action
    at deprecated/gtkactivatable.c line 462
  • #10 gtk_menu_item_dispose
    at gtkmenuitem.c line 1029
  • #11 g_object_run_dispose
    at gobject.c line 1084
  • #12 gtk_menu_shell_forall
    at gtkmenushell.c line 1154
  • #13 gtk_container_destroy
    at gtkcontainer.c line 1700
  • #17 <emit signal ??? on instance 0x36adc90 [GtkMenu]>
    at gsignal.c line 3447
  • #18 gtk_widget_dispose
    at gtkwidget.c line 12059
  • #19 g_object_unref
    at gobject.c line 3148
  • #20 gtk_container_remove
    at gtkcontainer.c line 1909
  • #21 gtk_widget_dispose
    at gtkwidget.c line 12048
  • #22 g_object_unref
    at gobject.c line 3148
  • #26 <emit signal notify:attached-to on instance 0x41e4500 [GtkWindow]>
    at gsignal.c line 3447
  • #27 g_object_dispatch_properties_changed
    at gobject.c line 1064
  • #28 g_object_notify_by_spec_internal
    at gobject.c line 1157
  • #29 g_object_notify_by_pspec
    at gobject.c line 1267
  • #30 gtk_window_set_attached_to
    at gtkwindow.c line 3410
  • #31 gtk_widget_dispose
    at gtkwidget.c line 12076
  • #32 mail_view_dispose
    at ....evolution/src/mail/e-mail-view.c line 185
  • #33 mail_paned_view_dispose
    at ....evolution/src/mail/e-mail-paned-view.c line 399
  • #34 g_object_run_dispose
    at gobject.c line 1084
  • #35 gtk_box_forall
    at gtkbox.c line 2669
  • #36 gtk_container_destroy
    at gtkcontainer.c line 1700
  • #40 <emit signal ??? on instance 0x36f2f30 [GtkBox]>
    at gsignal.c line 3447
  • #41 gtk_widget_dispose
    at gtkwidget.c line 12059
  • #42 g_object_run_dispose
    at gobject.c line 1084
  • #43 shell_content_forall
    at ....evolution/src/shell/e-shell-content.c line 386
  • #44 gtk_container_destroy
    at gtkcontainer.c line 1700
  • #48 <emit signal ??? on instance 0x2169790 [EMailShellContent]>
    at gsignal.c line 3447
  • #49 gtk_widget_dispose
    at gtkwidget.c line 12059
  • #50 shell_content_dispose
    at ....evolution/src/shell/e-shell-content.c line 156
  • #51 mail_shell_content_dispose
    at ....evolution/src/modules/mail/e-mail-shell-content.c line 192
  • #52 g_object_run_dispose
    at gobject.c line 1084
  • #53 gtk_notebook_forall
    at gtknotebook.c line 4572
  • #54 gtk_container_destroy
    at gtkcontainer.c line 1700
  • #58 <emit signal ??? on instance 0xa26b00 [GtkNotebook]>
    at gsignal.c line 3447
  • #59 gtk_widget_dispose
    at gtkwidget.c line 12059
  • #60 g_object_run_dispose
    at gobject.c line 1084
  • #61 gtk_box_forall
    at gtkbox.c line 2669
  • #62 gtk_container_destroy
    at gtkcontainer.c line 1700
  • #66 <emit signal ??? on instance 0x87ac60 [GtkBox]>
    at gsignal.c line 3447
  • #67 gtk_widget_dispose
    at gtkwidget.c line 12059
  • #68 g_object_run_dispose
    at gobject.c line 1084
  • #69 gtk_container_destroy
    at gtkcontainer.c line 1700
  • #73 <emit signal ??? on instance 0x36e5260 [GtkPaned]>
    at gsignal.c line 3447
  • #74 gtk_widget_dispose
    at gtkwidget.c line 12059
  • #75 g_object_run_dispose
    at gobject.c line 1084
  • #76 gtk_box_forall
    at gtkbox.c line 2669
  • #77 gtk_container_destroy
    at gtkcontainer.c line 1700
  • #81 <emit signal ??? on instance 0x87a6e0 [GtkBox]>
    at gsignal.c line 3447
  • #82 gtk_widget_dispose
    at gtkwidget.c line 12059
  • #83 g_object_run_dispose
    at gobject.c line 1084
  • #84 gtk_window_forall
    at gtkwindow.c line 8350
  • #85 gtk_container_destroy
    at gtkcontainer.c line 1700
  • #89 <emit signal ??? on instance 0x3626440 [EShellWindow]>
    at gsignal.c line 3447
  • #90 gtk_widget_dispose
    at gtkwidget.c line 12059
  • #91 gtk_window_dispose
    at gtkwindow.c line 3150
  • #92 shell_window_dispose
    at ....evolution/src/shell/e-shell-window.c line 441
  • #93 g_object_run_dispose
    at gobject.c line 1084
  • #94 g_list_foreach
    at glist.c line 1005
  • #95 shell_ready_for_quit
    at ....evolution/src/shell/e-shell.c line 474
  • #96 mail_backend_store_operation_done_cb
    at ....evolution/src/mail/e-mail-backend.c line 148
  • #97 g_task_return_now
    at gtask.c line 1121
  • #98 complete_in_idle_cb
    at gtask.c line 1135
  • #99 g_idle_dispatch
    at gmain.c line 5545
  • #100 g_main_dispatch
    at gmain.c line 3203
  • #101 g_main_context_dispatch
    at gmain.c line 3856
  • #102 g_main_context_iterate
    at gmain.c line 3929
  • #103 g_main_loop_run
    at gmain.c line 4125
  • #104 gtk_main
    at gtkmain.c line 1301
  • #105 main
    at ....evolution/src/shell/main.c line 665

Comment 1 Pavel Grunt 2017-02-08 10:17:22 UTC
I hit the crash in evolution (reported as https://bugzilla.redhat.com/show_bug.cgi?id=1419939):

Steps to Reproduce:
1. double click on an email to open it in an extra window (window1)
2. Edit as New Message (window2 appears)
3. close window1 (Ignore evolution's question "Should Evolution close this window when replying or forwarding?")

Thread 1 (Thread 0x7fb044bbaac0 (LWP 3254))

  • #0 g_type_check_instance
    at gtype.c line 4130
  • #1 g_signal_handlers_disconnect_matched
  • #2 gtk_accel_label_set_accel_closure
    at gtkaccellabel.c line 607
  • #3 refetch_widget_accel_closure
    at gtkaccellabel.c line 511
  • #4 gtk_accel_label_set_accel_widget
    at gtkaccellabel.c line 562
  • #5 gtk_menu_item_sync_action_properties
    at gtkmenuitem.c line 1347
  • #6 gtk_image_menu_item_sync_action_properties
    at deprecated/gtkimagemenuitem.c line 845
  • #7 gtk_activatable_do_set_related_action
    at deprecated/gtkactivatable.c line 462
  • #8 gtk_menu_item_dispose
    at gtkmenuitem.c line 1029
  • #9 g_object_run_dispose
    at gobject.c line 1084
  • #10 gtk_menu_shell_forall
    at gtkmenushell.c line 1154
  • #11 gtk_container_destroy
    at gtkcontainer.c line 1700
  • #15 <emit signal ??? on instance 0x55f9d5c173e0 [GtkMenu]>
    at gsignal.c line 3447
  • #16 gtk_widget_dispose
    at gtkwidget.c line 12063
  • #17 g_object_unref
    at gobject.c line 3148
  • #18 gtk_container_remove
    at gtkcontainer.c line 1909
  • #19 gtk_widget_dispose
    at gtkwidget.c line 12052
  • #20 g_object_unref
    at gobject.c line 3148
  • #24 <emit signal notify:attached-to on instance 0x55f9d5755cb0 [GtkWindow]>
    at gsignal.c line 3447
  • #25 g_object_dispatch_properties_changed
    at gobject.c line 1064
  • #26 g_object_notify_by_spec_internal
    at gobject.c line 1157
  • #27 g_object_notify_by_pspec
    at gobject.c line 1267
  • #28 gtk_window_set_attached_to
    at gtkwindow.c line 3410
  • #29 gtk_widget_dispose
    at gtkwidget.c line 12080
  • #30 gtk_window_dispose
    at gtkwindow.c line 3150
  • #31 g_object_run_dispose
    at gobject.c line 1084
  • #32 gtk_widget_destroy
    at gtkwidget.c line 4717
  • #33 gtk_main_do_event
    at gtkmain.c line 1817
  • #34 _gdk_event_emit
    at gdkevents.c line 73
  • #35 gdk_event_source_dispatch
    at gdkeventsource.c line 367
  • #36 g_main_dispatch
    at gmain.c line 3203
  • #37 g_main_context_dispatch
    at gmain.c line 3856
  • #38 g_main_context_iterate
    at gmain.c line 3929
  • #39 g_main_loop_run
    at gmain.c line 4125
  • #40 gtk_main
    at gtkmain.c line 1312
  • #41 main
    at /usr/src/debug/evolution-3.23.4/src/shell/main.c line 667

Comment 2 Daniel Boles 2017-08-15 19:07:07 UTC
I can't seem to reproduce this using current GTK+ 3.22.17 and Evo 3.22.6, with either of the given sets of steps. Is it still happening for either of you?
Comment 3 Milan Crha 2017-08-22 16:38:20 UTC
Yes, it's still there. A bit more exact steps:

a) open evolution
b) select a message from bugzilla (like this comment notification)
c) right-click in a gray area in the message preview
d) right-click in message list
e) right-click above a From or To mail address link
f) right-click above this bug report link
g) close evolution by clicking the "x" button at the right-top

I did not pick anything in popup menus which showed up, I simply "discarded them" by clicking away from them.
Comment 4 Milan Crha 2017-08-22 16:43:11 UTC
Hmm, well, it's not enough to install new gtk3 and run evolution after that, somehow, because after restart I do not see those runtime warnings too. Feel free to close this them, I'm sorry for the confusion.
Comment 5 Daniel Boles 2017-08-22 17:25:52 UTC
Thanks for the update! Of course, if you can make this happen again, please do reopen with the required steps.