<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>My colleague noticed a similar bug report to Visual Studio:<br><a href="https://connect.microsoft.com/VisualStudio/feedbackdetail/view/879286/incorrect-code-generated-in-x64-build-results-in-access-violation">https://connect.microsoft.com/VisualStudio/feedbackdetail/view/879286/incorrect-code-generated-in-x64-build-results-in-access-violation</a><br></div>He wrote a minimal example to reproduce that issue, see the link.<br></div>A segfault appears to occur in <span style="font-size:11pt;font-family:"Calibri","sans-serif"">in </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:none repeat scroll 0% 0% white">IsInside(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:none repeat scroll 0% 0% white">const</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:none repeat scroll 0% 0% white">
Self & region) </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:none repeat scroll 0% 0% white">const</span> of <span style="font-size:11pt;font-family:"Calibri","sans-serif""> itkImageRegion.h </span>as well, but we could not yet make a minimal example of that.<br><br></div>Thanks,<br></div>Floris<br><div><div><br><br><div><div><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 7, 2015 at 8:40 PM, Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">+1<br>
<br>
Also, note that builds should be against ITK master -- a patch merged<br>
on 2015-01-03 has already addressed failing registration tests:<br>
<br>
  <a href="https://open.cdash.org/buildSummary.php?buildid=3637621" target="_blank">https://open.cdash.org/buildSummary.php?buildid=3637621</a><br>
<br>
Thanks,<br>
Matt<br>
<div class=""><div class="h5"><br>
On Wed, Jan 7, 2015 at 1:00 PM, Bradley Lowekamp <<a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a>> wrote:<br>
> If the problem can be reproduced with just using itkFixedArray.h allow that<br>
> would be significant progress. As that class does not depend on any other<br>
> compiled code/library.<br>
><br>
> Brad<br>
><br>
><br>
><br>
> On Jan 7, 2015, at 10:33 AM, Мар'ян Климов <<a href="mailto:nekto1989@gmail.com">nekto1989@gmail.com</a>> wrote:<br>
><br>
> Hi Floris,<br>
><br>
> It would be good if you can reproduce this compiler problem without ITK.<br>
> I've tried but no success.<br>
><br>
> <a href="https://connect.microsoft.com/VisualStudio/feedback/details/1060166/compiler-generates-divpd-instruction-on-non-aligned-data" target="_blank">https://connect.microsoft.com/VisualStudio/feedback/details/1060166/compiler-generates-divpd-instruction-on-non-aligned-data</a><br>
><br>
> As workaround I suggest adding something like this<br>
><br>
> #ifdef _MSC_VER<br>
> #if (_MSC_VER >= 1800)<br>
>     #ifdef _WIN64<br>
>      __declspec(align(16))<br>
>     #endif<br>
> #endif<br>
> #endif<br>
><br>
> for classes that cause problems (FixedArray, Index etc.)<br>
><br>
> Marian<br>
><br>
> 2015-01-07 18:44 GMT+02:00 Floris Berendsen <<a href="mailto:floris@isi.uu.nl">floris@isi.uu.nl</a>>:<br>
>><br>
>> Hi all,<br>
>><br>
>> I was wondering what the progress is of ITK with respect to Win64 Visual<br>
>> Studio 12 (2013). The dashboard has a Win64-VS12-Release under Expected<br>
>> Nightly Exotic, but it reports many segfault failures (I can confirm the<br>
>> same behaviour).<br>
>> All communications I could find related to this topic seem rather old:<br>
>><br>
>> <a href="http://public.kitware.com/pipermail/community/2013-November/004255.html" target="_blank">http://public.kitware.com/pipermail/community/2013-November/004255.html</a><br>
>><br>
>> <a href="http://insight-developers.itk.narkive.com/niWueQGp/4-5-release-candidate-approaching" target="_blank">http://insight-developers.itk.narkive.com/niWueQGp/4-5-release-candidate-approaching</a><br>
>><br>
>> <a href="http://insight-developers.itk.narkive.com/E6RszEvx/regression-errors-with-visual-studio-2013" target="_blank">http://insight-developers.itk.narkive.com/E6RszEvx/regression-errors-with-visual-studio-2013</a><br>
>><br>
>> Does anyone know more about this? Would it help if I try to make a minimal<br>
>> example that reproduces the error?<br>
>><br>
>> Thanks,<br>
>> Floris<br>
>><br>
>> _______________________________________________<br>
>> Community mailing list<br>
>> <a href="mailto:Community@itk.org">Community@itk.org</a><br>
>> <a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
>><br>
><br>
> _______________________________________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org">Community@itk.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org">Community@itk.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
><br>
_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br></div></div></div></div></div></div>