[vtkusers] Crash in vtkShaderProgram/vtkOpenGLPolyDataMapper

Sebastien Jourdain sebastien.jourdain at kitware.com
Fri May 6 17:51:37 EDT 2016


5. It tells you that change happened within the OpenGL2 work.

Can you specify the exact spec of your graphic cards (ATI, Nvidia...) as
well as the driver version?

To track it down it would be nice if we could get a test that show that
issue.

On Fri, May 6, 2016 at 3:03 PM, dei <david.ei at novodynamics.com> wrote:

> Just to reiterate, I want to use VTK-7.0.0 to display very large Wavefront
> .OBJ meshes within a complex java CT medical application. My simple java
> viewer test apps work fine (since I fixed a "mouse-move before
> initialization complete" crash - see above). However, more often than not,
> the CT app crashes during VTK initialization. When it initializes
> successfully, it works flawlessly.
> I have more info about the problem:
>
> 1.  The problem occurs on different 3 PCs with 2 different graphics cards.
> All support OpenGL 4.x
>
> 2.  When the crash occurs, the vtkError.txt log shows:
>       ERROR: In ..\..\..\Rendering\OpenGL2\vtkWin32OpenGLRenderWindow.cxx,
> line 724
>       vtkWin32OpenGLRenderWindow (0000000057C208F0): failed to get valid
> pixel format.
>
>       ERROR: In ..\..\..\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line
> 533
>       vtkWin32OpenGLRenderWindow (0000000057C208F0): GLEW could not be
> initialized.
>
>       ERROR: In ..\..\..\Rendering\OpenGL2\vtkOpenGLRenderer.cxx, line 441
>       vtkOpenGLRenderer (0000000057C21150): failed after Clear 16 OpenGL
> errors detected
>         0 : (1282) Invalid operation
>         1 : (1282) Invalid operation
>         2 : (1282) Invalid operation
>         ...
>       ERROR: In ..\..\..\Rendering\OpenGL2\vtkOpenGLCamera.cxx, line 144
>       vtkOpenGLCamera (0000000051E5DDD0): failed after Render 16 OpenGL
> errors detected
>         0 : (1282) Invalid operation
>         ...
>       ERROR: In ..\..\..\Rendering\OpenGL2\vtkOpenGLRenderer.cxx, line 116
>       vtkOpenGLRenderer (0000000057C21150): failed after UpdateLights 16
> OpenGL errors detected
>         0 : (1282) Invalid operation
>         ...
>       ERROR: In ..\..\..\Rendering\OpenGL2\vtkOpenGLProperty.cxx, line 91
>       vtkOpenGLProperty (00000000004E2D70): failed after Render 16 OpenGL
> errors detected
>         0 : (1282) Invalid operation
>         ...
>       ERROR: In ..\..\..\Rendering\OpenGL2\vtkOpenGLPolyDataMapper.cxx,
> line
> 2918
>       vtkOpenGLPolyDataMapper (0000000051E9C170): failed after
> BuildBufferObjects 16 OpenGL errors detected
>         0 : (1282) Invalid operation
>         ...
>       ERROR: In ..\..\..\Rendering\OpenGL2\vtkShaderProgram.cxx, line 399
>       vtkShaderProgram (0000000057C22B60): Shader object was not
> initialized, cannot attach it.
>
> 3.  All accesses to the VTK occur on the AWT-EventQueue-1 thread.
>
> 4.  Changing the order and timing of VTK initialization relative to the
> display of the VTK JPanel does not appear to fix the problem.
>
> 5.  VTK-6.3.0 does *not* exhibit the crash, but it is slow to render when
> moving or zooming the mesh. My simple test apps *have no problem rendering
> the same mesh* when using VTK-6.3.0. This should tell me something, but I'm
> not sure what.
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Crash-in-vtkShaderProgram-vtkOpenGLPolyDataMapper-tp5737734p5738017.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160506/d8c3134d/attachment.html>


More information about the vtkusers mailing list