On Fri, Mar 21, 2008, Matthew King wrote: > When the GL area is destroyed either via the window manager or in code > with gtk_destroy_widget, X complains with: > > The program 'gtkgltest' received an X Window System error. > This probably reflects a bug in the program. > The error was 'BadDrawable (invalid Pixmap or Window parameter)'. > (Details: serial 231 error_code 9 request_code 128 minor_code 9) > (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.) > > I've narrowed it down only as far as gtk_gl_area_destroy in gtkglarea.c, > line 176: > if (gl_area->glcontext) > g_object_unref(gl_area->glcontext); > > I know too little of Gtk (and its relatives) and GtkGL to dig any > further.
I was unable to reproduce this issue with simple GtkGL programs such as the shipped examples. Does it still happen for you? If so, could you maybe provide sample code to reproduce it? Regards, -- Sam. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org