[Insight-users] Please help with access violation error!!!
Julien Jomier
jjomier at cs.unc.edu
Thu Mar 3 15:51:52 EST 2005
Hi Nicolaus,
Are you getting the error on all platforms?
The last time I saw this type of error is when ITK was updated and not
clean/build again.
If you compile/run the example in debug you can always run the debugger
and see where the problem is in the stack.
Also, for the ImageReadWrite example, can you try to do a
reader->Update() to see if the reader or the writer fails.
Did you try valid 2D images ( bmp, gipl, tiff) ? (ImageReadWrite expects
a 2D image as input).
my two cents,
Julien
Nicolaus Andratschke wrote:
> Hello,
>
> for several weeks now, I"m trying to get ITK examples
> working (ImageReadWrite.exe, DicomImageReadWrite.exe).
> I even asked the list, but so far I haven"t received
> any response.
> The problem is the following:
> Everything compiles fine (bcc5.5.1, VC6, free
> VC++Toolkit on WinXP; gcc 3.3.4 on Ubuntu Linux).
> But when I run the above mentioned example programs
> with the appropriate test images, I get "memory access
> violation" error.
> E.g., on WinXP a dialog box pops up telling
> "DicomImageReadWrite.exe encountered a problem and
> needs to close" and another one telling "unhandled
> exception OxC000005: Access violation".
> The error obviously happens when "writer->Update()" is
> called and the pipeline gets updated. Interestingly,
> this function gets called inside a try/catch block
> without the exception getting caught. There is no
> error message that"s written on the command line
> window.
>
> I urgently need help with this, otherwise I need to
> give up on ITK.
>
> Perhaps somebody could help me how to produce a
> meaningful error message.
>
> Any help is very much appreciated.
>
> NIC
>
>
>
>
> __________________________________
> Celebrate Yahoo!'s 10th Birthday!
> Yahoo! Netrospective: 100 Moments of the Web
> http://birthday.yahoo.com/netrospective/
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
>
More information about the Insight-users
mailing list