View Issue Details

IDProjectCategoryView StatusLast Update
0003513Slicer4Module VolumeRenderingpublic2017-06-10 08:51
Reporternicole Assigned Tofinetjul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.4.0Fixed in VersionSlicer 4.4.0 
Summary0003513: Crash when closing the scene while in the volume rendering module
Description

Closing the scene while volume rendering with a cropping ROI causes a crash:

ASSERT: "node && node->GetScene()" in file /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Widgets/qMRMLSceneModel.cxx, line 1352

Steps To Reproduce

Download sample data CTACardio
Enter volume rendering module
Click on eye to enable volume rendering
Crop: enable and display ROI
File->Close Scene

Additional Information

Debugger stack trace:

#0 0x000000376ca328f5 in raise () from /lib64/libc.so.6
0000001 0x000000376ca340d5 in abort () from /lib64/libc.so.6
0000002 0x00007f1c33f43885 in qt_message_output(QtMsgType, char const) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000003 0x00007f1c33f43a6a in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000004 0x00007f1c33f43c25 in qFatal(char const
, ...) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000005 0x00007f1c3d316a1f in qMRMLSceneModel::updateNodeItems (this=0x75148d0, node=0x783f8a0, nodeUID=...)
at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Widgets/qMRMLSceneModel.cxx:1352
0000006 0x00007f1c3d316854 in qMRMLSceneModel::onMRMLNodeModified (this=0x75148d0, node=0x783f8a0)
at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Widgets/qMRMLSceneModel.cxx:1329
0000007 0x00007f1c3d37be27 in qMRMLSceneModel::qt_metacall (this=0x75148d0, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7fffca18deb0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/Slicer-build/Libs/MRML/Widgets/moc_qMRMLSceneModel.cxx:150
0000008 0x00007f1c34061f88 in QMetaObject::activate(QObject, QMetaObject const, int, void) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000009 0x00007f1c387a2760 in ctkVTKConnection::emitExecute (this=0x7843110, _t1=0x783f8a0, _t2=0x0, _t3=33, _t4=0x7843830)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/CTK-build/CTK-build/Libs/Visualization/VTK/Core/moc_ctkVTKConnection.cxx:106
0000010 0x00007f1c3878b16a in ctkVTKConnectionPrivate::execute (this=0x7843830, vtk_obj=0x783f8a0, vtk_event=33, client_data=0x7843830, call_data=0x0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/CTK/Libs/Visualization/VTK/Core/ctkVTKConnection.cpp:409
0000011 0x00007f1c3878ae8e in ctkVTKConnectionPrivate::DoCallback (vtk_obj=0x783f8a0, event=33, client_data=0x7843830, call_data=0x0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/CTK/Libs/Visualization/VTK/Core/ctkVTKConnection.cpp:368
---Type <return> to continue, or q <return> to quit---
0000012 0x00007f1c1b6922fb in vtkCallbackCommand::Execute (this=0x7843640, caller=0x783f8a0, event=33, callData=0x0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/VTK/Common/vtkCallbackCommand.cxx:42
0000013 0x00007f1c32af5fce in vtkEventBroker::InvokeObservation (this=0x28dc760, observation=0x7843910, eid=33, callData=0x0)
at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Core/vtkEventBroker.cxx:839
0000014 0x00007f1c32af55fa in vtkEventBroker::ProcessEvent (this=0x28dc760, observation=0x7843910, caller=0x783f8a0, eid=33, callData=0x0)
at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Core/vtkEventBroker.cxx:688
0000015 0x00007f1c32af65bd in vtkEventBroker::Callback (caller=0x783f8a0, eid=33, clientData=0x7843910, callData=0x0)
at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Core/vtkEventBroker.cxx:914
0000016 0x00007f1c1b6922fb in vtkCallbackCommand::Execute (this=0x7843c20, caller=0x783f8a0, event=33, callData=0x0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/VTK/Common/vtkCallbackCommand.cxx:42
0000017 0x00007f1c1b772faf in vtkSubjectHelper::InvokeEvent (this=0x7840120, event=33, callData=0x0, self=0x783f8a0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/VTK/Common/vtkObject.cxx:620
0000018 0x00007f1c1b7734bf in vtkObject::InvokeEvent (this=0x783f8a0, event=33, callData=0x0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/VTK/Common/vtkObject.cxx:789
0000019 0x00007f1c1b77368e in vtkObject::Modified (this=0x783f8a0) at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/VTK/Common/vtkObject.cxx:855
0000020 0x00007f1c33337e83 in vtkMRMLNode::Modified (this=0x783f8a0) at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Core/vtkMRMLNode.h:362
0000021 0x00007f1bf6c6eb28 in vtkMRMLVolumeRenderingDisplayNode::SetROINodeID (this=0x783f8a0, _arg=0x0)
at /projects/birn/nicole/Slicer42/Slicer/Modules/Loadable/VolumeRendering/MRML/vtkMRMLVolumeRenderingDisplayNode.cxx:35
---Type <return> to continue, or q <return> to quit---
0000022 0x00007f1bf6c7047a in vtkMRMLVolumeRenderingDisplayNode::SetAndObserveROINodeID (this=0x783f8a0, ROINodeID=0x0)
at /projects/birn/nicole/Slicer42/Slicer/Modules/Loadable/VolumeRendering/MRML/vtkMRMLVolumeRenderingDisplayNode.cxx:342
0000023 0x00007f1bed73534e in qSlicerVolumeRenderingModuleWidget::onCurrentMRMLROINodeChanged (this=0x45e5a90, node=0x0)
at /projects/birn/nicole/Slicer42/Slicer/Modules/Loadable/VolumeRendering/Widgets/qSlicerVolumeRenderingModuleWidget.cxx:600
0000024 0x00007f1bed740caa in qSlicerVolumeRenderingModuleWidget::qt_metacall (this=0x45e5a90, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffca18e5f0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/Slicer-build/Modules/Loadable/VolumeRendering/Widgets/moc_qSlicerVolumeRenderingModuleWidget.cxx:137
0000025 0x00007f1c34061f88 in QMetaObject::activate(QObject, QMetaObject const, int, void
) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000026 0x00007f1c3d3791e0 in qMRMLNodeComboBox::currentNodeChanged (this=0x7531700, _t1=0x0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/Slicer-build/Libs/MRML/Widgets/moc_qMRMLNodeComboBox.cxx:287
0000027 0x00007f1c3d2f9eef in qMRMLNodeComboBox::emitCurrentNodeChanged (this=0x7531700) at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Widgets/qMRMLNodeComboBox.cxx:534
0000028 0x00007f1c3d3788c2 in qMRMLNodeComboBox::qt_metacall (this=0x7531700, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0x7fffca18e850)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/Slicer-build/Libs/MRML/Widgets/moc_qMRMLNodeComboBox.cxx:208
0000029 0x00007f1c34061f88 in QMetaObject::activate(QObject, QMetaObject const, int, void) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000030 0x00007f1c34f48e05 in QComboBox::currentIndexChanged(QString const&) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000031 0x00007f1c34f4aaf5 in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000032 0x00007f1c34f4c9b5 in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000033 0x00007f1c34f4cafd in QComboBox::setCurrentIndex(int) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000034 0x00007f1c3d2fa848 in qMRMLNodeComboBox::setCurrentNodeID (this=0x7531700, nodeID=...)
---Type <return> to continue, or q <return> to quit---
at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Widgets/qMRMLNodeComboBox.cxx:675
0000035 0x00007f1c3d2fa5d9 in qMRMLNodeComboBox::setCurrentNode (this=0x7531700, newCurrentNode=0x0)
at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Widgets/qMRMLNodeComboBox.cxx:639
0000036 0x00007f1c3d2f9ed7 in qMRMLNodeComboBox::emitCurrentNodeChanged (this=0x7531700) at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Widgets/qMRMLNodeComboBox.cxx:530
0000037 0x00007f1c3d3788c2 in qMRMLNodeComboBox::qt_metacall (this=0x7531700, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0x7fffca18ecd0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/Slicer-build/Libs/MRML/Widgets/moc_qMRMLNodeComboBox.cxx:208
0000038 0x00007f1c34061f88 in QMetaObject::activate(QObject, QMetaObject const, int, void
) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000039 0x00007f1c34f48e05 in QComboBox::currentIndexChanged(QString const&) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000040 0x00007f1c34f4aaf5 in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000041 0x00007f1c34f4c9b5 in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000042 0x00007f1c34f4cafd in QComboBox::setCurrentIndex(int) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000043 0x00007f1c34f50ac4 in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000044 0x00007f1c34f54291 in QComboBox::qt_metacall(QMetaObject::Call, int, void) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000045 0x00007f1c3c57e038 in ctkComboBox::qt_metacall (this=0x7532a30, _c=QMetaObject::InvokeMetaMethod, _id=48, _a=0x7fffca18efd0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/CTK-build/CTK-build/Libs/Widgets/moc_ctkComboBox.cxx:85
0000046 0x00007f1c34061f88 in QMetaObject::activate(QObject, QMetaObject const, int, void
) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000047 0x00007f1c340b4aa4 in QAbstractItemModel::rowsRemoved(QModelIndex const&, int, int) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000048 0x00007f1c3404642e in QAbstractItemModel::endRemoveRows() () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
0000049 0x00007f1c3513927c in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000050 0x00007f1c3513b626 in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000051 0x00007f1c3513ff6d in QSortFilterProxyModel::qt_metacall(QMetaObject::Call, int, void) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000052 0x00007f1c3d380433 in qMRMLSortFilterProxyModel::qt_metacall (this=0x7538280, _c=QMetaObject::InvokeMetaMethod, _id=38, _a=0x7fffca18f3b0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/Slicer-build/Libs/MRML/Widgets/moc_qMRMLSortFilterProxyModel.cxx:118
0000053 0x00007f1c34061f88 in QMetaObject::activate(QObject, QMetaObject const, int, void
) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000054 0x00007f1c340b4af4 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) ()
from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000055 0x00007f1c3403fd58 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000056 0x00007f1c35147721 in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000057 0x00007f1c351497e5 in QStandardItem::removeRows(int, int) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000058 0x00007f1c3d313872 in qMRMLSceneModel::updateScene (this=0x75320e0) at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Widgets/qMRMLSceneModel.cxx:765
0000059 0x00007f1c3d316fe0 in qMRMLSceneModel::onMRMLSceneClosed (this=0x75320e0, scene=0x2986fb0)
at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Widgets/qMRMLSceneModel.cxx:1475
0000060 0x00007f1c3d315695 in qMRMLSceneModel::onMRMLSceneEvent (vtk_obj=0x2986fb0, event=8707, client_data=0x75320e0, call_data=0x0)
at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Widgets/qMRMLSceneModel.cxx:1139
0000061 0x00007f1c1b6922fb in vtkCallbackCommand::Execute (this=0x7532640, caller=0x2986fb0, event=8707, callData=0x0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/VTK/Common/vtkCallbackCommand.cxx:42
---Type <return> to continue, or q <return> to quit---
0000062 0x00007f1c1b772faf in vtkSubjectHelper::InvokeEvent (this=0x2984990, event=8707, callData=0x0, self=0x2986fb0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/VTK/Common/vtkObject.cxx:620
0000063 0x00007f1c1b7734bf in vtkObject::InvokeEvent (this=0x2986fb0, event=8707, callData=0x0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/VTK/Common/vtkObject.cxx:789
0000064 0x00007f1c3d77593f in vtkObject::InvokeEvent (this=0x2986fb0, event=8707) at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/VTK/Common/vtkObject.h:214
0000065 0x00007f1c32c927f0 in vtkMRMLScene::EndState (this=0x2986fb0, state=3) at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Core/vtkMRMLScene.cxx:590
#66 0x00007f1c32c90f39 in vtkMRMLScene::Clear (this=0x2986fb0, removeSingletons=0) at /projects/birn/nicole/Slicer42/Slicer/Libs/MRML/Core/vtkMRMLScene.cxx:304
#67 0x00007f1c3e2dcf39 in qSlicerAppMainWindowCore::onFileCloseSceneActionTriggered (this=0x45eedb0)
at /projects/birn/nicole/Slicer42/Slicer/Applications/SlicerApp/qSlicerAppMainWindowCore.cxx:240
#68 0x00007f1c3e2dfe56 in qSlicerAppMainWindowCore::qt_metacall (this=0x45eedb0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffca18fab0)
at /projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/Slicer-build/Applications/SlicerApp/moc_qSlicerAppMainWindowCore.cxx:134
#69 0x00007f1c34061f88 in QMetaObject::activate(QObject, QMetaObject const, int, void) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
#70 0x00007f1c34b2acd2 in QAction::triggered(bool) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000071 0x00007f1c34b2c050 in QAction::activate(QAction::ActionEvent) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000072 0x00007f1c34fbe623 in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000073 0x00007f1c34fc4292 in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
#74 0x00007f1c34b922a9 in QWidget::event(QEvent) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000075 0x00007f1c34fc3d1b in QMenu::event(QEvent
) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
0000076 0x00007f1c34b31faf in QApplicationPrivate::notify_helper(QObject, QEvent) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000077 0x00007f1c34b3a19e in QApplication::notify(QObject, QEvent) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000078 0x00007f1c3d741618 in qSlicerApplication::notify (this=0x7fffca191480, receiver=0x3c26600, event=0x7fffca190700)
at /projects/birn/nicole/Slicer42/Slicer/Base/QTGUI/qSlicerApplication.cxx:299
0000079 0x00007f1c3404bdc4 in QCoreApplication::notifyInternal(QObject, QEvent) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000080 0x00007f1c34b34ed7 in QApplicationPrivate::sendMouseEvent(QWidget, QMouseEvent, QWidget, QWidget, QWidget
, QPointer<QWidget>&, bool) ()
from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000081 0x00007f1c34bbb0f9 in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000082 0x00007f1c34bba0f6 in QApplication::x11ProcessEvent(_XEvent*) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000083 0x00007f1c34be5078 in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000084 0x000000376e63bd02 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
0000085 0x000000376e63fae8 in ?? () from /lib64/libglib-2.0.so.0
0000086 0x000000376e63fc9c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
0000087 0x00007f1c34079a1c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000088 0x00007f1c34be4c0f in ?? () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtGui.so.4
0000089 0x00007f1c3404b115 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000090 0x00007f1c3404b366 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
0000091 0x00007f1c3404d1a4 in QCoreApplication::exec() () from /projects/birn/nicole/Qt/QtSDK/Desktop/Qt/474/gcc/lib/libQtCore.so.4
0000092 0x00000000004067f6 in (anonymous namespace)::SlicerAppMain (argc=2, argv=0x7fffca1917e8) at /projects/birn/nicole/Slicer42/Slicer/Applications/SlicerApp/Main.cxx:214
0000093 0x00000000004068fd in main (argc=2, argv=0x7fffca1917e8) at /projects/birn/nicole/Slicer42/Slicer/Applications/SlicerApp/Main.cxx:246
(gdb)

TagsNo tags attached.

Relationships

related to 0003507 closednicole Self-test RSNA2013 3D Visualization of DICOM images 
has duplicate 0003570 closedfinetjul crash closing scene with volume rendering visible 

Activities

nicole

nicole

2013-11-26 12:36

administrator   ~0010387

Added a self test and ctest:
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;revision=22743

ctest -R py_VolumeRenderingSceneClose -VV

nicole

nicole

2013-11-26 12:48

administrator   ~0010389

Trying a quick fix to get it to not crash, this diff avoids the assert but ends up with leaks on exit:
Index: vtkMRMLVolumeRenderingDisplayNode.cxx

--- vtkMRMLVolumeRenderingDisplayNode.cxx (revision 22741)
+++ vtkMRMLVolumeRenderingDisplayNode.cxx (working copy)
@@ -304,6 +304,10 @@
void vtkMRMLVolumeRenderingDisplayNode
::SetAndObserveVolumePropertyNodeID(const char *volumePropertyNodeID)
{

  • if (!this->GetScene())

  • {

  • return;

  • }
    this->SetVolumePropertyNodeID(volumePropertyNodeID);
    vtkMRMLVolumePropertyNode *node = this->GetVolumePropertyNode();
    if (node != this->VolumePropertyNode)
    @@ -339,6 +343,10 @@
    {
    vtkSetAndObserveMRMLObjectMacro(this->ROINode, NULL);

  • if (this->GetScene() == NULL)

  • {

  • return;

  • }
    this->SetROINodeID(ROINodeID);

    vtkMRMLAnnotationROINode *node = this->GetROINode();

At the end of the test with that change:
367: vtkDebugLeaks has detected LEAKS!
367: Class "vtkObservation" has 24 instances still around.
367: Class "vtkColorTransferFunction" has 1 instance still around.
367: Class "vtkObserverManager" has 1 instance still around.
367: Class "vtkIntArray" has 3 instances still around.
367: Class "vtkInformation" has 2 instances still around.
367: Class "vtkEventBroker" has 1 instance still around.
367: Class "vtkPiecewiseFunction" has 2 instances still around.
367: Class "vtkTagTable" has 1 instance still around.
367: Class "vtkVolumeProperty" has 1 instance still around.
367: Class "vtkFieldData" has 2 instances still around.
367: Class "vtkMRMLVolumePropertyNode" has 1 instance still around.
367: Class "vtkTimerLog" has 1 instance still around.
367: Class "vtkUnsignedLongArray" has 4 instances still around.
367: Class "vtkCommand or subclass" has 26 instances still around.
367:
1/1 Test 0000367: py_VolumeRenderingSceneClose .....***Failed 75.29 sec

pieper

pieper

2014-03-06 10:42

administrator   ~0011255

Hey Julien - will you be able to look at this for the 4.4 release? Thx!

finetjul

finetjul

2014-03-27 10:47

administrator   ~0011469

Fixed in r23028

nicole

nicole

2014-03-27 11:02

administrator   ~0011474

Works for me, thanks!

pieper

pieper

2014-03-27 14:25

administrator   ~0011476

Still a problem for me in r23027

  • download MR-head
  • enter volume rendering
  • make visible
  • close scene <--- crash

0000012 Slicer-superbuild $ ./Slicer-build/Slicer
Number of registered modules: 129
Register compression libraries
TagCacheDatabase not open

TagCacheDatabase verified!

Number of instantiated modules: 129
2014-03-27 18:19:38.234 Slicer[44451:507] invalid drawable
2014-03-27 18:19:38.234 Slicer[44451:507] invalid drawable
Number of loaded modules: 129
Show module (name): "Welcome"
Loading Slicer RC file [/Users/pieper/.slicerrc.py]
SlicerRC - Install custom keyboard shortcuts
SlicerRC - 'Shift+Meta+0' -> 'loadSlicerRCFile'
SlicerRC - 'Shift+Meta+1' -> 'LabelStatistics'
SlicerRC - 'Shift+Meta+2' -> 'endoscopy'
SlicerRC - 'Shift+Meta+3' -> 'editor'
SlicerRC - 'Shift+Meta+4' -> 'fileScan'
SlicerRC - 'Shift+Meta+5' -> 'performance'
SlicerRC - 'Shift+Meta+6' -> 'slicr_setup'
SlicerRC - 'Shift+Meta+7' -> 'DICOM_setup'
SlicerRC - 'Shift+Meta+p' -> 'grabPythonToClipboard'
SlicerRC - 'Shift+Meta+c' -> 'grabMainToClipboard'
Slicer RC file loaded [27/03/2014 22:19:39]
Show module (name): "SampleData"
"Volume" Reader has successfully read the file "/var/folders/5g/8696sbjd1blch9pwpqwzq8c40000gn/T/Slicer/RemoteIO/MR-head.nrrd"
Show module (name): "VolumeRendering"
toInt : value -1.79769e+308 for singleStep 0.01 is out of integer bounds !
toInt : value 1.79769e+308 for singleStep 0.01 is out of integer bounds !
toInt : value -1.79769e+308 for singleStep 0.01 is out of integer bounds !
toInt : value 1.79769e+308 for singleStep 0.01 is out of integer bounds !
toInt : value -1.79769e+308 for singleStep 0.01 is out of integer bounds !
toInt : value 1.79769e+308 for singleStep 0.01 is out of integer bounds !
Threshold: 3 131
Warning: In /Users/pieper/slicer4/latest/Slicer/Libs/MRML/Core/vtkObserverManager.cxx, line 211
vtkObserverManager (0x7fd9b16a9430): Observation 33 between vtkMRMLUnitNode and vtkMRMLSelectionNode already exists.

ASSERT: "node && node->GetScene()" in file /Users/pieper/slicer4/latest/Slicer/Libs/MRML/Widgets/qMRMLSceneModel.cxx, line 1358

nicole

nicole

2014-03-27 14:36

administrator   ~0011477

Steve: Try one more SVN revision up

pieper

pieper

2014-03-27 23:03

administrator   ~0011479

Okay yes, confirmed. Excellent.

Related Changesets

Slicer: 2145-support-for-installing-extension-from-file ddbe711c

2013-11-26 17:35:38

naucoin

Details Diff
BUG: adding a test for closing the scene with volume rendering + cropping

Crashes on linux.

Issue 0003513



git-svn-id: http://svn.slicer.org/Slicer4/trunk@22743 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Loadable/VolumeRendering/Testing/CMakeLists.txt Diff File
mod - Modules/Loadable/VolumeRendering/Testing/Python/CMakeLists.txt Diff File
add - Modules/Loadable/VolumeRendering/Testing/Python/VolumeRenderingSceneClose.py Diff File

Import 2017-06-07 23:51:09: master ddbe711c

2013-11-26 17:35:38

naucoin

Details Diff
BUG: adding a test for closing the scene with volume rendering + cropping

Crashes on linux.

Issue 0003513



git-svn-id: http://svn.slicer.org/Slicer4/trunk@22743 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Loadable/VolumeRendering/Testing/CMakeLists.txt Diff File
mod - Modules/Loadable/VolumeRendering/Testing/Python/CMakeLists.txt Diff File
add - Modules/Loadable/VolumeRendering/Testing/Python/VolumeRenderingSceneClose.py Diff File

Issue History

Date Modified Username Field Change
2013-11-26 12:34 nicole New Issue
2013-11-26 12:34 nicole Status new => assigned
2013-11-26 12:34 nicole Assigned To => finetjul
2013-11-26 12:36 nicole Note Added: 0010387
2013-11-26 12:47 nicole Relationship added related to 0003507
2013-11-26 12:48 nicole Note Added: 0010389
2014-03-06 10:15 nicole Target Version Slicer 4.3.2 => Slicer 4.4.0
2014-03-06 10:42 pieper Note Added: 0011255
2014-03-11 08:00 inorton Relationship added related to 0003570
2014-03-27 10:47 finetjul Note Added: 0011469
2014-03-27 10:47 finetjul Status assigned => resolved
2014-03-27 10:47 finetjul Fixed in Version => Slicer 4.4.0
2014-03-27 10:47 finetjul Resolution open => fixed
2014-03-27 11:00 finetjul Relationship replaced has duplicate 0003570
2014-03-27 11:02 nicole Note Added: 0011474
2014-03-27 11:02 nicole Status resolved => closed
2014-03-27 14:25 pieper Note Added: 0011476
2014-03-27 14:36 nicole Note Added: 0011477
2014-03-27 23:03 pieper Note Added: 0011479
2017-06-07 23:27 Changeset attached => Slicer 2145-support-for-installing-extension-from-file ddbe711c
2017-06-10 08:51 Changeset attached => Slicer master ddbe711c