[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://www.itk.org/pipermail/insight-developers/attachments/20131122/e2c4cace/attachment.htm>


More information about the Insight-developers mailing list