Bug#251110: : XklConfigActivate is deadly
Petr Vandrovec
Petr Vandrovec <vandrove@vc.cvut.cz>, 251110@bugs.debian.org
Sun, 30 May 2004 19:23:18 +0200
Hi,
building shared library containing function XklConfigActivate() below
fixes crash (though you cannot expect gnome-settings-daemon to be able
to manage keyboard then). When this function is issued, X server and
client's xlib gets desynchronized, and further gnome-settings-daemon
operations are all rejected and/or misinterpreted by X server, until
(on my system) libXft attempts to allocate 1+2 GB of memory, and fails
on second allocation...
It looks like that error message is right, and Xkl* interface in XF4.3.0
is a bit iffy.
With XklConfigActivate call blocked everything works flawlessly (modulo
multiload applet still asking for libgtop-2.0.so.2, but it is another
story, and simple symlink solves that one..., and missing flags for
gswitchit applet).
Best regards,
Petr Vandrovec
/* Build with gcc -o /usr/lib/libdisable-XklConfigActivate.so -shared xxx.c,
then rename /usr/lib/control-center/gnome-settings-daemon to
/usr/lib/control-center/gnome-settings-daemon, and provide shell
script
---
#! /bin/bash
LD_PRELOAD="/usr/lib/libdisable-XklConfigActivate.so:$LD_PRELOAD" exec "$0.bin" "$@"
---
*/
int XklConfigActivate(void) {
return 1;
}