[vtkusers] VTK 6.3/OGL2/Qt5.3.2 : QVTKWidget regression, crash after "reparenting" a widget on OSX

Simon ESNEAULT simon.esneault at gmail.com
Tue Nov 17 03:27:56 EST 2015


Hello,

After the switch to the new rendering backend, we have a crash on our
program after reparenting a QVTKWidget on OSX. The crash is in the
method vtkShaderProgram::FindUniform() but we suspect it is about the
OpenGL context not being ready on time for the next paintEvent with the new
parent.

Attached is a program that reproduce the problem, as well as a complete
backtrace for this crash. This used to work fine with the previous backend.

Hope this little test case helps

Thanks
Simon

-- 
------------------------------------------------------------------
Simon Esneault
Rennes, France
------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151117/5d9ebed6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QVTKWidgetText.zip
Type: application/zip
Size: 4515 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151117/5d9ebed6/attachment.zip>


More information about the vtkusers mailing list