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 708018 - GLib-GIO-CRITICAL **: g_simple_action_set_enabled: assertion 'G_IS_SIMPLE_ACTION (simple)' failed
GLib-GIO-CRITICAL **: g_simple_action_set_enabled: assertion 'G_IS_SIMPLE_ACT...
Status: RESOLVED FIXED
Product: gnome-photos
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME photos maintainer(s)
GNOME photos maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-09-13 10:47 UTC by Evgeny Bobkin
Modified: 2013-09-17 14:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backtrace (15.25 KB, text/x-log)
2013-09-13 10:47 UTC, Evgeny Bobkin
  Details
application: Create the main window after the gear-menu action (2.15 KB, patch)
2013-09-17 14:05 UTC, Debarshi Ray
committed Details | Review

Description Evgeny Bobkin 2013-09-13 10:47:54 UTC
Created attachment 254846 [details]
backtrace

I observe a lot of critical warnings in terminal

$ gnome-photos 

(gnome-photos:5708): GLib-GIO-CRITICAL **: g_simple_action_set_enabled: assertion 'G_IS_SIMPLE_ACTION (simple)' failed

(gnome-photos:5708): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnome-photos:5708): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gnome-photos:5708): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnome-photos:5708): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gnome-photos:5708): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnome-photos:5708): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gnome-photos:5708): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnome-photos:5708): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gnome-photos:5708): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnome-photos:5708): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gnome-photos:5708): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnome-photos:5708): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gnome-photos:5708): GLib-GIO-CRITICAL **: g_simple_action_set_enabled: assertion 'G_IS_SIMPLE_ACTION (simple)' failed
Comment 1 Evgeny Bobkin 2013-09-13 10:48:22 UTC


Thread 1 (Thread 0x7ffff7f93900 (LWP 5636))

  • #0 g_logv
    at gmessages.c line 989
  • #1 g_log
    at gmessages.c line 1025
  • #2 g_return_if_fail_warning
  • #3 g_simple_action_set_enabled
    at gsimpleaction.c line 496
  • #4 photos_main_toolbar_clear_toolbar
    at photos-main-toolbar.c line 333
  • #5 photos_main_toolbar_reset_toolbar_mode
    at photos-main-toolbar.c line 509
  • #6 g_type_create_instance
    at gtype.c line 1868
  • #7 g_object_new_internal
    at gobject.c line 1746
  • #8 g_object_newv
    at gobject.c line 1890
  • #9 g_object_new
    at gobject.c line 1556
  • #10 photos_main_toolbar_new
    at photos-main-toolbar.c line 673
  • #11 photos_embed_init
    at photos-embed.c line 493
  • #12 g_type_create_instance
    at gtype.c line 1868
  • #13 g_object_new_internal
    at gobject.c line 1746
  • #14 g_object_newv
    at gobject.c line 1890
  • #15 g_object_new
    at gobject.c line 1556
  • #16 photos_embed_new
    at photos-embed.c line 573
  • #17 photos_main_window_init
    at photos-main-window.c line 283
  • #18 g_type_create_instance
    at gtype.c line 1868
  • #19 g_object_new_internal
    at gobject.c line 1746
  • #20 g_object_new_valist
    at gobject.c line 2002
  • #21 g_object_new
    at gobject.c line 1559
  • #22 photos_main_window_new
    at photos-main-window.c line 307
  • #23 photos_application_startup
    at photos-application.c line 433
  • #24 _g_closure_invoke_va
    at gclosure.c line 840
  • #25 g_signal_emit_valist
    at gsignal.c line 3238
  • #26 g_signal_emit
    at gsignal.c line 3386
  • #27 g_application_register
    at gapplication.c line 1316
  • #28 g_application_real_local_command_line
    at gapplication.c line 476
  • #29 g_application_real_local_command_line
    at gapplication.c line 464
  • #30 g_application_run
    at gapplication.c line 1585
  • #31 main
    at photos-main.c line 50

Comment 2 Debarshi Ray 2013-09-17 14:05:46 UTC
Created attachment 255108 [details] [review]
application: Create the main window after the gear-menu action
Comment 3 Evgeny Bobkin 2013-09-17 14:34:57 UTC
yep, this patch fixes the issue.
Comment 4 Evgeny Bobkin 2013-09-17 14:35:16 UTC
Thank you.
Comment 5 Debarshi Ray 2013-09-17 14:35:52 UTC
Comment on attachment 255108 [details] [review]
application: Create the main window after the gear-menu action

Thanks Evgeny!