View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000108 | Slicer3 | Base Code | public | 2007-11-13 08:45 | 2008-05-16 10:17 |
Reporter | nicole | Assigned To | nicole | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | linux 64 | OS | OS Version | ||
Summary | 0000108: 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. | ||||
Tags | No tags attached. | ||||
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. |
|
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. |
|
No leaks found in testing type changes. |
|
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 |