summaryrefslogtreecommitdiffstats
path: root/chrome_frame/crash_reporting
diff options
context:
space:
mode:
authorstoyan@google.com <stoyan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 19:20:14 +0000
committerstoyan@google.com <stoyan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 19:20:14 +0000
commit9b185d590ae6383e5cb09171d56cee849fb382e6 (patch)
treef1c83b0fc5727d0a7ed004ed96961154a323a37a /chrome_frame/crash_reporting
parent50f53164ebbceb30b69578e96e863375f5cb4f9b (diff)
downloadchromium_src-9b185d590ae6383e5cb09171d56cee849fb382e6.zip
chromium_src-9b185d590ae6383e5cb09171d56cee849fb382e6.tar.gz
chromium_src-9b185d590ae6383e5cb09171d56cee849fb382e6.tar.bz2
Do not create dump on custom exception codes.
BUG=23845 TEST=none Review URL: http://codereview.chromium.org/337002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29920 0039d316-1c4b-4281-b951-d872f2087c98
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