[vtkusers] Simple VTK application running for long time crashes with nvoglv32.dll error

Jay jayavardhanravi at outlook.com
Fri Nov 3 09:59:38 EDT 2017


I had created a simple VTK application and the run it for long hours (9-12
hrs approx.). 


The application crashes with the nvoglv32.dll error. 
Exception Code: c0000005 - Access violation

The exception occurs whent the Start() function is called i.e.
renderInteractor->Start();
The crash occurs very randomly but always at the Start() function call.

Sample pseudocode:

vtkSource s = new vtksource; 
vtktransform t = new vtktransform;  
vtkpolydatamapper map = new vtkpolydatamapper; 
map->setinputconnection(s->getoutputport()); 
vtkactor act = new vtkactor; 
act->setmapper(map); 
renderer->addActor(act);

renderInteractor->AddObserver(vtkCommand::TimerEvent, callBackClassObject);
// "callBackClassObject" has over ridden the Execute() function
renderInteractor->createRepeatingTimer(1);
*renderInteractor->Start();* // Error occurs at this  line


This issue occurs only after running the vtk event loop for long hours.
Does the VTK use the nvogl32.dll or any other part use this resource
(OpenGL).
Any possible ways to debug this issue.

Any suggestions would be appreciated.

Regards,
Jay




--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list