[ITK-users] ITK 3.20.1 and Mac OS X 10.8.5 - Strange crashes
Bradley Lowekamp
blowekamp at mail.nih.gov
Fri Jun 6 13:35:31 EDT 2014
What version of XCode are you using? compiler gcc vs clang? c++ library (libstdc++ or stdc++)?
ITK 3 is not being maintained to support the latest OSX XCode changes. I would suggest trying older versions of XCode, like the one with the genuine GNU gcc 4.2.
Brad
On Jun 6, 2014, at 12:46 PM, Wagner Sales <wsales at gmail.com> wrote:
> Hi,
>
> I´m doing some improvements in an application developed a couple of years ago. This application runs on Mac OS X 10.8.5 and uses ITK 3.20.1. My improvements consist in implements some image registration capabilities.
>
> After implementation ( was I did and tested using a Linux system, and eventually a Windows 7 system ), when I start to test on Apple platform, a lot of crashes starts to occur on itk::ResampleImageFilter.
>
> Of course, I first supposed problems in my code, but after a lot of try, I´ve found nothing.
> Then I tried to run MultiResImageRegistration3.cxx example, and crashes occurs too!
> Well, after this I compiled the latest version of ITK with ITKv3 compability flag turned on, an compiled my program against this version. Works!
>
> My question is:
> Someone was found some similar problem on Mac OS?
> ITK 3.20.1 depends on different compilation flags or different libs on this platform?
>
> Since the application are on a production environment today, will be more difficult start a non-planned migration against new version of ITK due the time and resources available.
>
> Some portion of the crash:
>
> 0 imageregistration 0x00000001051cc662 itk::NearestNeighborInterpolateImageFunction<itk::Image<unsigned short, 3u>, double>::EvaluateAtContinuousIndex(itk::ContinuousIndex<double, 3u> const&) const + 146
> 1 imageregistration 0x00000001051d04c0 itk::ResampleImageFilter<itk::Image<unsigned short, 3u>, itk::Image<unsigned short, 3u>, double>::LinearThreadedGenerateData(itk::ImageRegion<3u> const&, int) + 2816
> 2 imageregistration 0x00000001051d138c itk::ImageSource<itk::Image<unsigned short, 3u> >::ThreaderCallback(void*) + 140
> 3 imageregistration 0x0000000105286d0a itk::MultiThreader::SingleMethodExecute() + 1050
> 4 imageregistration 0x00000001051cdb03 itk::ImageSource<itk::Image<unsigned short, 3u> >::GenerateData() + 131
> 5 imageregistration 0x000000010529a0e0 itk::ProcessObject::UpdateOutputData(itk::DataObject*) + 1280
> 6 imageregistration 0x000000010527f73c itk::DataObject::UpdateOutputData() + 172
> 7 imageregistration 0x00000001050bc571 itk::ImageBase<3u>::UpdateOutputData() + 353
> 8 imageregistration 0x000000010527f2f5 itk::DataObject::Update() + 69
> 9 imageregistration 0x000000010529931c itk::ProcessObject::Update() + 76
>
>
> Thanks for any help!
>
> Wagner Sales
> _____________________________________
> 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://www.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-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140606/a16c692e/attachment.html>
More information about the Insight-users
mailing list