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

Issue 2493593003: Resolve a TSAN race in CertVerifyProc (Closed)

Created:
4 years, 1 month ago by Ryan Sleevi
Modified:
4 years, 1 month ago
Reviewers:
davidben
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Resolve a TSAN race in CertVerifyProc TSAN gets unhappy because MultiThreadedCertVerifier abandons its worker threads (because they may be blocked on OS APIs) when shutting down tests, which interferes with ScopedFeatureList shutdown code in //net. This simply moves the check from being on the worker thread when it's running, to being on the main thread when the CertVerifyProc is constructed. BUG=663850 Committed: https://crrev.com/9d3cd28a62874bbdc27be9134dd6fe53f6b8cd10 Cr-Commit-Position: refs/heads/master@{#431164}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -6 lines) Patch
M net/cert/cert_verify_proc.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/cert/cert_verify_proc.cc View 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Ryan Sleevi
Went for the lazy fix - when we remove legacy mode we can remove this.
4 years, 1 month ago (2016-11-10 00:29:51 UTC) #2
davidben
lgtm
4 years, 1 month ago (2016-11-10 00:48:38 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2493593003/1
4 years, 1 month ago (2016-11-10 01:28:15 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-10 03:22:13 UTC) #6
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 03:24:53 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9d3cd28a62874bbdc27be9134dd6fe53f6b8cd10
Cr-Commit-Position: refs/heads/master@{#431164}

Powered by Google App Engine
This is Rietveld 408576698