Rene Engelhard wrote:
I don't think thia is related to the original bug submitters' bug cause-
By the way this looks like 395354 but this got fixed longer ago.
You're correct -- it's the same bug. I was one of the reporters, and the
bug was taken care of by an xorg patch. However, it looks like that
patch was since disabled.
I just ran cmc's test case (below) and it locks X11 instantly,
indicating the same bug is biting. I'm doing the test over VNC, so I get
to just watch and laugh this time.
Could you split out this bug report, reassign, and upgrade the severity?
Or should I submit a new report?
It's not an OOo bug, it should be moved to X11, I suggest xserver-xorg-core.
Some background
The previous occurrence was widely documented:
https://bugs.freedesktop.org/show_bug.cgi?id=10525
http://qa.openoffice.org/issues/show_bug.cgi?id=75578
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395354
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411287
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=433131
https://bugzilla.novell.com/show_bug.cgi?id=245711
There's a Fedora patch at
http://cvs.fedora.redhat.com/viewcvs/devel/xorg-x11-server/xserver-1.3.0-xkb-and-loathing.patch?view=markup
Something like it was applied in Debian on Thu, 09 Aug 2007:
xorg-server (2:1.3.0.0.dfsg-12) unstable; urgency=low
[ Brice Goglin ]
* Add 51_xkb-and-loathing.diff to fix a hang in OpenOffice.org
And then promptly disabled in the Sat, 18 Aug 2007 update:
xorg-server (2:1.3.99.0-1) experimental; urgency=low
[ Julien Cristau, David Nusinow ]
+ 51_xkb-and-loathing.diff disabled for now.
The X-strike team will no doubt know what happened. The test case below
freezes X11 at 100% CPU utilization and xorg has to be -9 killed.
Cheers,
Dave
/*
* gcc keyboard.c -lX11
* ./a.out
*/
#include </share/usr/include/X11/Xlib.h>
#include </share/usr/include/X11/XKBlib.h>
#include </share/usr/include/stdio.h>
int main(void)
{
XkbDescPtr pXkbDesc = NULL;
Display * pDisplay = XOpenDisplay(NULL);
pXkbDesc = XkbGetKeyboard(pDisplay, XkbAllComponentsMask,
XkbUseCoreKbd );
if (pXkbDesc)
{
const char* pAtom = NULL;
if( pXkbDesc->names->groups[0] )
{
pAtom = XGetAtomName( pDisplay, pXkbDesc->names->groups[0] );
printf("Keyboard Name is %s\n", pAtom);
XFree( (void*)pAtom );
}
XkbFreeKeyboard( pXkbDesc, XkbAllComponentsMask, True );
}
XCloseDisplay(pDisplay);
return 0;
}
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]