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
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
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.
This problem solved in one of pre-0.5.4 versions.
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.