[vtkusers] Crash in vtkOpenGLRenderTimer::ReusableStart()

Pavel Krebs/AMBERG pkrebs at amberg.cz
Thu Mar 29 07:16:59 EDT 2018


Hello,
after update to VTK 8 we have a crash in 
vtkOpenGLRenderTimer::ReusableStart() during rendering on line with 
glQueryCounter in block:

  if (this->StartQuery == 0)
  {
    glGenQueries(1, static_cast<GLuint*>(&this->StartQuery));
    glQueryCounter(static_cast<GLuint>(this->StartQuery), GL_TIMESTAMP);
    this->ReusableStarted = true;
    this->ReusableEnded = false;
  }
Access violation reading location is happened inside of ati driver 
(atio6axx.dll). The computer (HP zBook 15 G3 notebook) is relatively new 
and it contains GPU - 2048MB ATI AMD Firepro W5170M (HP). Our environment 
is Windows 10 x64 and VTK is built with Visual Studio 2017 (x64 target 
platform). 

It happens after the second initialisation of vtkRenderWindow and adding 
and enabling of vtkOrientationMarkerWidget in a scene.
Unfortunately it doesn't happen always and it is related to HW or driver. 
For example Nvidia GPU works OK. I also checked last VTK 8.1 and there is 
same behaviour.

I haven't isolated this problem because of time and because I was able to 
override it with definition of NO_TIMESTAMP_QUERIES in the 
vtkOpenGLRenderTimer source.

I report this to know that there can be a problem on some hardware 
configuration.


Kind regards
 
Pavel Krebs
Software Engineer

AMBERG Engineering Brno, a.s.
Ptašínského 10
602 00 Brno - Czech Republic

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180329/8afe0869/attachment.html>


More information about the vtkusers mailing list