View Issue Details

IDProjectCategoryView StatusLast Update
0001764Slicer4Core: MRMLpublic2017-06-10 08:51
Reporterliuy5 Assigned Tofedorov  
PriorityurgentSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.0.1 
Target VersionSlicer 4.0.1Fixed in VersionSlicer 4.0.1 
Summary0001764: crash after close scene and loading image
Description

Slicer 4 2012/02/28

  1. start slicer
  2. load one image
  3. do cropping
  4. save cropped volume
  5. close scene
  6. load the same volume
  7. in crop volume module, select the loaded volume
  8. crash

Tested on multiple images.

Additional Information

Could this be scene closing and MRML node selector widget?

TagsNo tags attached.

Relationships

related to 0003947 closednicole Repeated crop volume freezes Slicer 

Activities

liuy5

liuy5

2012-02-28 07:32

developer   ~0003736

gdb output:

Program received signal SIGSEGV, Segmentation fault.
0x00007fd8dabfd85a in vtkObject::GetDebug (this=0x0)
at /home/yliu/Imaging/slicer/Slicer4-trunk/build/VTK/Common/vtkObject.cxx:212
212 return this->Debug;

fedorov

fedorov

2012-02-29 12:52

developer   ~0003748

Fixed in r19475.

Related Changesets

Import 2017-06-07 23:51:09: master 5d8e51a1

2015-02-17 11:17:24

naucoin

Details Diff
BUG: update management of crop volume parameters node

The module was holding a pointer to the parameter node that could get out of
date on scene changes and cause crashes. Switch to using a mrml node combo
box to manage the parameters node.
Adjusted the UI file to allow the generic module widget test to pass.
Update the widget more fully on enter and scene changes. Select a newly added
input volume or ROI if none already selected. When picking a new input volume,
or switching ot a new parameter set one, set it to be active in the slice viewers.
Update the parameters node constructor, destructor, read/write xml, copy and print
for missing calls. Make sure that the GUI updates the parameters node (was missing
the input volume and ROI node IDs).
Added a scene close to the self test, and add the CMake command to make it show
up as a self test in the GUI.
Added error checking, took out debugging print outs.

Tested against issues: 0003947 0001764 0003313

Issue 0003947

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23973 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Loadable/CropVolume/MRML/vtkMRMLCropVolumeParametersNode.cxx Diff File
mod - Modules/Loadable/CropVolume/Resources/UI/qSlicerCropVolumeModuleWidget.ui Diff File
mod - Modules/Loadable/CropVolume/Testing/Python/CMakeLists.txt Diff File
mod - Modules/Loadable/CropVolume/Testing/Python/CropVolumeSelfTest.py Diff File
mod - Modules/Loadable/CropVolume/Testing/vtkMRMLCropVolumeParametersNodeTest1.cxx Diff File
mod - Modules/Loadable/CropVolume/qSlicerCropVolumeModuleWidget.cxx Diff File
mod - Modules/Loadable/CropVolume/qSlicerCropVolumeModuleWidget.h Diff File

Issue History

Date Modified Username Field Change
2012-02-28 06:57 liuy5 New Issue
2012-02-28 07:32 liuy5 Note Added: 0003736
2012-02-29 04:15 nicole Assigned To => fedorov
2012-02-29 04:15 nicole Status new => assigned
2012-02-29 05:16 fedorov Status assigned => acknowledged
2012-02-29 12:52 fedorov Note Added: 0003748
2012-02-29 12:52 fedorov Status acknowledged => resolved
2012-02-29 12:52 fedorov Fixed in Version => Slicer 4.0.1
2012-02-29 12:52 fedorov Resolution open => fixed
2012-03-01 09:15 liuy5 Status resolved => closed
2012-08-21 09:49 jcfr Target Version => Slicer 4.0.1
2015-02-03 09:00 nicole Relationship added related to 0003947
2017-06-10 08:51 Changeset attached => Slicer master 5d8e51a1