<div dir="ltr">5. It tells you that change happened within the OpenGL2 work. <div><br></div><div>Can you specify the exact spec of your graphic cards (ATI, Nvidia...) as well as the driver version?</div><div><br></div><div>To track it down it would be nice if we could get a test that show that issue.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 6, 2016 at 3:03 PM, dei <span dir="ltr"><<a href="mailto:david.ei@novodynamics.com" target="_blank">david.ei@novodynamics.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Just to reiterate, I want to use VTK-7.0.0 to display very large Wavefront<br>
.OBJ meshes within a complex java CT medical application. My simple java<br>
viewer test apps work fine (since I fixed a "mouse-move before<br>
initialization complete" crash - see above). However, more often than not,<br>
the CT app crashes during VTK initialization. When it initializes<br>
successfully, it works flawlessly.<br>
I have more info about the problem:<br>
<br>
1.  The problem occurs on different 3 PCs with 2 different graphics cards.<br>
All support OpenGL 4.x<br>
<br>
2.  When the crash occurs, the vtkError.txt log shows:<br>
      ERROR: In ..\..\..\Rendering\OpenGL2\vtkWin32OpenGLRenderWindow.cxx,<br>
line 724<br>
      vtkWin32OpenGLRenderWindow (0000000057C208F0): failed to get valid<br>
pixel format.<br>
<br>
      ERROR: In ..\..\..\Rendering\OpenGL2\vtkOpenGLRenderWindow.cxx, line<br>
533<br>
      vtkWin32OpenGLRenderWindow (0000000057C208F0): GLEW could not be<br>
initialized.<br>
<br>
      ERROR: In ..\..\..\Rendering\OpenGL2\vtkOpenGLRenderer.cxx, line 441<br>
      vtkOpenGLRenderer (0000000057C21150): failed after Clear 16 OpenGL<br>
errors detected<br>
        0 : (1282) Invalid operation<br>
        1 : (1282) Invalid operation<br>
        2 : (1282) Invalid operation<br>
        ...<br>
      ERROR: In ..\..\..\Rendering\OpenGL2\vtkOpenGLCamera.cxx, line 144<br>
      vtkOpenGLCamera (0000000051E5DDD0): failed after Render 16 OpenGL<br>
errors detected<br>
        0 : (1282) Invalid operation<br>
        ...<br>
      ERROR: In ..\..\..\Rendering\OpenGL2\vtkOpenGLRenderer.cxx, line 116<br>
      vtkOpenGLRenderer (0000000057C21150): failed after UpdateLights 16<br>
OpenGL errors detected<br>
        0 : (1282) Invalid operation<br>
        ...<br>
      ERROR: In ..\..\..\Rendering\OpenGL2\vtkOpenGLProperty.cxx, line 91<br>
      vtkOpenGLProperty (00000000004E2D70): failed after Render 16 OpenGL<br>
errors detected<br>
        0 : (1282) Invalid operation<br>
        ...<br>
      ERROR: In ..\..\..\Rendering\OpenGL2\vtkOpenGLPolyDataMapper.cxx, line<br>
2918<br>
      vtkOpenGLPolyDataMapper (0000000051E9C170): failed after<br>
BuildBufferObjects 16 OpenGL errors detected<br>
        0 : (1282) Invalid operation<br>
        ...<br>
      ERROR: In ..\..\..\Rendering\OpenGL2\vtkShaderProgram.cxx, line 399<br>
      vtkShaderProgram (0000000057C22B60): Shader object was not<br>
initialized, cannot attach it.<br>
<br>
3.  All accesses to the VTK occur on the AWT-EventQueue-1 thread.<br>
<br>
4.  Changing the order and timing of VTK initialization relative to the<br>
display of the VTK JPanel does not appear to fix the problem.<br>
<br>
5.  VTK-6.3.0 does *not* exhibit the crash, but it is slow to render when<br>
moving or zooming the mesh. My simple test apps *have no problem rendering<br>
the same mesh* when using VTK-6.3.0. This should tell me something, but I'm<br>
not sure what.<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Crash-in-vtkShaderProgram-vtkOpenGLPolyDataMapper-tp5737734p5738017.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Crash-in-vtkShaderProgram-vtkOpenGLPolyDataMapper-tp5737734p5738017.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>