View Issue Details

IDProjectCategoryView StatusLast Update
0000108Slicer3Base Codepublic2008-05-16 10:17
Reporternicole Assigned Tonicole  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformlinux 64OSOS Version
Summary0000108: Leaks due to Fiducial glyphs
Description

When add any fiducials to the scene, slicer3 exits with leaks reported.

Steps To Reproduce

Set mouse mode to place a new object. Click on slice planes to add fiducials to a new list. Exit and look at the memory leak report.

Additional Information

It's most likely due to the vtkSlicerFiducialListWidget and how it displays and holds onto the glyphs. The number of leaked instances of vtkSlicerGlyphSource2D increases depending on how long the fiducials are in the scene.

TagsNo tags attached.

Activities

nicole

nicole

2007-11-20 05:26

administrator   ~0000145

The map holding the displayed fiducials isn't actually holding onto them, so the glyphs are being created anew each time UpdateFiducialsFromMRML is called, and they're never deallocated. Explictly setting the comparison method on the map helped a bit, still digging.

nicole

nicole

2007-12-31 11:49

administrator   ~0000229

Checked in some more fixes, when use the starburst 2d or the sphere 3d as default lists, no leaks from the vtkSlicerFiducialListWidget, but if change the type after having added some fids to the scene, get leaks.

nicole

nicole

2008-05-16 10:17

administrator   ~0000298

No leaks found in testing type changes.

Issue History

Date Modified Username Field Change
2007-11-13 08:45 nicole New Issue
2007-11-13 08:45 nicole Status new => assigned
2007-11-13 08:45 nicole Assigned To => nicole
2007-11-20 05:26 nicole Note Added: 0000145
2007-12-31 11:49 nicole Note Added: 0000229
2008-05-16 10:17 nicole Note Added: 0000298
2008-05-16 10:17 nicole Status assigned => closed
2008-05-16 10:17 nicole Resolution open => fixed