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

Issue 2567643003: Send crash dumps for odd ERR_CERT_DATE_INVALID cert errors (Closed)

Created:
4 years ago by estark
Modified:
4 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Will Harris
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Send crash dumps for odd ERR_CERT_DATE_INVALID cert errors Safe Browsing Extended Reporting reports show a number of certificate errors from Windows users where the certificate error is ERR_CERT_DATE_INVALID but the certificate chain appears to have perfectly valid dates. To get some diagnostic data from Canary, this CL calls DumpWithoutCrashing() when we observe such a chain. This CL is intended to be reverted after obtaining a few days of data from Canary. BUG=672906 Committed: https://crrev.com/822fd5f5b3ab71603d34a376928bf05323abfd0b Cr-Commit-Position: refs/heads/master@{#437726}

Patch Set 1 #

Patch Set 2 : build fixes #

Patch Set 3 : More fixes #

Total comments: 9

Patch Set 4 : rsleevi, wfh comments #

Patch Set 5 : Use two separate ScopedCrashKeys #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -0 lines) Patch
M net/cert/cert_verify_proc_win.cc View 1 2 3 4 3 chunks +56 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (19 generated)
estark
rsleevi, PTAL? Thanks (cc wfh who confirmed that this was a reasonable thing to do ...
4 years ago (2016-12-09 21:27:09 UTC) #10
Will Harris
https://codereview.chromium.org/2567643003/diff/40001/net/cert/cert_verify_proc_win.cc File net/cert/cert_verify_proc_win.cc (right): https://codereview.chromium.org/2567643003/diff/40001/net/cert/cert_verify_proc_win.cc#newcode914 net/cert/cert_verify_proc_win.cc:914: base::debug::Alias(&temp_error_status); base::debug::Alias requires you to open up the crash ...
4 years ago (2016-12-09 21:33:05 UTC) #12
Ryan Sleevi
LGTM % will's comments :) https://codereview.chromium.org/2567643003/diff/40001/net/cert/cert_verify_proc_win.cc File net/cert/cert_verify_proc_win.cc (right): https://codereview.chromium.org/2567643003/diff/40001/net/cert/cert_verify_proc_win.cc#newcode914 net/cert/cert_verify_proc_win.cc:914: base::debug::Alias(&temp_error_status); Seems like 913-914 ...
4 years ago (2016-12-09 21:35:53 UTC) #13
estark
Thanks, both. wfh: please see question inline about limiting to canary https://codereview.chromium.org/2567643003/diff/40001/net/cert/cert_verify_proc_win.cc File net/cert/cert_verify_proc_win.cc (right): ...
4 years ago (2016-12-09 22:57:39 UTC) #16
Will Harris
lgtm https://codereview.chromium.org/2567643003/diff/40001/net/cert/cert_verify_proc_win.cc File net/cert/cert_verify_proc_win.cc (right): https://codereview.chromium.org/2567643003/diff/40001/net/cert/cert_verify_proc_win.cc#newcode934 net/cert/cert_verify_proc_win.cc:934: base::debug::DumpWithoutCrashing(); ah yes that's right you can't depend ...
4 years ago (2016-12-10 00:35:07 UTC) #19
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/2567643003/80001
4 years ago (2016-12-10 00:37:04 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-10 02:12:25 UTC) #25
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/822fd5f5b3ab71603d34a376928bf05323abfd0b Cr-Commit-Position: refs/heads/master@{#437726}
4 years ago (2016-12-12 15:05:28 UTC) #27
estark
4 years ago (2016-12-12 19:58:53 UTC) #28
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2572553002/ by estark@chromium.org.

The reason for reverting is: Turns out this issue is trivial to reproduce
locally (I probably should have tried that first...) so diagnostic data from
crash dumps isn't needed..

Powered by Google App Engine
This is Rietveld 408576698