View Issue Details

IDProjectCategoryView StatusLast Update
0002499Slicer4Core: GUIpublic2012-12-08 09:46
Reporterungi Assigned Toalexy  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.2.0Fixed in VersionSlicer 4.2.0 
Summary0002499: Crash after turning on slice intersections and moving sliders in the 2D viewers
Description

My scenario on Win 7 64-bit with today's nightly (2012-09-10 is the date in the installer):

  1. Open a CT volume
  2. Turn on Slice intersections
  3. Move any slider (slice selector) in the 2D viewers.

Same bug with my CT and the downloadable example chest CT.

TagsNo tags attached.

Relationships

duplicate of 0001536 closedalexy Model slice intersections do not work 

Activities

inorton

inorton

2012-10-04 08:21

developer   ~0006383

Backtrace:

0 vtkIdList::GetNumberOfIds vtkIdList.h 38 0x7fffeddef04e
1 vtkMergePoints::InsertUniquePoint vtkMergePoints.cxx 143 0x7fffedfc7256
2 vtkQuad::Contour vtkQuad.cxx 474 0x7fffee03cbff
3 vtkGenericCell::Contour vtkGenericCell.cxx 187 0x7fffedea346a
4 vtkCutter::DataSetCutter vtkCutter.cxx 603 0x7fffed21775b
5 vtkCutter::RequestData vtkCutter.cxx 378 0x7fffed2166fb
6 vtkPolyDataAlgorithm::ProcessRequest vtkPolyDataAlgorithm.cxx 91 0x7fffee00f55e
7 vtkCutter::ProcessRequest vtkCutter.cxx 1122 0x7fffed219a59
8 vtkExecutive::CallAlgorithm vtkExecutive.cxx 747 0x7fffede95d65
9 vtkDemandDrivenPipeline::ExecuteData vtkDemandDrivenPipeline.cxx 507 0x7fffede7e5a3
10 vtkDemandDrivenPipeline::ProcessRequest vtkDemandDrivenPipeline.cxx 279 0x7fffede7dc61
11 vtkStreamingDemandDrivenPipeline::ProcessRequest vtkStreamingDemandDrivenPipeline.cxx 276 0x7fffee095f10
12 vtkExecutive::ForwardUpstream vtkExecutive.cxx 646 0x7fffede958ec
13 vtkDemandDrivenPipeline::ProcessRequest vtkDemandDrivenPipeline.cxx 265 0x7fffede7dbcc
14 vtkStreamingDemandDrivenPipeline::ProcessRequest vtkStreamingDemandDrivenPipeline.cxx 276 0x7fffee095f10
15 vtkDemandDrivenPipeline::UpdateData vtkDemandDrivenPipeline.cxx 449 0x7fffede7e36a
16 vtkStreamingDemandDrivenPipeline::Update vtkStreamingDemandDrivenPipeline.cxx 326 0x7fffee09612e
17 vtkDataObject::Update vtkDataObject.cxx 1030 0x7fffede68b1a
18 vtkOpenGLPolyDataMapper2D::RenderOverlay vtkOpenGLPolyDataMapper2D.cxx 74 0x7fffeadba5be
19 vtkActor2D::RenderOverlay vtkActor2D.cxx 103 0x7fffeddf26c9
20 vtkRenderer::UpdateGeometry vtkRenderer.cxx 660 0x7fffeacc2da5
... <More>

inorton

inorton

2012-10-04 08:51

developer   ~0006384

here is what looks like the issue:

when slice offset is changed, vtkMRMLSliceLogic:591 calls vtkMRMLSliceLogic->UpdatePipeline(), this updates the SliceModel polydata

then :592 calls Modified on the SliceModel,
-> goes to ModelSliceDisplayableManager pipelines
-> render is triggered !!

!! Problem: up to this point there has been no update of the actual slice position from the SliceNode.

so the vtkPlane for the Cutter is not in the right position, relative to the now-updated polydata of the SliceModel. When the render triggers the demand pipeline of the vtkCutter, then it tries to cut unknown cells in space.

alexy

alexy

2012-10-09 10:31

developer   ~0006473

Added vtkPolyData->Modified() as a workaround for crash in vtkCutter in order to update bounds of the locator.
revision: 21148

Issue History

Date Modified Username Field Change
2012-09-12 15:36 ungi New Issue
2012-09-12 15:36 ungi Status new => assigned
2012-09-12 15:36 ungi Assigned To => kikinis
2012-09-15 09:05 kikinis Assigned To kikinis => inorton
2012-09-17 14:48 inorton Status assigned => acknowledged
2012-10-02 13:25 pieper Relationship added duplicate of 0001536
2012-10-04 08:21 inorton Note Added: 0006383
2012-10-04 08:51 inorton Note Added: 0006384
2012-10-04 09:24 inorton Status acknowledged => assigned
2012-10-04 09:24 inorton Assigned To inorton => alexy
2012-10-09 10:31 alexy Note Added: 0006473
2012-10-09 10:31 alexy Status assigned => resolved
2012-10-09 10:31 alexy Resolution open => fixed
2012-10-09 11:34 fedorov Status resolved => closed
2012-10-09 11:34 fedorov Fixed in Version => Slicer 4.2.0 - coming release
2012-12-08 09:46 jcfr Target Version => Slicer 4.2.0