View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012703VTK(No Category)public2011-11-03 10:262013-07-22 20:48
ReporterCJ Bourn 
Assigned ToDave DeMarle 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.8.0 
Target VersionFixed in Version 
Summary0012703: vtkOpenGLGPUVolumeRayCastMapper: Exception in LoadExtensions causes InRender flag to stay set and never render again
DescriptionIn vtkOpenGLGPUVolumeRayCastMapper, if the GL context could not actually be set up, then all the calls to glGetString() will return NULL. These results are then blindly passed to strstr() which results in an exception. This method gets called during Render() which causes the InRender flag of vtkRenderWindow to never be cleared and thus rendering will never occur again. The fix is simple, eg Line 2160:

  const char *gl_version=reinterpret_cast<const char *>(glGetString(GL_VERSION));
  if(gl_version != 0 && strstr(gl_version,"Mesa")!=0)
     ^^^^^^^^^^^^^^^^^^
TagsNo tags attached.
ProjectTBD
Typecrash
Attached Filescxx file icon vtkOpenGLGPUVolumeRayCastMapper.cxx [^] (244,293 bytes) 2011-11-03 10:26

 Relationships

  Notes
(0031311)
Dave DeMarle (administrator)
2013-07-22 20:48

http://review.source.kitware.com/#/c/11727/ [^]

 Issue History
Date Modified Username Field Change
2011-11-03 10:26 CJ Bourn New Issue
2011-11-03 10:26 CJ Bourn File Added: vtkOpenGLGPUVolumeRayCastMapper.cxx
2013-07-22 20:48 Dave DeMarle Assigned To => Dave DeMarle
2013-07-22 20:48 Dave DeMarle Status backlog => todo
2013-07-22 20:48 Dave DeMarle Status todo => active development
2013-07-22 20:48 Dave DeMarle Note Added: 0031311
2013-07-22 20:48 Dave DeMarle Status active development => closed
2013-07-22 20:48 Dave DeMarle Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team