On 19-May-07, at 7:31 PM, Josselin Mouette wrote:
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
Unless I'm looking at the wrong revision in svn, the call doesn't
appear to be present in 2.8.20. I suppose I could have worded the
report a bit better; I upgraded libgtk2 when debian unstable switched
from 2.8 to 2.10 and found that I could no longer display gtk apps to
my SGI.
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.
That's entirely possible.
--
Tony 'Nicoya' Mantler - Master of Code-fu
-- [EMAIL PROTECTED] -- http://www.ubb.ca/ --