View Issue Details

IDProjectCategoryView StatusLast Update
0001795Slicer4Module SceneViewspublic2014-03-06 06:10
Reporternicole Assigned Tonicole  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformlinux64OSOS Version
Product Version 
Target VersionSlicer 4.1.0Fixed in VersionSlicer 4.1.0 
Summary0001795: DWI + save scene + scene view crash
Description

I was able to go through the full DTI tutorial, and saved the scene. Then I created a scene view and tried to save again. Slicer crashes in the destructor of the diffusion weighted volume node as triggered by the scene view node Store Scene calling:
this->Nodes->GetNodes()->RemoveAllItems();

Steps To Reproduce

File -> Add Data
Load dwi.nhdr from the DiffusionMRI_tutorialData.zip data set.
File -> Save
(the dwi is marked as modified, this should get fixed as well)
Create a scene view.
File->Save
crash

Additional Information

Data set:
http://www.na-mic.org/Wiki/index.php/File:DiffusionMRI_tutorialData.zip

Back trace of crash:
Program received signal SIGSEGV, Segmentation fault.
0x0000000003ce1550 in ?? ()
(gdb) bt
#0 0x0000000003ce1550 in ?? ()
0000001 0x00007fc77eb26a91 in vtkMRMLDisplayNode::SafeDownCast (o=0x804d730) at /projects/birn/nicole/Slicer4/Slicer4/Libs/MRML/Core/vtkMRMLDisplayNode.h:36
0000002 0x00007fc772af2abc in vtkMRMLDisplayableNode::GetNthDisplayNode (this=0x8065e90, n=0)
at /projects/birn/nicole/Slicer4/Slicer4/Libs/MRML/Core/vtkMRMLDisplayableNode.cxx:221
0000003 0x00007fc772ca2aa3 in vtkMRMLVolumeNode::SetAndObserveImageData (this=0x8065e90, imageData=0x0)
at /projects/birn/nicole/Slicer4/Slicer4/Libs/MRML/Core/vtkMRMLVolumeNode.cxx:643
0000004 0x00007fc772ca011f in vtkMRMLVolumeNode::~vtkMRMLVolumeNode (this=0x8065e90, in_chrg=<value optimized out>)
at /projects/birn/nicole/Slicer4/Slicer4/Libs/MRML/Core/vtkMRMLVolumeNode.cxx:60
0000005 0x00007fc772bf832d in vtkMRMLScalarVolumeNode::~vtkMRMLScalarVolumeNode (this=0x8065e90, __in_chrg=<value optimized out>)
at /projects/birn/nicole/Slicer4/Slicer4/Libs/MRML/Core/vtkMRMLScalarVolumeNode.cxx:57
0000006 0x00007fc772ae8bc1 in vtkMRMLDiffusionWeightedVolumeNode::~vtkMRMLDiffusionWeightedVolumeNode (this=0x8065e90,
in_chrg=<value optimized out>)
at /projects/birn/nicole/Slicer4/Slicer4/Libs/MRML/Core/vtkMRMLDiffusionWeightedVolumeNode.cxx:62
0000007 0x00007fc772ae8c1b in vtkMRMLDiffusionWeightedVolumeNode::~vtkMRMLDiffusionWeightedVolumeNode (this=0x8065e90, __in_chrg=<value optimized out>)
at /projects/birn/nicole/Slicer4/Slicer4/Libs/MRML/Core/vtkMRMLDiffusionWeightedVolumeNode.cxx:62
---Type <return> to continue, or q <return> to quit---
0000008 0x00007fc7679ae767 in vtkObjectBase::UnRegisterInternal (this=0x8065e90, check=0) at /projects/birn/nicole/Slicer4/S4-SuperBuild/VTK/Common/vtkObjectBase.cxx:279
0000009 0x00007fc7679acc89 in vtkObject::UnRegisterInternal (this=0x8065e90, o=0x7099ad0, check=0) at /projects/birn/nicole/Slicer4/S4-SuperBuild/VTK/Common/vtkObject.cxx:885
0000010 0x00007fc7679ae35a in vtkObjectBase::UnRegister (this=0x8065e90, o=0x7099ad0) at /projects/birn/nicole/Slicer4/S4-SuperBuild/VTK/Common/vtkObjectBase.cxx:182
0000011 0x00007fc7678d3cf6 in vtkCollection::DeleteElement (this=0x7099ad0, e=0x749f4f0) at /projects/birn/nicole/Slicer4/S4-SuperBuild/VTK/Common/vtkCollection.cxx:56
0000012 0x00007fc7678d4025 in vtkCollection::RemoveAllItems (this=0x7099ad0) at /projects/birn/nicole/Slicer4/S4-SuperBuild/VTK/Common/vtkCollection.cxx:183
0000013 0x00007fc772c19a79 in vtkMRMLSceneViewNode::StoreScene (this=0x74adb00) at /projects/birn/nicole/Slicer4/Slicer4/Libs/MRML/Core/vtkMRMLSceneViewNode.cxx:339
0000014 0x00007fc77e777539 in qSlicerSaveDataDialogPrivate::saveScene (this=0x3cba2c0) at /projects/birn/nicole/Slicer4/Slicer4/Base/QTGUI/qSlicerSaveDataDialog.cxx:800
0000015 0x00007fc77e7752ff in qSlicerSaveDataDialogPrivate::save (this=0x3cba2c0) at /projects/birn/nicole/Slicer4/Slicer4/Base/QTGUI/qSlicerSaveDataDialog.cxx:552
0000016 0x00007fc77e775255 in qSlicerSaveDataDialogPrivate::accept (this=0x3cba2c0) at /projects/birn/nicole/Slicer4/Slicer4/Base/QTGUI/qSlicerSaveDataDialog.cxx:528
0000017 0x00007fc77e7aafb0 in qSlicerSaveDataDialogPrivate::qt_metacall (this=0x3cba2c0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff54507490)
at /projects/birn/nicole/Slicer4/S4-SuperBuild/Slicer-build/Base/QTGUI/moc_qSlicerSaveDataDialog_p.cxx:92
0000018 0x00007fc773f890b8 in QMetaObject::activate (sender=0x3c96c90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x376cd79ec0)
at /var/tmp/qt-src/src/corelib/kernel/qobject.cpp:3272
0000019 0x00007fc774e6b8fe in QDialogButtonBox::qt_metacall (this=0x3c96c90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff54507610)
---Type <return> to continue, or q <return> to quit---
at .moc/release-shared/moc_qdialogbuttonbox.cpp:121
0000020 0x00007fc773f890b8 in QMetaObject::activate (sender=0x3ce4c90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x376cd79ec0)
at /var/tmp/qt-src/src/corelib/kernel/qobject.cpp:3272
0000021 0x00007fc775138752 in QAbstractButton::clicked (this=0x804d730, _t1=false) at /var/tmp/qt-src/src/gui/.moc/release-shared/moc_qabstractbutton.cpp:206
0000022 0x00007fc774e38f5b in QAbstractButtonPrivate::emitClicked (this=0x3ce4cc0) at /var/tmp/qt-src/src/gui/widgets/qabstractbutton.cpp:546
0000023 0x00007fc774e3a6e5 in QAbstractButtonPrivate::click (this=0x3ce4cc0) at /var/tmp/qt-src/src/gui/widgets/qabstractbutton.cpp:539
0000024 0x00007fc774e3a92f in QAbstractButton::mouseReleaseEvent (this=0x3ce4c90, e=0x7fff54508030) at /var/tmp/qt-src/src/gui/widgets/qabstractbutton.cpp:1121
0000025 0x00007fc774aa84d9 in QWidget::event (this=0x3ce4c90, event=0x7fff54508030) at /var/tmp/qt-src/src/gui/kernel/qwidget.cpp:8187
0000026 0x00007fc774e39830 in QAbstractButton::event (this=0x3ce4c90, e=0x7fc77eb51456) at /var/tmp/qt-src/src/gui/widgets/qabstractbutton.cpp:1080
0000027 0x00007fc774ed7d0e in QPushButton::event (this=0x3ce4c90, e=0x7fff54508030) at /var/tmp/qt-src/src/gui/widgets/qpushbutton.cpp:683
0000028 0x00007fc774a485df in QApplicationPrivate::notify_helper (this=0xfdcf80, receiver=0x3ce4c90, e=0x7fff54508030) at /var/tmp/qt-src/src/gui/kernel/qapplication.cpp:4396
0000029 0x00007fc774a5070e in QApplication::notify (this=<value optimized out>, receiver=0x3ce4c90, e=0x7fff54508030) at /var/tmp/qt-src/src/gui/kernel/qapplication.cpp:3959
0000030 0x00007fc773f73064 in QCoreApplication::notifyInternal (this=0x7fff5450a8f0, receiver=0x3ce4c90, event=0x7fff54508030)
at /var/tmp/qt-src/src/corelib/kernel/qcoreapplication.cpp:732
---Type <return> to continue, or q <return> to quit---q

TagsNo tags attached.

Activities

nicole

nicole

2012-03-08 09:57

administrator   ~0003808

Triggered by re-using the first master scene view node from the first save.

nicole

nicole

2012-03-13 12:42

administrator   ~0003859

Still a problem after editor/crop volume scene views work.

nicole

nicole

2012-03-14 06:31

administrator   ~0003861

fixed by svn 19597

Issue History

Date Modified Username Field Change
2012-03-08 09:22 nicole New Issue
2012-03-08 09:57 nicole Note Added: 0003808
2012-03-12 16:47 finetjul Status new => assigned
2012-03-12 16:47 finetjul Assigned To => nicole
2012-03-13 12:42 nicole Note Added: 0003859
2012-03-14 06:31 nicole Note Added: 0003861
2012-03-14 06:32 nicole Status assigned => closed
2012-03-14 06:32 nicole Resolution open => fixed
2012-04-06 07:03 finetjul Category MRML => Scene Views
2014-03-06 06:10 jcfr Fixed in Version => Slicer 4.1.0