New issue
Advanced search Search tips

Issue 782907 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 845011
Owner: ----
Closed: Jun 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

New crashpad_tests do not pass under WinASan

Project Member Reported by r...@chromium.org, Nov 8 2017

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.


 

Comment 1 by mark@chromium.org, Nov 8 2017

Can you show more complete failure/crash output?

Considering what we know about strtol() under ASan ( bug 782454 ), it’s possible that some of these may be failing because of internal use of crashpad::StringToNumber().

Comment 2 by r...@chromium.org, Nov 8 2017

Cc: h...@chromium.org
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.
crashpad_tests.txt
84.4 KB View Download

Comment 4 by mark@chromium.org, 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.
Project Member

Comment 5 by bugdroid1@chromium.org, 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

Comment 6 by r...@chromium.org, Nov 10 2017

Cc: thakis@chromium.org r...@chromium.org
 Issue 782454  has been merged into this issue.

Comment 7 by r...@chromium.org, Nov 10 2017

Cc: etienneb@chromium.org
Owner: ----
Status: Available (was: Unconfirmed)
I'm going to unassign and leave this open and add some people that might be interested in making this work.

Comment 8 by r...@chromium.org, Jun 14 2018

Mergedinto: 845011
Status: Duplicate (was: Available)
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