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 682664 - g-s-d turning bersek (num-lock)
g-s-d turning bersek (num-lock)
Status: RESOLVED DUPLICATE of bug 679151
Product: gnome-settings-daemon
Classification: Core
Component: general
3.5.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2012-08-25 13:08 UTC by Fabien Tassin
Modified: 2012-08-25 14:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fabien Tassin 2012-08-25 13:08:19 UTC
Every once in a while, my system seems to freeze under hi-load. The visible effects are the num-lock led on the keyboard blinking like crazy, and the cpu heating up (fan increasing to full speed), and very quickly, the keyboard stops responding.

Top shows a load of 20~30, with g-s-d, X and dconf all fighting for the cpu.

When I attach gdb to g-s-d, here is what I get:

(gdb) bt
  • #0 __kernel_vsyscall
  • #1 __libc_writev
    at ../sysdeps/unix/sysv/linux/writev.c line 56
  • #2 write_vec
    at ../../src/xcb_conn.c line 207
  • #3 _xcb_conn_wait
    at ../../src/xcb_conn.c line 433
  • #4 _xcb_out_send
    at ../../src/xcb_out.c line 345
  • #5 xcb_writev
    at ../../src/xcb_out.c line 293
  • #6 _XSend
    at ../../src/xcb_io.c line 494
  • #7 _XReply
    at ../../src/xcb_io.c line 580
  • #8 XSync
    at ../../src/Sync.c line 44
  • #9 ??
    from /usr/lib/gnome-settings-daemon-3.0/libkeyboard.so
  • #10 g_cclosure_marshal_VOID__STRINGv
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gobject/gmarshal.c line 1004
  • #11 _g_closure_invoke_va
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gobject/gclosure.c line 840
  • #12 g_signal_emit_valist
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gobject/gsignal.c line 3211
  • #13 g_signal_emit
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gobject/gsignal.c line 3356
  • #14 g_settings_real_change_event
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gio/gsettings.c line 288
  • #15 ffi_call_SYSV
    from /usr/lib/i386-linux-gnu/libffi.so.6
  • #16 ffi_call
    from /usr/lib/i386-linux-gnu/libffi.so.6
  • #17 g_cclosure_marshal_generic_va
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gobject/gclosure.c line 1550
  • #18 g_type_class_meta_marshalv
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gobject/gclosure.c line 997
  • #19 _g_closure_invoke_va
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gobject/gclosure.c line 840
  • #20 g_signal_emit_valist
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gobject/gsignal.c line 3211
  • #21 g_signal_emit
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gobject/gsignal.c line 3356
  • #22 settings_backend_changed
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gio/gsettings.c line 348
  • #23 g_settings_backend_invoke_closure
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gio/gsettingsbackend.c line 271
  • #24 g_main_context_invoke_full
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./glib/gmain.c line 4978
  • #25 g_main_context_invoke
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./glib/gmain.c line 4939
  • #26 g_settings_backend_dispatch_signal
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gio/gsettingsbackend.c line 353
  • #27 g_settings_backend_changed
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gio/gsettingsbackend.c line 400
  • #28 dconf_engine_change_notify
    at dconfsettingsbackend.c line 235
  • #29 dconf_engine_emit_changes
    at dconf-engine.c line 871
  • #30 dconf_engine_change_fast
    at dconf-engine.c line 1064
  • #31 dconf_settings_backend_write
    at dconfsettingsbackend.c line 66
  • #32 g_settings_backend_write
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gio/gsettingsbackend.c line 778
  • #33 g_settings_write_to_backend
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gio/gsettings.c line 1025
  • #34 g_settings_set_enum
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./gio/gsettings.c line 1200
  • #35 ??
    from /usr/lib/gnome-settings-daemon-3.0/libkeyboard.so
  • #36 gdk_event_apply_filters
    at /build/buildd/gtk+3.0-3.5.12/./gdk/x11/gdkeventsource.c line 81
  • #37 gdk_event_source_translate_event
    at /build/buildd/gtk+3.0-3.5.12/./gdk/x11/gdkeventsource.c line 195
  • #38 _gdk_x11_display_queue_events
    at /build/buildd/gtk+3.0-3.5.12/./gdk/x11/gdkeventsource.c line 332
  • #39 gdk_display_get_event
    at /build/buildd/gtk+3.0-3.5.12/./gdk/gdkdisplay.c line 310
  • #40 gdk_event_source_dispatch
    at /build/buildd/gtk+3.0-3.5.12/./gdk/x11/gdkeventsource.c line 354
  • #41 g_main_dispatch
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./glib/gmain.c line 2707
  • #42 g_main_context_dispatch
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./glib/gmain.c line 3211
  • #43 g_main_context_iterate
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./glib/gmain.c line 3282
  • #44 g_main_loop_run
    at /build/buildd/glib2.0-2.33.10+git20120821.7518f7a6/./glib/gmain.c line 3476
  • #45 gtk_main
    at /build/buildd/gtk+3.0-3.5.12/./gtk/gtkmain.c line 1162
  • #46 main

