[ITK Community] [Insight-users] itk AnisotropicDiffusion VesselEnhancement ImageFilter crashes

Luis Ibanez luis.ibanez at kitware.com
Sun Dec 29 10:54:32 EST 2013


Hi Prashanth,

Two things that can help:

A) Add a try / catch block around the Update() call of the filter,
    and print out the potential error message of the exception.

B) Run the filter in Debug mode, and once it crashes, capture
     the call trace (e.g. use backtrace in GDB for example).


In order to find the source of the problem, it will help to know if this
was and exception being thrown, or a segmentation fault.


    Thanks

        Luis



On Fri, Dec 20, 2013 at 4:55 PM, Prashanth <prashanth.dumpuri at gmail.com>wrote:

> All,
>     I'm trying to run itkAnisotropicDiffusionVesselEnhancementImageFilter
> that was submitted to Insight Journal at
> http://www.insight-journal.org/browse/publication/163
>
>     Since I'm using ITK 4.4, I used Dr. Ramon Casero's modifications. The
> application crashes with an 'access violation reading location' error
> message. Here's the exact location of the crash:
>
> Filename where it crashes:
> itkAnisotropicDiffusionVesselEnhancementImageFilter.txx
> Function in that file: CalculateChange()
> Line in that function:  this->GetMultiThreader()->SingleMethodExecute();
>
> I checked Casero's modified version against the original code and the only
> changes he made were to make the code compatible with ITK 4.x. So, the
> crash should have nothing to do with the modification Casero made.
>
> What 'am I missing here? Any help will be appreciated.
>
> Thanks
> Prashanth
>
> _____________________________________
> 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
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20131229/a10b2bba/attachment-0001.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://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


More information about the Community mailing list