-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vm] Do not suppress WER when running VM outside of our test suite.
We prevent our crashing tests from hitting timeouts on the bots by disabling Windows Error Reporting UI via SetErrorMode. However this also disables builtin crash dump generation functionality that WER has. This change moves WER suppression for GP faults under a flag to make sure that we can collect crash dumps when VM crashes on user machines. We also make sure that our exception handler call abort() instead of calling exit() - because exit would not cause WER to generate a dump. Bug: flutter/flutter#22558 Change-Id: I42f3e31cfaaa578f6a040b8f10621e5663cddc09 Reviewed-on: https://dart-review.googlesource.com/c/87061 Auto-Submit: Vyacheslav Egorov <vegorov@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
- Loading branch information
Showing
2 changed files
with
27 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters