Re: [gtk-list] Strange error message




Darin Ohashi <dmohashi@algonquin.uwaterloo.ca> writes:
> I am getting a strange error message.  I just installed the new nVidia glx
> drivers (I am using gtkglarea, I have recompiled it) and am now getting the
> following error message when I call gtk_widget_show()
> 
> Gdk-ERROR **: BadMatch (invalid parameter attributes)
>   serial 91 error_code 8 request_code 141 minor_code 3
> Gdk-ERROR **: BadMatch (invalid parameter attributes)
>   serial 104 error_code 8 request_code 141 minor_code 3
> 
> I have tracked it down to the function gdk_x_error, so I guess I am getting
> some sort of X error.  Anyone have any idea how to fix this?  It was working
> fine with Mesa.
> 

You might want to try the --sync option to GTK+; this will make GDK
calls synchronous (they will not return until the X server responds),
so your app will crash in the offending code section instead of
somewhere later. Then you can use gdb to track down the problem.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]