[Insight-developers] Define _GLIBCXX_DEBUG on dashboard?

Sean McBride sean at rogue-research.com
Wed May 29 16:05:42 EDT 2013


On Wed, 29 May 2013 09:04:31 -0400, Bradley Lowekamp said:

>I am currently a little fired up to tack down more bugs.
>
>Do you think you could configure a torture build but turn on only the
>Core modules? 

I forgot to say...  There are two ways to run ubsan: 1) it SIGILLs when it hits undefined behaviour or 2) it logs and continues without crashing.   #1 seems more useful for the dashboard, since the crash will register as a failed test for sure.  But #2 is useful for debugging, ex:

$ ctest -R itkSampleClassifierFilterTest6 -V

ITK/Modules/Numerics/Statistics/src/itkNormalVariateGenerator.cxx:324:38: runtime error: left shift of negative value -905969664
ITK/Modules/Numerics/Statistics/src/itkNormalVariateGenerator.cxx:328:38: runtime error: left shift of negative value -2015254223
ITK/Modules/Numerics/Statistics/src/itkNormalVariateGenerator.cxx:334:38: runtime error: left shift of negative value -1333948109
ITK/Modules/Numerics/Statistics/src/itkNormalVariateGenerator.cxx:153:38: runtime error: left shift of negative value -409529447

$ ctest -R itkGE4 -V

ITK/Modules/IO/GE/src/itkGE4ImageIO.cxx:375:29: runtime error: left shift of negative value -2113929216

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the Insight-developers mailing list