[vtkusers] Crash in vtkShaderProgram/vtkOpenGLPolyDataMapper

Ken Martin ken.martin at kitware.com
Fri May 6 08:48:35 EDT 2016


The render() method has a

if (initialized)

to protect it from making opengl calls prior to initialization but it is
certainly possible that some other operation is hitting openGL. If you know
where it crashes that could help narrow down the entry point that is
getting hit prior to initialization.



On Wed, Apr 27, 2016 at 11:26 AM, Sebastien Jourdain <
sebastien.jourdain at kitware.com> wrote:

> There is only one change on the OpenGL backend but it is a huge one. So
> definitely it is more than likely the case...
>
> Ken any thoughts on that initialization process/check?
>
> Otherwise, you can always build your VTK with the OpenGL1 backend and see
> if your problem goes away. That could also help us narrow down the source
> of the problem.
>
> Thanks,
>
> Seb
>
> On Wed, Apr 27, 2016 at 9:15 AM, dei <david.ei at novodynamics.com> wrote:
>
>> This feels like a race condition between the vtk initialization of OpenGL
>> and
>> the first vtkRender() call. Is there a way to test for OpenGL
>> initialized? I
>> could block vtkRender() calls till it's ready to go. vtk's usage of OpenGL
>> changed a lot in the last 2 years, right?
>>
>>
>>
>> --
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/Crash-in-vtkShaderProgram-vtkOpenGLPolyDataMapper-tp5737734p5737902.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>
>


-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160506/9acd9e45/attachment.html>


More information about the vtkusers mailing list