! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
100% cpu behaviour, desktop freezes and plug-in crashes
Status:
RESOLVED: FIXED
Product:
Xfce4-xkb-plugin
Component:
General

Comments

Description Liv 2009-12-10 11:03:46 CET
Created attachment 2724 
debug messages at plug-in initialisation 

There are several other crashes-bugs, so unsure whether this is a duplicate, but here I go. 

Since configuring layouts were introduced in xfce4-xkb, I noticed strange behaviour on adding the plug-in to the panel, on setting up a new layout and on pressing "close" in the properties dialogue. In all of these cases Xfce will (regularly) freeze for couple of seconds, put CPU to 100% at the same time (both cores on amd64). After the operation is complete, the desktop cools down and the plug-in functions as expected. 

These days I also started to experience crashes when pressing alt+shift. I didn't manage to debug these, since strangely after the crash the log file empties itself. But I do have the "critical" messages on adding the plug-in to the panel. 

I encountered the behaviour on both i386 and amd64, Gentoo and Debian. The log file is attached. 
liviu@debian-liv:~$ uname -a
Linux debian-liv 2.6.30-1-amd64 #1 SMP Sat Aug 15 18:09:19 UTC 2009 x86_64 GNU/Linux
liviu@debian-liv:~$ aptitude show xfce4-xkb-plugin
Package: xfce4-xkb-plugin
State: not installed (I built it from source)
Version: 0.5.3.3-1
Comment 1 Paul Henshaw 2010-03-15 21:07:54 CET
I also experienced this problem: I use the EN_US and IT_IT (nodeadkeys) layouts on a Dell inspiron 8600c running Kubuntu 9.04 (x86 32).

XFce and related programs were all installed from official Ubuntu repositories.

At xfce startup I note that the xkb applet uses almost 100% of the CPU for a few tens of seconds.  Subsequently changing layout worjs correctly without any significant delay.  Right-click properties causes the CPU load to approach 100% again.

In the .xsession-errors log I find the following entries:

(xfce4-xkb-plugin:8534): GLib-CRITICAL **: g_strsplit_set: assertion `string != NULL' failed

(xfce4-xkb-plugin:8534): GLib-CRITICAL **: g_hash_table_destroy: assertion `hash_table != NULL' failed

(xfce4-xkb-plugin:8534): GLib-CRITICAL **: g_hash_table_destroy: assertion `hash_table != NULL' failed

(xfce4-xkb-plugin:8534): GLib-CRITICAL **: g_hash_table_destroy: assertion `hash_table != NULL' failed


Version Info:
dpkg -s xfce4
Package: xfce4
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 48
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
Architecture: all
Version: 4.6.0
Comment 2 Liv 2010-06-28 23:02:49 CEST
Beginning with 4.6.2, I no longer experience 100% CPU and desktop freezes, although CPU runs high for several seconds after making config modifications. I assume that one part of this bug was solved. 

However the plug-in still crashes randomly, so for now I have switched to fbxkb, which plays just fine with the keyboard confi via Xfce Settings.
Comment 3 Azamat H. Hackimov editbugs 2011-05-22 21:51:00 CEST
This problem solved in one of pre-0.5.4 versions.
Comment 4 Ivan Krylov 2012-07-06 10:29:23 CEST
Found out that this bug (at least partially) still occurs on my Asus 1011PX with Xfce 4.8 (from debian testing). Settings window hangs for nearly 5 seconds, then closes, and then xfce4-settings-helper and Xorg start consuming 100% cpu for some time (about 10 seconds).

By the way, nothing interesting appears in ~/.xsession-errors.

Bug #6064

Reported by:
Liv
Reported on: 2009-12-10
Last modified on: 2012-07-06

People

Assignee:
Alexander Iliev
CC List:
3 users

Version

Version:
unspecified

Attachments

debug messages at plug-in initialisation (1.33 KB, application/octet-stream)
2009-12-10 11:03 CET , Liv
no flags

Additional information