[Insight-developers] itkImageFillBufferTest4.1 : Failed Tests
Luis Ibanez
luis.ibanez at kitware.com
Mon Dec 20 14:51:37 EST 2010
Hi Gaetan,
The test:
http://www.cdash.org/CDash/testSummary.php?project=2&name=itkImageFillBufferTest4.1&date=2010-12-20
is failing in thurmite.kitware (a mac mini).
The tests segfaults in line 79 of
./Testing/Code/Common/itkImageFillBufferTest.cxx
Looking at the code of this test:
ab29b81a (Gaëtan Lehmann 2009-08-14 07:40:38 -0400 77) std::cout <<
"ComputeOffset(): " << image->ComputeOffset(idx) << std::endl;
ab29b81a (Gaëtan Lehmann 2009-08-14 07:40:38 -0400 78) // we may
have a segfault here on 32 bit systems if 4 GB is requested and 0
effectively allocated
ab29b81a (Gaëtan Lehmann 2009-08-14 07:40:38 -0400 79) if(
image->GetPixel( idx ) != 128 )
ab29b81a (Gaëtan Lehmann 2009-08-14 07:40:38 -0400 80) {
d4917a66 (Gaëtan Lehmann 2009-08-15 04:03:36 -0400 81) std::cerr
<< "Value is not 128!" << std::endl;
b738d019 (Luis Ibanez 2010-10-25 12:16:00 -0400 82) return
(EXIT_FAILURE);
ab29b81a (Gaëtan Lehmann 2009-08-14 07:40:38 -0400 83) }
ab29b81a (Gaëtan Lehmann 2009-08-14 07:40:38 -0400 84)
ab29b81a (Gaëtan Lehmann 2009-08-14 07:40:38 -0400 85) return (EXIT_SUCCESS);
It looks like somehow
this segfault is expected in some systems.
Any suggestion on how we could exclude this tests
from running in the systems where it is expected
to seg fault ?
Thanks
Luis
More information about the Insight-developers
mailing list