100 percent cpu usage and keyboard layouts switching automatically

Bug #629444 reported by Žygimantas Augilius
228
This bug affects 49 people
Affects Status Importance Assigned to Milestone
GNOME Settings Daemon
Confirmed
Undecided
Unassigned
gnome-settings-daemon (Ubuntu)
Confirmed
Medium
Unassigned
Nominated for Maverick by Sergey Kirillov

Bug Description

Binary package hint: gnome-settings-daemon

Ubuntu Release: Maverick 10.10 x64 bit version
gnome-settings-daemon 2.30.2-0ubuntu5
using 2 keyboard layouts: US and Lithuanian Standard

gnome-settings-daemon starts using 100% CPU, keyboard layout starts switching automatically (panel indicator does not show layout change though). For example if US layout key 4 in LT layout is ; character, when i repeat typing 4, i get ;;;44;; (I'm not changing layout during typing)

I can fix problem by killing gnome-settings-daemon, but after several hours it starts using 100% CPU again.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gnome-settings-daemon 2.30.2-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.35-19.28-generic 2.6.35.3
Uname: Linux 2.6.35-19-generic x86_64
Architecture: amd64
Date: Fri Sep 3 14:24:26 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100803.1)
ProcEnviron:
 LANGUAGE=lt:lt_LT:en
 PATH=(custom, user)
 LANG=lt_LT.utf8
 SHELL=/bin/bash
SourcePackage: gnome-settings-daemon

Revision history for this message
Žygimantas Augilius (jeegiz) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

is there any chance to attach gdb to that process and get a backtrace to know what it's doing? probably this is related to bug 625793

Changed in gnome-settings-daemon (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Žygimantas Augilius (jeegiz) wrote :
Revision history for this message
Nickolay Yugas (xaker93) wrote :

I have such a bug occurs when I open many windows*

Revision history for this message
Žygimantas Augilius (jeegiz) wrote :

also it seems i am able to get high CPU usage, when i try to "show current layout" option from keybard layout indicator

Revision history for this message
Yoptar (yoptar) wrote :

BTW, this bug occurs only with "Separate layout for each window" option enabled.

Revision history for this message
Žygimantas Augilius (jeegiz) wrote :

And "Separate layout for each window" option is default in the new Maverick installation? Because i do not remember changing this option.

Revision history for this message
Yoptar (yoptar) wrote :

Yep. Keyboard Preferences → Layouts → Separate layout for each window.

K900 (k0009000)
summary: - 100 percent cpu usage on gnome-settings-daemon
+ 100 percent cpu usage and keyboard layouts switching automatically
Revision history for this message
K900 (k0009000) wrote :

I can confirm that.

Changed in gnome-settings-daemon (Ubuntu):
status: Incomplete → Confirmed
Extender (msveshnikov)
Changed in gnome-settings-daemon:
status: New → Confirmed
Revision history for this message
K900 (k0009000) wrote :

I fixed it by removing all dotfiles in my /home/, so it's probably something changed in the settings format.

Revision history for this message
divan (ivan-daniluk) wrote :

I found three duplicates of this bug:

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/636619
https://bugs.launchpad.net/ubuntu/+bug/630347
https://bugs.launchpad.net/ubuntu/+source/indicator-application/+bug/633346

In my case(Maverick 10.10, latest updates) I have three layouts(en, ru, uk) and sometimes(once per hour or two) keyboard indicator starts cycling between layouts very fast. It makes impossible to enter any text, so I'd mark this as high importance bug. The gnome-settings-daemon eats a lot of memory(from 100 to 800 Megs from my observation) and use CPU heavily (up to 100% on one processor). Solution is to kill it and restart.
I'll try to disable "Separate layout for each window" option as suggested above and check if it helps.

Revision history for this message
shoo_ash (ash-mail) wrote :

Disabling "separate layout for each window" didn't help.
A very annoying bug.
The only functional solution I saw so far is to turn off keyboard applet in gconf-editor /apps/gnome_settings_daemon/plugins - so it's not really a solution, just a way not to use this feature (and use alternative kb-layout apps line gxneur).

Revision history for this message
hassan eldhrawyy (k7rata121-hotmail) wrote :

affects me too
any help?

Revision history for this message
montini (montini) wrote :

I can confirm the bug - lithuanian/USA keyboard layouts. Any news?

Revision history for this message
Artem Vladymirovych (artlaber) wrote :

I confirm... have just the very same problem.
My solution is to kill the process. It leads to disabling of all appearance settings to defaults.
Then I go System-Preferences-Keybord and this process runs again and all the settings come back to their places. (no restart is needed).
I have 3 layouts: ru, en, ukrainian
ubuntu 10.10 i386
HP probook 4515s

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.