[ITK-users] ITK3.20.2 Crashes - Help!

Khojaste, Amir amir.khojaste at sunnybrook.ca
Wed Apr 29 12:50:59 EDT 2015


Hi John and thanks for your quick answer,

Yes I have built ITK in both Release and Debug mode using VS2008 and have tested my code (which is in debug mode) with them.

Any clues?

Thanks,
Amir

-----Original Message-----
From: John Drescher [mailto:drescherjm at gmail.com]
Sent: April-29-15 12:45 PM
To: Khojaste, Amir
Cc: insight-users at itk.org
Subject: Re: [ITK-users] ITK3.20.2 Crashes - Help!

On Wed, Apr 29, 2015 at 12:35 PM, Khojaste, Amir
<amir.khojaste at sunnybrook.ca> wrote:
> Hi guys,
>
>
>
> I am running the simplest piece of code using ITK3.20.2 libraries. In my
> program I simply want to read an image and do some processing on it and then
> save it. When I try to instantiate a pointer to my ImageFileReader the
> program crashes with the following message:
>
>
>
> Unhandled exception at 0x000000013fbcf0b1 in HelloWorld.exe: 0xC0000005:
> Access violation reading location 0x00000000bfdef6f5.
>
>
>
> It seems to be a memory leak error or something. I have used ITK3.20.2,
> CMake 2.8.10.2 and Visual Studio 2008 to configure my project. Following
> please find my code and my CMakelists.txt:
>

Did you build ITK with VS2008 in the same configuration that you use
in your application?

John
This e-mail is intended only for the named recipient(s) and may contain confidential, personal and/or health information (information which may be subject to legal restrictions on use, retention and/or disclosure).  No waiver of confidence is intended by virtue of communication via the internet.  Any review or distribution by anyone other than the person(s) for whom it was originally intended is strictly prohibited.  If you have received this e-mail in error, please contact the sender and destroy all copies.



More information about the Insight-users mailing list