View Issue Details

IDProjectCategoryView StatusLast Update
0001485Slicer4Core: GUIpublic2012-05-15 07:05
Reporternicole Assigned Tofinetjul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.0.0Fixed in VersionSlicer 4.1.0 
Summary0001485: changing volume to label map causes a crash
Description

In qMRMLVolumeInfoWidget.cxx as of svn 16121, the setLabelMap method is calling set and observe color node id on the dipslay node before the display node has been added to the scene. SetAndObserveColorNodeID first checks if the node has a MRML scene set, and since it does not in this case, it returns after setting the color node to a null pointer.
I tried adding the display node to the scene first, but the resulting event cascade also ended in a crash (GetDisplayNodes in the model (?) displayable manager returned a vector of size 1 but the first display node was null).

Steps To Reproduce

Load a label map volume via File->Add Data (do not set the options to make it a label map, load it as a greyscale).
Go to the Volumes module, Info tab.
Check the label map check box.

Additional Information

tested it with Slicer4/Libs/MRML/Testing/TestData/helixMask3Labels.nrrd

TagsNo tags attached.

Activities

jcfr

jcfr

2012-05-09 09:59

administrator   ~0004253

Is this still an issue ? Thanks Jc

nicole

nicole

2012-05-09 10:25

administrator   ~0004260

Seems to work now!

jcfr

jcfr

2012-05-09 10:28

administrator   ~0004261

Excellent. Julien, if you happen to know which commit solved the issue, would be great to add a comment. If not, I guess you could just resolve the issue as "no change required". Nicole will then close it. Thanks

jcfr

jcfr

2012-05-11 08:01

administrator   ~0004322

Reminder sent to: nicole

Hi Nicole, make sure to close the issue when you have a chance. Thanks Jc

Issue History

Date Modified Username Field Change
2011-10-14 10:47 nicole New Issue
2011-10-14 10:47 nicole Status new => assigned
2011-10-14 10:47 nicole Assigned To => finetjul
2012-05-09 09:59 jcfr Note Added: 0004253
2012-05-09 09:59 jcfr Status assigned => feedback
2012-05-09 10:25 nicole Note Added: 0004260
2012-05-09 10:28 jcfr Note Added: 0004261
2012-05-11 05:58 finetjul Status feedback => resolved
2012-05-11 05:58 finetjul Fixed in Version => Slicer 4.1.0
2012-05-11 05:58 finetjul Resolution open => fixed
2012-05-11 08:00 jcfr Resolution fixed => no change required
2012-05-11 08:01 jcfr Note Added: 0004322
2012-05-11 10:49 jcfr Resolution no change required => fixed
2012-05-15 07:05 nicole Status resolved => closed