[ITK] Exception occurence
Constantinus Spanakis
c.spanakis83 at gmail.com
Tue Nov 22 14:03:15 EST 2016
Hello. I tried to compute Normalized Mutual information for a number of
different transformations
and I get an exception. Them I tried to do some debugging and Microsoft
Visual Studio directed me to unhandld.cpp and specifically at line 40.
/***
*unhandld.cxx - Wrapper to call terminate() when an exception goes
unhandled.
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
*Purpose:
* Wrapper to call terminate() when an exception goes unhandled.
****/
#include <windows.h>
#include <ehdata.h>
#include <eh.h>
#include <ehhooks.h>
#include <ehassert.h>
#include <awint.h>
#include <internal.h>
#include <stdlib.h>
#pragma hdrstop
#include <sect_attribs.h>
extern "C" int __cdecl __CxxSetUnhandledExceptionFilter(void);
/////////////////////////////////////////////////////////////////////////////
//
// __CxxUnhandledExceptionFilter - if the exception is ours, call
terminate();
//
// Returns:
// If the exception was MSVC C++ EH, does not return.
// If the previous filter was NULL, returns EXCEPTION_CONTINUE_SEARCH.
// Otherwise returns value returned by previous filter.
//
LONG WINAPI __CxxUnhandledExceptionFilter(
LPEXCEPTION_POINTERS pPtrs
)
{
if
(PER_IS_MSVC_PURE_OR_NATIVE_EH((EHExceptionRecord*)(pPtrs->ExceptionRecord)))
{
terminate(); // Does not return
return EXCEPTION_EXECUTE_HANDLER;
}
return EXCEPTION_CONTINUE_SEARCH;
}
The break point is at return EXCEPTION_EXECUTE_HANDLER;
What could envoke this exception?
Thank you in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20161122/be77e463/attachment.html>
More information about the Community
mailing list