summaryrefslogtreecommitdiffstats
path: root/chrome_frame/crash_reporting
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/crash_reporting')
-rw-r--r--chrome_frame/crash_reporting/vectored_handler-impl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome_frame/crash_reporting/vectored_handler-impl.h b/chrome_frame/crash_reporting/vectored_handler-impl.h
index 5487f0a..5c6eed7 100644
--- a/chrome_frame/crash_reporting/vectored_handler-impl.h
+++ b/chrome_frame/crash_reporting/vectored_handler-impl.h
@@ -56,6 +56,13 @@ LONG WINAPI VectoredHandlerT<E>::VectoredHandler(
return ExceptionContinueSearch;
}
+ // Ignore custom exception codes.
+ // MSXML likes to raise 0xC0000001 while parsing.
+ // Note the C++ SEH (0xE06D7363) also fails in that range.
+ if (exceptionCode & APPLICATION_ERROR_MASK) {
+ return ExceptionContinueSearch;
+ }
+
++VectoredHandlerT<E>::g_exceptions_seen;
// TODO(stoyan): Check whether exception address is inbetween