Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1308)

Unified Diff: third_party/crashpad/crashpad/util/mach/exception_types.cc

Issue 2236493004: Update Crashpad to 56b14bceefcec03fc11b3222c435522922f65640 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/crashpad/crashpad/util/mach/exception_types.cc
diff --git a/third_party/crashpad/crashpad/util/mach/exception_types.cc b/third_party/crashpad/crashpad/util/mach/exception_types.cc
index 0199b3145a7cd1d6e3823860136ebe98b28a5d0e..cef90f9a61aa7b93b213bb72ad6732e91dcab170 100644
--- a/third_party/crashpad/crashpad/util/mach/exception_types.cc
+++ b/third_party/crashpad/crashpad/util/mach/exception_types.cc
@@ -201,6 +201,12 @@ bool IsExceptionNonfatalResource(exception_type_t exception,
return true;
}
+ if (resource_type == RESOURCE_TYPE_IO) {
+ // These exceptions don’t ever appear to be fatal. See
+ // https://crashpad.chromium.org/bug/124.
+ return true;
+ }
+
// Treat unknown exceptions as fatal. This is the conservative approach: it
// may result in more crash reports being generated, but the type-flavor
// combinations can be evaluated to determine appropriate handling.

Powered by Google App Engine
This is Rietveld 408576698