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

Issue 2542373002: RB-B P1 issue: Add debug aliases for state_ and urls to debug CHECK failures (Closed)

Created:
4 years ago by vakh (use Gerrit instead)
Modified:
4 years ago
CC:
chromium-reviews, loading-reviews_chromium.org, Randy Smith (Not in Mondays), mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add debug aliases for state_ and urls to debug CHECK failures Doing TBR so that we can get some information from the minidumps over the weekend. BUG=660293 TBR=csharrison Committed: https://crrev.com/27ca57c9abfd37a74288a3c040daf64b26559e83 Cr-Commit-Position: refs/heads/master@{#436111}

Patch Set 1 #

Patch Set 2 : Add TODO to remove debugging code after fixing bug #

Total comments: 2

Patch Set 3 : Alias the right way #

Total comments: 4

Patch Set 4 : Keep alias string small to increase the chances of getting minidumps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M chrome/browser/loader/safe_browsing_resource_throttle.cc View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 45 (24 generated)
vakh (use Gerrit instead)
4 years ago (2016-12-02 03:52:31 UTC) #4
vakh (use Gerrit instead)
Add TODO to remove debugging code after fixing bug
4 years ago (2016-12-02 03:55:07 UTC) #5
Scott Hess - ex-Googler
https://codereview.chromium.org/2542373002/diff/20001/chrome/browser/loader/safe_browsing_resource_throttle.cc File chrome/browser/loader/safe_browsing_resource_throttle.cc (right): https://codereview.chromium.org/2542373002/diff/20001/chrome/browser/loader/safe_browsing_resource_throttle.cc#newcode240 chrome/browser/loader/safe_browsing_resource_throttle.cc:240: base::debug::Alias(&url_being_checked_); I am not sure that these work. They'll ...
4 years ago (2016-12-02 04:19:27 UTC) #8
Scott Hess - ex-Googler
Hmm, also, I think more-current crash-dump infrastructure may even provide a way to attach a ...
4 years ago (2016-12-02 04:20:52 UTC) #9
Scott Hess - ex-Googler
On 2016/12/02 04:20:52, Scott Hess wrote: > Hmm, also, I think more-current crash-dump infrastructure may ...
4 years ago (2016-12-02 04:27:14 UTC) #10
vakh (use Gerrit instead)
Alias the right way
4 years ago (2016-12-02 23:10:33 UTC) #13
vakh (use Gerrit instead)
Done. Thanks for the guidance. Also added DVLOG, just in case. Will remove all this ...
4 years ago (2016-12-02 23:11:35 UTC) #16
vakh (use Gerrit instead)
4 years ago (2016-12-02 23:12:03 UTC) #18
vakh (use Gerrit instead)
4 years ago (2016-12-02 23:12:43 UTC) #19
Scott Hess - ex-Googler
https://codereview.chromium.org/2542373002/diff/40001/chrome/browser/loader/safe_browsing_resource_throttle.cc File chrome/browser/loader/safe_browsing_resource_throttle.cc (right): https://codereview.chromium.org/2542373002/diff/40001/chrome/browser/loader/safe_browsing_resource_throttle.cc#newcode247 chrome/browser/loader/safe_browsing_resource_throttle.cc:247: base::debug::Alias(&debug_url_checked_buf); Suggestion: Put something easy to search for in ...
4 years ago (2016-12-02 23:21:13 UTC) #20
Scott Hess - ex-Googler
Also ... LGTM if you make my previously-indicated changes. Also ... LGTM as-is, too, if ...
4 years ago (2016-12-02 23:22:11 UTC) #21
Scott Hess - ex-Googler
Actually, maybe the urls are self-identifying, because they should be a safe-browsing URL? In that ...
4 years ago (2016-12-02 23:27:01 UTC) #22
vakh (use Gerrit instead)
> Actually, maybe the urls are self-identifying, because they should be a safe-browsing URL? In ...
4 years ago (2016-12-02 23:30:37 UTC) #23
vakh (use Gerrit instead)
On 2016/12/02 23:22:11, Scott Hess wrote: > Also ... LGTM if you make my previously-indicated ...
4 years ago (2016-12-02 23:31:49 UTC) #24
Scott Hess - ex-Googler
On 2016/12/02 23:27:01, Scott Hess wrote: > Actually, maybe the urls are self-identifying, because they ...
4 years ago (2016-12-02 23:32:24 UTC) #25
vakh (use Gerrit instead)
Keep alias string small to increase the chances of getting minidumps
4 years ago (2016-12-02 23:37:37 UTC) #30
vakh (use Gerrit instead)
On 2016/12/02 23:32:24, Scott Hess wrote: > On 2016/12/02 23:27:01, Scott Hess wrote: > > ...
4 years ago (2016-12-03 00:50:51 UTC) #35
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/2542373002/60001
4 years ago (2016-12-03 00:52:27 UTC) #39
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-03 00:57:32 UTC) #42
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/27ca57c9abfd37a74288a3c040daf64b26559e83 Cr-Commit-Position: refs/heads/master@{#436111}
4 years ago (2016-12-03 01:00:18 UTC) #44
Charlie Harrison
4 years ago (2016-12-05 14:56:31 UTC) #45
Message was sent while issue was closed.
LGTM and very nice use of dumping tricks to ease in analyzing minidumps.

Powered by Google App Engine
This is Rietveld 408576698