[vtkusers] GLXBadDrawable on application exit

Clinton Stimpson clinton at elemtech.com
Fri Jun 22 18:42:20 EDT 2012


QVTKRenderWindowInteractor needs a destructor that calls Finalize() on the 
vtkRenderWindow.
Otherwise, vtkXOpenGLRenderWindow::Finalize() will be called after the QWidget 
is gone, leading to X errors with an invalid Window.

Clint

On Thursday, June 21, 2012 02:11:36 PM Félix C. Morency wrote:
> Hi,
> 
> I posted this issue in another thread on the developers mailing list
> but felt I should post it here. I encounter GLXBadDrawable errors when
> I exit an application rendering multiple QVTKRenderWindowInteractor in
> a QMdiArea. The GLXBadDrawable looks like
> 
> X Error of failed request:  GLXBadDrawable
>   Major opcode of failed request:  135 (GLX)
>   Minor opcode of failed request:  5 (X_GLXMakeCurrent)
>   Serial number of failed request:  95
>   Current serial number in output stream:  95
> 
> You can find in [1] a code snippet that reproduces the issue. It
> happens on Linux as well as on Windows. It has been tested with PySide
> v1.1.1, PyQt4 v4.9.1 and VTK 5.10.0.
> 
> Does anyone have a clue why this is happening?
> 
> [1]: https://gist.github.com/2967336
> 
> Regards,
> --
> Félix C. Morency, M.Sc.
> Plateforme d’analyse et de visualisation d’images
> Centre Hospitalier Universitaire de Sherbrooke
> Centre de recherche clinique Étienne-Le Bel
> Local Z5-3031 | 819.346.1110 ext 16634
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
-- 
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com



More information about the vtkusers mailing list