(too bad i didn't have the libkeyboard.so symbols, i'll need to rebuild g-s-d for that)

dconf shows lots of activity on that numlock-state key:

$ annotate-output +%T.%N dconf watch /
14:47:44.298552316 I: Started dconf watch /
14:47:44.499351228 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:44.501875502 O: 'off'
14:47:44.514671989 O: 
14:47:44.575674379 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:44.577350656 O: 'on'
14:47:44.579003756 O: 
14:47:44.644448394 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:44.646345153 O: 'off'
14:47:44.648166920 O: 
14:47:45.102698377 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:45.105108528 O: 'on'
14:47:45.107678028 O: 
14:47:45.181590467 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:45.184297519 O: 'off'
14:47:45.186597167 O: 
14:47:45.259376082 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:45.261603797 O: 'on'
14:47:45.263719499 O: 
14:47:45.338562123 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:45.340690483 O: 'off'
14:47:45.346952463 O: 
14:47:45.416666781 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:45.418807495 O: 'off'
14:47:45.421000283 O: 
14:47:45.494961263 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:45.500049944 O: 'on'
14:47:45.505452636 O: 
14:47:45.587924014 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:45.589874832 O: 'off'
14:47:45.591743010 O: 
14:47:45.675769441 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:45.677523835 O: 'off'
14:47:45.679180620 O: 
14:47:45.741536980 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:45.743225441 O: 'off'
14:47:45.744847544 O: 
14:47:45.820911272 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:45.823193567 O: 'off'
14:47:45.824960494 O: 
14:47:45.931937809 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:45.933639774 O: 'on'
14:47:45.935281905 O: 
14:47:46.004448489 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:46.010164259 O: 'off'
14:47:46.012260208 O: 
14:47:46.067148304 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:46.068846464 O: 'off'
14:47:46.074514514 O: 
14:47:46.134340067 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:46.139256230 O: 'on'
14:47:46.140983421 O: 
14:47:46.213442400 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
14:47:46.215293680 O: 'on'
14:47:46.216932935 O: 
14:47:46.296642057 O: /org/gnome/settings-daemon/peripherals/keyboard/numlock-state
...

If i kill g-s-d, or restart the session, everything goes back to normal.

This is with g-s-d 3.5.90 & dconf 0.13.90.

It started to happen a few weeks ago (somewhere in the 3.5.* cycle), sometimes 2 or 3 times a day, sometimes not at all in a week.
I'm not really sure what's triggering this, i just seem to remember a few occurrences when starting my browser with many tabs in it.
Of course, i'm not touching the num-lock when this happens, i always have it on.
Comment 1 Bastien Nocera 2012-08-25 14:23:16 UTC
Thanks for the bug report. 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 679151 ***