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                 [email protected]
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers

Reply via email to