[ITK Community] [Insight-developers] regression errors with visual studio 2013

Simon Alexander skalexander at gmail.com
Fri Nov 22 14:23:26 EST 2013


At Bradleys' suggestion I'm forwarding this to the list in general, I still
haven't had a chance to look more deeply:

Not that my local branch is just a few trivial changes to HEAD to allow
compilation with VS12, adding missing header includes.  The runs should
show up in Experimental from SIMON-LAP



I reran all tests on my local branch last night that you should be able to
see on the dashboard.

Debug has 7 timeout failures (expected for Debug?)

Release mode has 110 failures, all segfaults

These seem to maybe be related to copy ctor on itk::Vector types and the
optimizer (VS12, 64 bit)

e.g.


code that looks like this:

 typedef typename TOutputImage::SpacingType SpacingType;
 const SpacingType spacing = outputImage->GetSpacing();

leads to a segfault as soon as spacing is accessed (in Release mode, not
Debug)


but

 typedef typename TOutputImage::SpacingType SpacingType;
 const SpacingType &spacing = outputImage->GetSpacing();


is fine (note the reference, as is returned by GetSpacing)


I haven't had a chance to  chase it down further than that yet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20131122/e2c4cace/attachment.htm>
-------------- next part --------------
_______________________________________________
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


More information about the Community mailing list