Developer Meetings/20140826

From Slicer Wiki
Jump to: navigation, search
Home < Developer Meetings < 20140826

To discuss

  • Release status
    • BRAINSFit performance
    • Mac hang on startup. See #3809



N4ITKBiasFieldCorrectionTest - FPE Exception

$ ~/Support/cmake-3.0.1-Darwin64-universal/CMake.app/Contents/bin/ctest -R N4ITKBiasFieldCorrectionTest -VV
UpdateCTestConfiguration  from :/Users/kitware/Projects/Slicer-updated-vtk-Debug/Slicer-build/DartConfiguration.tcl
Parse Config file:/Users/kitware/Projects/Slicer-updated-vtk-Debug/Slicer-build/DartConfiguration.tcl
 Add coverage exclude regular expressions.
 Add coverage exclude: /CMakeFiles/CMakeTmp/
 Add coverage exclude: .*/moc_.*
 Add coverage exclude: .*/ui_.*
 Add coverage exclude: .*/qrc_.*
 Add coverage exclude: .*/Testing/.*
 Add coverage exclude: .*Python.cxx
 Add coverage exclude: .*PythonInit.cxx
 Add coverage exclude: .*/DesignerPlugins/.*
 Add coverage exclude: .*/generated_cpp/.*
UpdateCTestConfiguration  from :/Users/kitware/Projects/Slicer-updated-vtk-Debug/Slicer-build/DartConfiguration.tcl
Parse Config file:/Users/kitware/Projects/Slicer-updated-vtk-Debug/Slicer-build/DartConfiguration.tcl
Test project /Users/kitware/Projects/Slicer-updated-vtk-Debug/Slicer-build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 452
    Start 452: N4ITKBiasFieldCorrectionTest

452: Test command: /Users/kitware/Projects/Slicer-updated-vtk-Debug/Slicer-build/Slicer "--launcher-no-splash" "--launch" "/Users/kitware/Projects/Slicer-updated-vtk-Debug/Slicer-build/bin/N4ITKBiasFieldCorrectionTest" "--compare" "/Users/kitware/Projects/Slicer/Modules/CLI/N4ITKBiasFieldCorrection/Testing/../Data/Baseline/he3corrected.nii.gz" "/Users/kitware/Projects/Slicer-updated-vtk-Debug/Slicer-build/Testing/Temporary/he3corrected.nii.gz" "ModuleEntryPoint" "--maskimage" "/Users/kitware/Projects/Slicer/Testing/Data/Input/he3mask.nii.gz" "--outputbiasfield" "/Users/kitware/Projects/Slicer-updated-vtk-Debug/Slicer-build/Testing/Temporary/he3biasfield.nii.gz" "/Users/kitware/Projects/Slicer/Testing/Data/Input/he3volume.nii.gz" "/Users/kitware/Projects/Slicer-updated-vtk-Debug/Slicer-build/Testing/Temporary/he3corrected.nii.gz"
452: Test timeout computed to be: 1800
452: <filter-start>
452: <filter-name>N4BiasFieldCorrectionImageFilter</filter-name>
452: <filter-comment> "N4 Bias field correction" </filter-comment>
452: </filter-start>
452: FPE Signal Caught
452: X87CR: 37f
452: X87SR: 0
452: MXCSR: 1f80
452: signal:  SIGFPE with code FPE_FLTUND
452: invalid flag: 0
452: divByZero flag: 0
452: error: [/Users/kitware/Projects/Slicer-updated-vtk-Debug/Slicer-build/bin/N4ITKBiasFieldCorrectionTest] exit abnormally - Report the problem.
1/1 Test #452: N4ITKBiasFieldCorrectionTest .....***Failed    2.27 sec

0% tests passed, 1 tests failed out of 1

Label Time Summary:
N4ITKBiasFieldCorrection    =   2.27 sec

Total Test time (real) =   2.33 sec

The following tests FAILED:
	452 - N4ITKBiasFieldCorrectionTest (Failed)
Errors while running CTest
  • Associated stack trace is:
Process 34046 stopped
* thread #1: tid = 0xc8383, 0x00000001002048b7 libN4ITKBiasFieldCorrectionLib.dylib`itk::N4BiasFieldCorrectionImageFilter<itk::Image<float, 3u>, itk::Image<unsigned char, 3u>, itk::Image<float, 3u> >::SharpenImage(this=0x0000000106af8ef0, unsharpenedImage=0x0000000107100e90) const + 2647 at itkN4BiasFieldCorrectionImageFilter.hxx:345, queue = 'com.apple.main-thread', stop reason = EXC_ARITHMETIC (code=EXC_I386_SSEEXTERR, subcode=0x1832)
    frame #0: 0x00000001002048b7 libN4ITKBiasFieldCorrectionLib.dylib`itk::N4BiasFieldCorrectionImageFilter<itk::Image<float, 3u>, itk::Image<unsigned char, 3u>, itk::Image<float, 3u> >::SharpenImage(this=0x0000000106af8ef0, unsharpenedImage=0x0000000107100e90) const + 2647 at itkN4BiasFieldCorrectionImageFilter.hxx:345
   342 	  for( unsigned int n = 1; n <= halfSize; n++ )
   343 	    {
   344 	    F[n] = F[paddedHistogramSize - n] = vcl_complex<RealType>( scaleFactor *
-> 345 	      std::exp( -vnl_math_sqr( static_cast<RealType>( n ) ) * expFactor ), 0.0 );
   346 	    }
   347 	  if( paddedHistogramSize % 2 == 0 )
   348 	    {