<div dir="ltr"><div><div><div>Hello,<br><br>I've added #if .. #endif to itkSize.h<br><br>class <br>#if (_MSC_VER == 1800) && (_WIN64) && (!DEBUG)<br>š __declspec(align(16))<br>#endif<br>Size {<br><br></div>
and itkIndex.h<br><br>class<br>#if (_MSC_VER == 1800) && (_WIN64) && (!DEBUG)<br>š __declspec(align(16))<br>#endif<br>Index {<br><br></div>It doesn't crash at old place. Need to run full tests and see if it will crash in some other.<br>
<br></div><div>Best regards,<br></div>Marian<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-18 17:36 GMT+02:00 Bradley Lowekamp <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
We also are having similar issues with ITK v4.5 in the current dashboard. I suspect there is an issue with the optimizer and vectorization and alignment. Please let us know if you can figure out a work around or have any additional information on the issue.<br>
<br>
Thanks,<br>
Brad<br>
<div><div class="h5"><br>
On Mar 18, 2014, at 11:25 AM, íÁÒ'ÑÎ ëÌÉÍÏ× <<a href="mailto:nekto1989@gmail.com">nekto1989@gmail.com</a>> wrote:<br>
<br>
> I have some strange problem with ITK 3.20 built using MSVC12 compiler. Problem looks similar to "[ITK Community] [Insight-developers] Expecting a good dashboard tomorrow". Program crashes inside itkImageRegion.h<br>
> bool<br>
> š IsInside(const Self ®ion) const<br>
> ...<br>
> on endCorner[i] = beginCorner[i] + size[i] - 1;<br>
><br>
> Generated code looks like 000007FEE17C48A2 špaddq š š š xmm2,xmmword ptr [rsi+18h]. rsi+18h isn't 16-byte aligned. Can this be the problem? It happens only in Release x64. Debug Win32/x64, Release Win32 work without crashing.<br>
</div></div>> _______________________________________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org">Community@itk.org</a><br>
> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
<br>
</blockquote></div><br></div>