Bug#549064: x11-xserver-utils: xmodmap hangs X for several minutes
Package: x11-xserver-utils
Version: 7.4+2
Severity: normal
When running xmodmap to change the keymap (i.e., not to just print them),
X hangs afterwards for several minutes until normal operation is resumed.
By "hang" I mean: Mouse pointer moves, but no screen refresh; can change
to text console. The processes "X", "dbus-daemon", "xfconf" and "xfwm4" use
100% cpu in the meantime.
I honestly do not know which component is to blame, but I'm filing it for
the triggering component (xmodmap) just to do something.
This may be related to the linux scheduler, maybe triggering some race,
see http://patchwork.kernel.org/patch/46642/.
But the scheduler is just part of it... it can not explain the following:
During the hang, I have tried to monitor the dbus traffic. It consists of
millions of lines like this:
mc 1254241765 672139 62949 :1.3 /org/xfce/Xfconf org.xfce.Xfconf GetProperty
mr 1254241765 673529 63079 62949 :1.3
mc 1254241765 674977 62950 :1.3 /org/xfce/Xfconf org.xfce.Xfconf PropertyExists
mr 1254241765 676253 63080 62950 :1.3
It looks like some loop is entered where properties are invalidated
repeatedly. Afterwards, everything is normal. I should mention that
the same thing happens when using gnome instead of xfce.
This is on (old, slow) VIA C3 processor and the VIA CLE266 graphics card
(xserver-xorg-video-openchrome server).
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages x11-xserver-utils depends on:
ii cpp 4:4.3.3-9 The GNU C preprocessor (cpp)
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libx11-6 2:1.2.2-1 X11 client-side library
ii libxau6 1:1.0.5-1 X11 authorisation library
ii libxaw7 2:1.0.6-1 X11 Athena Widget library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxi6 2:1.2.1-2 X11 Input extension library
ii libxmu6 2:1.0.4-2 X11 miscellaneous utility library
ii libxmuu1 2:1.0.4-2 X11 miscellaneous micro-utility li
ii libxrandr2 2:1.3.0-2 X11 RandR extension library
ii libxrender1 1:0.9.4-2 X Rendering Extension client libra
ii libxt6 1:1.0.6-1 X11 toolkit intrinsics library
ii libxtrap6 2:1.0.0-5 X11 event trapping extension libra
ii libxxf86misc1 1:1.0.1-3 X11 XFree86 miscellaneous extensio
ii libxxf86vm1 1:1.0.2-1 X11 XFree86 video mode extension l
ii x11-common 1:7.4+4 X Window System (X.Org) infrastruc
x11-xserver-utils recommends no packages.
Versions of packages x11-xserver-utils suggests:
pn cairo-5c <none> (no description available)
pn nickle <none> (no description available)
-- no debconf information
Reply to: