Issue metadata
Sign in to add a comment
|
New crashpad_tests do not pass under WinASan |
||||||||||||||||||||||
Issue description
Our WinASan ToT bot probably hasn't cycled yet, but I locally built and ran crashpad tests and got a bunch of test failures.
This was my test failure summary:
[486/486] CrashpadClient.HandlerLaunchFailureCrash (187 ms)
5 tests failed:
CrashpadClient.HandlerLaunchFailureCrash (../../third_party/crashpad/crashpad/client/crashpad_client_win_test.cc:129)
CrashpadClient.HandlerLaunchFailureDumpAndCrash (../../third_party/crashpad/crashpad/client/crashpad_client_win_test.cc:153)
CrashpadHandler.ExtensibilityCalloutsWork (../../third_party/crashpad/crashpad/handler/crashpad_handler_test.cc:136)
ProcessInfo.OtherProcess (../../third_party/crashpad/crashpad/util/win/process_info_test.cc:191)
SimulateCrash.ChildDumpWithoutCrashing (../../third_party/crashpad/crashpad/snapshot/win/exception_snapshot_win_test.cc:271)
1 test crashed:
ExceptionSnapshotWinTest.
,
Nov 8 2017
Here's the test logs. I haven't really investigated yet, just trying to file so the next sheriff knows why the bot is red. The logs suggest this isn't string related and is more likely because ASan and crashpad's crash handlers interfere with each other.
,
Nov 9 2017
Mac ASan also has one test failure in MachOImageAnnotationsReader.CrashModuleInitialization: https://build.chromium.org/p/chromium.clang/builders/ToTMacASan%20tester/builds/57 https://logs.chromium.org/v/?s=chromium%2Fbb%2Fchromium.clang%2FToTMacASan_tester%2F57%2F%2B%2Frecipes%2Fsteps%2Fcrashpad_tests%2F0%2Flogs%2FMachOImageAnnotationsReader.CrashModuleInitialization%2F0 I guess we don't run Mac ASan on the CQ or main waterfall?
,
Nov 9 2017
Guess not. It once worked, and we added a few #if defined(ADDRESS_SANITIZER) around tricky areas. The lack of symbolization on the bot makes it difficult to say what’s wrong.
,
Nov 10 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0e16a775e9e8a6133a074ec01b558ce17d2f93a7 commit 0e16a775e9e8a6133a074ec01b558ce17d2f93a7 Author: Reid Kleckner <rnk@google.com> Date: Fri Nov 10 20:57:24 2017 Don't run crashpad_tests on Windows ASan bots ASan violates too many of crashpad's assumptions for it to be worth making these tests pass. Even though most crashpad tests pass with ASan and we could disable the five or so failing tests under ASan, I suspect that new crashpad tests are likely to not work under ASan. I'd rather not have to disable crashpad tests upstream and roll it just to pacify these Windows ASan bots. We should re-enable these tests when we care about shipping ASan builds to users and reporting ASan errors back through craspad. Whoever works on that is going to want to work through these tests failures and add new integration tests here. Remove the previous string test exclusion now that we won't run these tests. R=hans@chromium.org, mark@chromium.org TBR=dpranke@chromium.org Bug: 782907 , 782454 Change-Id: I5ba89193a3bcf5017a5c087040f1b1679163c17b Reviewed-on: https://chromium-review.googlesource.com/762380 Reviewed-by: Reid Kleckner <rnk@chromium.org> Reviewed-by: Hans Wennborg <hans@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Reid Kleckner <rnk@chromium.org> Cr-Commit-Position: refs/heads/master@{#515676} [modify] https://crrev.com/0e16a775e9e8a6133a074ec01b558ce17d2f93a7/build/secondary/third_party/crashpad/crashpad/util/BUILD.gn [modify] https://crrev.com/0e16a775e9e8a6133a074ec01b558ce17d2f93a7/testing/buildbot/chromium.clang.json
,
Nov 10 2017
,
Nov 10 2017
I'm going to unassign and leave this open and add some people that might be interested in making this work.
,
Jun 14 2018
Looks like thakis@ re-enabled them while attempting to reunify the sets of tests we run on the buildbots, and that un-did my disabling of crashpad_tests under asan. In any case, we have a new bug for tracking this: issue 845011. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by mark@chromium.org
, Nov 8 2017