puklaus's picture

Error when exiting demos on ubuntu

Tested with ati radeon x1650.

Ubuntu 9.04 x32,
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 20060815 AGP 4x x86/MMX+/3DNow!+/SSE2 TCL
OpenGL version string: 1.3 Mesa 7.4

When pressing ESC:

Exit message received.
Destroying window.
Window destroyed
Disposing context 164359560.
X11 Error encountered:
  Error: BadDrawable (invalid Pixmap or Window parameter)
  Request:     136 (9)
  Resource ID: 0x3C00002
  Serial:      960
  Hwnd:        <null>
  Control:     <null>   at System.Environment.get_StackTrace()
   at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
   at OpenTK.Platform.X11.Glx.DestroyContext(IntPtr , ContextHandle )
   at OpenTK.Platform.X11.X11GLContext.Dispose(Boolean manuallyCalled)
   at OpenTK.Platform.X11.X11GLContext.Dispose()
   at OpenTK.Graphics.GraphicsContext.Dispose(Boolean manual)
   at OpenTK.Graphics.GraphicsContext.Dispose()
   at OpenTK.GameWindow.Dispose()
   at Examples.Tutorial.T07_Display_Lists_Flower.Main()
   at System.Reflection.MonoMethod.InternalInvoke(System.Object , System.Object[] , System.Exception ByRef )
   at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters)
   at Examples.ExampleBrowser+<>c__DisplayClass2.<RunSample>b__0()

###
Ubuntu 9.10 x32,
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 (RV530 71C1) 20090101 AGP 4x x86/MMX+/3DNow!+/SSE2 TCL
OpenGL version string: 1.5 Mesa 7.6

And when pressing ESC:

Exit message received.
Destroying window.
X11 Error encountered:
  Error: BadDrawable (invalid Pixmap or Window parameter)
  Request:     136 (9)
  Resource ID: 0x4400002
  Serial:      412
  Hwnd:        <null>
  Control:     <null>   at System.Environment.get_StackTrace()
   at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
   at OpenTK.Platform.X11.Glx.SwapBuffers(IntPtr , IntPtr )
   at OpenTK.Platform.X11.X11GLContext.SwapBuffers()
   at OpenTK.Graphics.GraphicsContext.SwapBuffers()
   at OpenTK.GameWindow.SwapBuffers()
   at Examples.Tutorial.T07_Display_Lists_Flower.OnRenderFrame(OpenTK.FrameEventArgs e)
   at OpenTK.GameWindow.OnRenderFrameInternal(OpenTK.FrameEventArgs e)
   at OpenTK.GameWindow.RaiseRenderFrame(System.Diagnostics.Stopwatch render_watch, Double ByRef next_render, OpenTK.FrameEventArgs render_args)
   at OpenTK.GameWindow.DispatchUpdateAndRenderFrame(System.Object sender, System.EventArgs e)
   at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   at Examples.Tutorial.T07_Display_Lists_Flower.Main()
   at System.Reflection.MonoMethod.InternalInvoke(System.Object , System.Object[] , System.Exception ByRef )
   at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters)
   at Examples.ExampleBrowser+<>c__DisplayClass2.<RunSample>b__0()
 
Window destroyed
Disposing context 168483792.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

I can confirm this, please file a bug report.