[Insight-users] itkExceptionMacro not working in my ia64 buil
d
Miller, James V (Research)
millerjv at crd.ge.com
Tue Jun 29 14:45:03 EDT 2004
Rocky,
Have you tried putting the call to Write() in a try/catch block?
try
{
writer->Update();
}
catch( itk::ExceptionObject & excep )
{
std::cerr << "Exception catched !" << std::endl;
std::cerr << excep << std::endl;
}
-----Original Message-----
From: Rocky Rhodes [mailto:rhodes at sgi.com]
Sent: Tuesday, June 29, 2004 2:09 PM
To: 'insight-users at itk.org'
Subject: [Insight-users] itkExceptionMacro not working in my ia64 build
I spent a bit of time trying to debug the GaussianBlurImageFunction example
before figuring out that the code was calling itkExceptionMacro trying to
tell me that the type of PNG file I was trying to write wasn't supported.
When I run the program I see "Abort (core dumped)" on my shell window and
the core file is no help unwinding the call stack past a call to
__cxa_call_unexpected. The string passed to itkExceptionMacro in the source
code is nowhere to be seen.
Has this been a problem on any other platforms?
Rocky
_______________________________________________
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