MantisBT - VTK
View Issue Details
0002024VTK(No Category)public2005-07-06 18:232006-04-13 14:24
Goodwin Lawlor 
Mathieu Malaterre 
normalmajoralways
closedopen 
 
 
0002024: vtkHierarchialPolyDataMapper causes a seg fault
Debugging the volTM3DClipRotate.tcl test, vtkHierarchialPolyDataMapper causes a crash in vtkInformationKeyVectorKey::Get(vtkInformation * info) Line 108

Here's the stack:
vtk.exe!std::vector<vtkInformationKey *,std::allocator<vtkInformationKey *> >::operator[](unsigned int _Pos=0) Line 777 + 0x14 bytes
vtk.exe!vtkInformationKeyVectorKey::Get(vtkInformation * info) Line 108 + 0x13 bytes
vtk.exe!vtkInformation::Get(vtkInformationKeyVectorKey * key) Line 371 + 0x1a bytes
vtk.exe!vtkExecutive::CopyDefaultInformation(vtkInformation * request, int direction=1, vtkInformationVector * * inInfoVec, vtkInformationVector * outInfoVec) Line 612 + 0xe bytes
vtk.exe!vtkStreamingDemandDrivenPipeline::CopyDefaultInformation(vtkInformation * request=, int direction=1, vtkInformationVector * * inInfoVec, vtkInformationVector * outInfoVec) Line 295
vtk.exe!vtkCompositeDataPipeline::CopyDefaultInformation(vtkInformation * request=, int direction=1, vtkInformationVector * * inInfoVec=, vtkInformationVector * outInfoVec=) Line 1103
vtk.exe!vtkExecutive::CallAlgorithm(vtkInformation * request, int direction=1, vtkInformationVector * * inInfo=, vtkInformationVector * outInfo=) Line 680 + 0x22 bytes
vtk.exe!vtkDemandDrivenPipeline::ExecuteDataStart(vtkInformation * request=, vtkInformationVector * * inInfo=, vtkInformationVector * outputs) Line 478 + 0x1d bytes
vtk.exe!vtkStreamingDemandDrivenPipeline::ExecuteDataStart(vtkInformation * request=, vtkInformationVector * * inInfoVec=, vtkInformationVector * outInfoVec=) Line 651
vtk.exe!vtkCompositeDataPipeline::ExecuteDataStart(vtkInformation * request=, vtkInformationVector * * inInfoVec, vtkInformationVector * outInfoVec) Line 481
vtk.exe!vtkDemandDrivenPipeline::ExecuteData(vtkInformation * request, vtkInformationVector * * inInfo, vtkInformationVector * outInfo) Line 460 + 0x1e bytes
vtk.exe!vtkCompositeDataPipeline::ExecuteData(vtkInformation * request, vtkInformationVector * * inInfoVec, vtkInformationVector * outInfoVec) Line 978 + 0x14 bytes
vtk.exe!vtkDemandDrivenPipeline::ProcessRequest(vtkInformation * request, int forward=1, vtkInformationVector * * inInfoVec, vtkInformationVector * outInfoVec) Line 243 + 0x1e bytes
vtk.exe!vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation * request, int forward=1, vtkInformationVector * * inInfoVec, vtkInformationVector * outInfoVec) Line 145 + 0x18 bytes
vtk.exe!vtkCompositeDataPipeline::ProcessRequest(vtkInformation * request, int forward=1, vtkInformationVector * * inInfoVec, vtkInformationVector * outInfoVec) Line 243
vtk.exe!vtkDemandDrivenPipeline::UpdateData(int outputPort=-1) Line 406 + 0x2a bytes
vtk.exe!vtkStreamingDemandDrivenPipeline::Update(int port=-1) Line 190 + 0x1c bytes
vtk.exe!vtkExecutive::Update() Line 298 + 0x11 bytes
vtk.exe!vtkDemandDrivenPipeline::Update() Line 278
vtk.exe!vtkStreamingDemandDrivenPipeline::Update() Line 171
vtk.exe!vtkAlgorithm::Update() Line 937 + 0x1a bytes
vtk.exe!vtkHierarchicalPolyDataMapper::GetBounds() Line 282 + 0x12 bytes
vtk.exe!vtkActor::GetBounds() Line 319 + 0x1e bytes
vtk.exe!vtkRenderer::ComputeVisiblePropBounds(double * allBounds) Line 689 + 0x12 bytes
vtk.exe!vtkRenderer::ResetCamera() Line 747
vtk.exe!vtkRenderer::GetActiveCamera() Line 550
vtk.exe!vtkFrustumCoverageCuller::Cull(vtkRenderer * ren, vtkProp * * propList, int & listLength=1, int & initialized=0) Line 70 + 0x8 bytes
vtk.exe!vtkRenderer::AllocateTime() Line 430 + 0x2a bytes
vtk.exe!vtkRenderer::Render() Line 254
No tags attached.
Issue History
2011-06-16 13:11Zack GalbreathCategory => (No Category)

Notes
(0002599)
Goodwin Lawlor   
2005-07-06 18:26   
Should have added
os = winxp
compiler = msvc++ 8 2005 beta2
vtk cvs

Replacing the vtkHierarchialPolyDataMapper with a vtkPolyDataMapper resolves the crash.
(0002608)
Goodwin Lawlor   
2005-07-08 04:56   
I should also have mentioned the debugger came up with "debug assertion failed: vector subscript out of range"
(0003239)
Mathieu Malaterre   
2005-11-14 17:28   
Is this bug still open ?
(0003993)
Goodwin Lawlor   
2006-04-13 14:24   
volTM3DClipRotate.tcl test works fine now with vtk5.0 and the released version of VC++2005.