View Issue Details

IDProjectCategoryView StatusLast Update
0001208Slicer4Core: Base Codepublic2012-08-21 09:43
Reporterjcfr Assigned Tofedorov  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.0.0Fixed in VersionSlicer 4.0.0 
Summary0001208: qSlicerCropVolumeModuleTest1 failure
Description

The test fails with the backtrace reported below.

Note that this test is automatically "generated".

For further details regarding the test, see:

  • macro SlicerMacroAddGenericCxxModuleTests in CropVolume/Testing/CMakeLists.txt
  • Base/QTCore/Testing/qSlicerModuleTest1.cxx.in
Additional Information

Backtrace:

#0 0x00007fffefc12699 in vtkMRMLScene::GetNodesByClass (this=0x0, className=0x7ffff7f9dd58 "vtkMRMLCropVolumeParametersNode")
at /home/jchris/Projects/Slicer4/Libs/MRML/vtkMRMLScene.cxx:1687
0000001 0x00007ffff7f9861a in qSlicerCropVolumeModuleWidget::setup (this=0x7bd920)
at /home/jchris/Projects/Slicer4/QTModules/CropVolume/qSlicerCropVolumeModuleWidget.cxx:114
0000002 0x00007ffff6f6d898 in qSlicerAbstractCoreModule::widgetRepresentation (this=0x7bd700)
at /home/jchris/Projects/Slicer4/Base/QTCore/qSlicerAbstractCoreModule.cxx:218
0000003 0x00000000004067af in qSlicerCropVolumeModuleTest1 (argc=1, argv=0x7fffffffe2f0)
at /home/jchris/Projects/Slicer4-Superbuild-Debug/Slicer-build/QTModules/CropVolume/Testing/qSlicerCropVolumeModuleTest1.cxx:104
0000004 0x00000000004037e0 in main (ac=1, av=0x7fffffffe2f0)
at /home/jchris/Projects/Slicer4-Superbuild-Debug/Slicer-build/QTModules/CropVolume/Testing/CropVolumeCxxTests.cxx:151

TagsNo tags attached.

Activities

fedorov

fedorov

2011-06-18 16:00

developer   ~0002531

JC, are you sure you committed this into the trunk?

I do not see Base/QTCore/Testing/qSlicerModuleTest1.cxx.in here: http://viewvc.slicer.org/viewvc.cgi/Slicer4/trunk/Base/QTCore/Testing/?

jcfr

jcfr

2011-06-18 16:21

administrator   ~0002534

Integrated - http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=17121

ENH: Add SlicerMacroAddGenericCxxModuleTests + add/update module tests

  • This macro allows to easily associate systematic test with a module

  • The file qSlicerModuleTest1.cxx.in is configured and compiled with each test suite

  • Existing module have been updated

  • Testing has been added to "untested" modules

  • Code within TractograpghyDisplay/CMakeLists.txt has been re-organized

finetjul

finetjul

2011-06-19 19:16

administrator   ~0002538

Initialization based on the scene shall not be done in qSlicerAbstractModuleRepresentation::setup() but in virtual void qSlicerAbstractModuleRepresentation::setMRMLScene() (to reimplement in your module).

fedorov

fedorov

2011-06-20 05:58

developer   ~0002539

My module needs to register a new MRML node class, which is currently done in Logic. setup/setMTMLScene assumes that this node class is registered. Looks like this is not the case. I am trying to figure out the proper sequence of events to prevent this problem. Any hints are appreciated.

fedorov

fedorov

2011-06-20 09:36

developer   ~0002540

should be fixed in rev 17155

finetjul

finetjul

2011-07-29 16:55

administrator   ~0002636

Fixed in r17155

jcfr

jcfr

2012-05-02 20:58

administrator   ~0004134

Closing resolved issues that have not been updated in more than 3 months.

Issue History

Date Modified Username Field Change
2011-06-18 15:10 jcfr New Issue
2011-06-18 15:31 jcfr Status new => assigned
2011-06-18 15:31 jcfr Assigned To => fedorov
2011-06-18 16:00 fedorov Note Added: 0002531
2011-06-18 16:00 fedorov Status assigned => feedback
2011-06-18 16:21 jcfr Note Added: 0002534
2011-06-18 16:22 jcfr Status feedback => assigned
2011-06-19 19:16 finetjul Note Added: 0002538
2011-06-20 05:58 fedorov Note Added: 0002539
2011-06-20 09:36 fedorov Note Added: 0002540
2011-06-20 09:36 fedorov Status assigned => feedback
2011-07-29 16:55 finetjul Note Added: 0002636
2011-07-29 16:55 finetjul Status feedback => resolved
2011-07-29 16:55 finetjul Resolution open => fixed
2011-09-15 19:52 finetjul Fixed in Version => Slicer 4.0 RSNA
2012-05-02 20:58 jcfr Note Added: 0004134
2012-05-02 20:58 jcfr Status resolved => closed
2012-08-21 09:43 jcfr Target Version => Slicer 4.0.0