[vtk-developers] [VTK 0013163]: Access violation exception when calling vtkRenderer::Render()
Mantis Bug Tracker
mantis at public.kitware.com
Fri May 11 08:16:23 EDT 2012
The following issue has been SUBMITTED.
======================================================================
http://www.vtk.org/Bug/view.php?id=13163
======================================================================
Reported By: JLG
Assigned To:
======================================================================
Project: VTK
Issue ID: 13163
Category: (No Category)
Reproducibility: have not tried
Severity: minor
Priority: high
Status: backlog
Project: TBD
Type: crash
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2012-05-11 08:16 EDT
Last Modified: 2012-05-11 08:16 EDT
======================================================================
Summary: Access violation exception when calling
vtkRenderer::Render()
Description:
The exception occurs on line vtkRenderer.cxx:660:
for ( i = 0; i < this->PropArrayCount; i++ )
{
this->NumberOfPropsRendered +=
this->PropArray[i]->RenderOverlay(this);
}
this->PropArrayCount is 2, but this->PropArray is null
It seems that the exception is a result of not resetting PropArrayCount in
vtkRenderer::Render(). The lines 362ff in vtkRenderer.cxx are as follows:
if ( this->PropArray)
{
delete [] this->PropArray;
this->PropArray = NULL;
}
But PropArrayCount is not set to 0 after this.
The exception occurs on the same object some time after these lines are
executed.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-05-11 08:16 JLG New Issue
======================================================================
More information about the vtk-developers
mailing list