Bug#425189: libgtk2.0-0: BadValue on XkbSelectEventDetails with Xsgi

Josselin Mouette joss at debian.org
Sun May 20 00:31:34 UTC 2007


Le samedi 19 mai 2007 à 18:29 -0500, Tony 'Nicoya' Mantler a écrit :
> Package: libgtk2.0-0
> Version: 2.10.12-2
> Severity: normal
> 
> Somewhere in version 2.10 of libgtk, a call to XkbSelectEventDetails() was added around 
> line 300 of gdk/x11/gdkdisplay-x11.c, in gdk_display_open. This call causes gtk 
> applications to fail to run when displaying to an Xsgi X server, with an error message 
> like the following:
> 
> The program 'xscreensaver-demo' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadValue (integer parameter out of range for operation)'.
>   (Details: serial 73 error_code 2 request_code 139 minor_code 1)
>   (Note to programmers: normally, X errors are reported asynchronously;
>    that is, you will receive the error a while after causing it.
>    To debug your program, run it with the --sync command line
>    option to change this behavior. You can then get a meaningful
>    backtrace from your debugger if you break on the gdk_x_error() function.)
> 
> Commenting out the XkbSelectEventDetails() call allows the apps to start and run 
> normally. I'm not really well versed enough in X11 to say exactly why the call is 
> failing.

The XkbSelectEventDetails call was added much earlier than the 2.10
series. I think you're talking about the following change:
http://svn.gnome.org/viewcvs/gtk%2B/trunk/gdk/x11/gdkdisplay-x11.c?view=diff&r1=15911&r2=15912

In all cases, this looks like a bug in Xsgi rather than one in GTK+, but
I'm CCing Matthias, who committed this change. Matthias, do you remember
why you did this change? I can't find anything relevant in the
ChangeLog.

Thanks,
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20070520/5baa76c6/attachment-0001.pgp 


More information about the pkg-gnome-maintainers mailing list