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 746777 - Media keys stopp working after some time
Media keys stopp working after some time
Status: RESOLVED DUPLICATE of bug 747745
Product: gnome-shell
Classification: Core
Component: general
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2015-03-25 21:44 UTC by darkxst
Modified: 2016-08-03 20:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description darkxst 2015-03-25 21:44:27 UTC
After some time media keys stop responding, and can only be restored by restarting both g-s-d and gnome-shell. Not sure if there is a specific trigger or if its just happening after some timeout.

I've not been able to find any useful output in either g-s-d or gnome-session logs.

downstream report:
https://bugs.launchpad.net/ubuntu-gnome/+bug/1427877
Comment 1 Marius Gedminas 2015-04-24 08:20:08 UTC
It looks like this is triggered by VT switches.

journalctl -f shows this when I switch to a text console and back:


(gnome-settings-daemon:10125): GLib-GObject-WARNING **: cannot register existing type 'GsdDevice'
(gnome-settings-daemon:10125): GLib-GObject-WARNING **: cannot add private field to invalid (non-instantiatable) type '<invalid>'
(gnome-settings-daemon:10125): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(gnome-settings-daemon:10125): common-plugin-CRITICAL **: gsd_device_get_device_type: assertion 'GSD_IS_DEVICE (device)' failed


(I stripped the common prefix of these lines, which was "Bal 24 11:03:36 platonas gnome-session[2521]: ")
Comment 2 Rui Matos 2015-04-24 13:06:54 UTC
(In reply to Marius Gedminas from comment #1)
> (gnome-settings-daemon:10125): GLib-GObject-WARNING **: cannot register
> existing type 'GsdDevice'

I can't reproduce this here. Can you attach to g-s-d with gdb, set a breakpoint at write_string and get a stack trace when you get this message?
Comment 3 darkxst 2015-04-26 22:46:16 UTC
here is a trace

  • #0 write_string
  • #1 g_log_default_handler
    at /build/buildd/glib2.0-2.44.0/./glib/gmessages.c line 1452
  • #2 g_logv
    at /build/buildd/glib2.0-2.44.0/./glib/gmessages.c line 1020
  • #3 g_log
    at /build/buildd/glib2.0-2.44.0/./glib/gmessages.c line 1079
  • #4 check_type_name_I
    at /build/buildd/glib2.0-2.44.0/./gobject/gtype.c line 764
  • #5 g_type_register_static
  • #6 g_type_register_static_simple
  • #7 gsd_device_get_type
  • #8 gsd_device_get_device_type
  • #9 0x00007fc41f9e4464 in
  • #13 <emit signal 0x20a0930 "\n(gnome-settings-daemon:10192): GLib-GObject-WARNING **: cannot register existing type 'GsdDevice'\n" on instance 0x7fc428012f00 [GsdX11DeviceManager]>
  • #14 0x00007fc41d5ef2e1 in
  • #18 <emit signal 0x20a0930 "\n(gnome-settings-daemon:10192): GLib-GObject-WARNING **: cannot register existing type 'GsdDevice'\n" on instance 0x1edbed0 [GdkX11DeviceManagerXI2]>
  • #19 gdk_x11_device_manager_xi2_translate_event
    at /build/buildd/gtk+3.0-3.16.2/./gdk/x11/gdkdevicemanager-xi2.c line 511
  • #20 gdk_x11_device_manager_xi2_translate_event
    at /build/buildd/gtk+3.0-3.16.2/./gdk/x11/gdkdevicemanager-xi2.c line 773
  • #21 gdk_x11_device_manager_xi2_translate_event
    at /build/buildd/gtk+3.0-3.16.2/./gdk/x11/gdkdevicemanager-xi2.c line 1240
  • #22 _gdk_x11_event_translator_translate
    at /build/buildd/gtk+3.0-3.16.2/./gdk/x11/gdkeventtranslator.c line 51
  • #23 _gdk_x11_display_queue_events
    at /build/buildd/gtk+3.0-3.16.2/./gdk/x11/gdkeventsource.c line 240
  • #24 _gdk_x11_display_queue_events
    at /build/buildd/gtk+3.0-3.16.2/./gdk/x11/gdkeventsource.c line 338
  • #25 gdk_display_get_event
    at /build/buildd/gtk+3.0-3.16.2/./gdk/gdkdisplay.c line 340
  • #26 gdk_event_source_dispatch
    at /build/buildd/gtk+3.0-3.16.2/./gdk/x11/gdkeventsource.c line 360
  • #27 g_main_context_dispatch
    at /build/buildd/glib2.0-2.44.0/./glib/gmain.c line 3122
  • #28 g_main_context_dispatch
    at /build/buildd/glib2.0-2.44.0/./glib/gmain.c line 3737
  • #29 g_main_context_iterate
    at /build/buildd/glib2.0-2.44.0/./glib/gmain.c line 3808
  • #30 g_main_loop_run
    at /build/buildd/glib2.0-2.44.0/./glib/gmain.c line 4002
  • #31 gtk_main
    at /build/buildd/gtk+3.0-3.16.2/./gtk/gtkmain.c line 1219
  • #32 main

Comment 4 Simon Law 2015-06-04 18:28:12 UTC
This is actually bug 747745, which Bastien has tracked down.
Comment 5 Bastien Nocera 2016-08-03 20:10:51 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 747745 ***