View Issue Details

IDProjectCategoryView StatusLast Update
0004050Slicer4Core: Scripting (Wrapping, Python)public2018-03-02 11:06
Reportermsmolens Assigned Tomsmolens  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.5.0-1Fixed in VersionSlicer 4.5.0-1 
Summary0004050: Fix memory leaks associated with py_DTINotReproducibleIssue3977
Description

Running py_DTINotReproducibleIssue3977 on OS X Release build based on r24561, for example, shows:

vtkDebugLeaks has detected LEAKS!
Class "vtkCellData" has 6 instances still around.
Class "vtkNRRDReader" has 2 instances still around.
Class "vtkInformationIntegerVectorValue" has 18 instances still around.
Class "vtkInformationVector" has 184 instances still around.
Class "vtkPointData" has 6 instances still around.
Class "vtkCompositeDataPipeline" has 34 instances still around.
Class "vtkMedicalImageProperties" has 2 instances still around.
Class "vtkObservation" has 10 instances still around.
Class "vtkMatrix4x4" has 6 instances still around.
Class "vtkImageMapToColors" has 2 instances still around.
Class "vtkImageShiftScale" has 2 instances still around.
Class "vtkObserverManager" has 3 instances still around.
Class "vtkIntArray" has 2 instances still around.
Class "vtkPoints" has 6 instances still around.
Class "vtkInformation" has 414 instances still around.
Class "vtkMRMLDiffusionTensorVolumeDisplayNode" has 2 instances still around.
Class "vtkInformationStringVectorValue" has 6 instances still around.
Class "vtkMultiThreader" has 26 instances still around.
Class "vtkInformationIntegerPointerValue" has 6 instances still around.
Class "vtkEventBroker" has 1 instance still around.
Class "vtkLookupTable" has 1 instance still around.
Class "vtkImageChangeInformation" has 2 instances still around.
Class "vtkImageThreshold" has 2 instances still around.
Class "vtkIdList" has 6 instances still around.
Class "vtkDoubleArray" has 6 instances still around.
Class "vtkAlgorithmOutput" has 30 instances still around.
Class "vtkImageCast" has 2 instances still around.
Class "vtkMRMLColorTableNode" has 1 instance still around.
Class "vtkInformationIntegerValue" has 564 instances still around.
Class "vtkDiffusionTensorGlyph" has 2 instances still around.
Class "vtkTagTable" has 1 instance still around.
Class "vtkDiffusionTensorMathematics" has 4 instances still around.
Class "vtkImageData" has 6 instances still around.
Class "vtkFloatArray" has 2 instances still around.
Class "vtkImageExtractComponents" has 4 instances still around.
Class "vtkInformationStringValue" has 6 instances still around.
Class "vtkImageMapToWindowLevelColors" has 2 instances still around.
Class "vtkInformationExecutivePortVectorValue" has 28 instances still around.
Class "vtkImageMathematics" has 2 instances still around.
Class "vtkVoxel" has 6 instances still around.
Class "vtkFieldData" has 6 instances still around.
Class "vtkInformationDoubleVectorValue" has 12 instances still around.
Class "vtkSphereSource" has 2 instances still around.
Class "vtkUnsignedCharArray" has 3 instances still around.
Class "vtkImageStencil" has 2 instances still around.
Class "vtkImageAppendComponents" has 2 instances still around.
Class "vtkTimerLog" has 1 instance still around.
Class "vtkUnsignedLongArray" has 2 instances still around.
Class "vtkCommand or subclass" has 22 instances still around.
Class "vtkImageLogic" has 2 instances still around.
Class "vtkInformationExecutivePortValue" has 30 instances still around.

TagsNo tags attached.

Related Changesets

Import 2017-06-07 23:51:09: master fa32f741

2015-09-21 09:08:10

msmolens

Details Diff
BUG: Fix memory leaks associated with py_DTINotReproducibleIssue3977 test

In a debug build running py_DTINotReproducibleIssue3977 reports that a number of VTK
class instances leak.

This commit fixes a regression introduced in r24291 (ENH: Use vtkMRMLLabelMapVolumeNode
class for labelmap volumes) that caused leaks due to incorrect memory management on an
instance of vtkMRMLDiffusionTensorVolumeDisplayNode.

Fixes 0004050

From: Max Smolens <max.smolens@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24564 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/Logic/vtkSlicerApplicationLogic.cxx Diff File

Issue History

Date Modified Username Field Change
2015-09-18 06:07 msmolens New Issue
2015-09-18 06:07 msmolens Status new => assigned
2015-09-18 06:07 msmolens Assigned To => msmolens
2015-09-21 05:44 msmolens Note Added: 0013285
2015-09-21 05:44 msmolens Status assigned => resolved
2015-09-21 05:44 msmolens Fixed in Version => Slicer 4.5.0-1
2015-09-21 05:44 msmolens Resolution open => fixed
2017-06-10 08:51 msmolens Changeset attached => Slicer master fa32f741
2018-03-02 11:06 jcfr Status resolved => closed