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

Issue 2101283002: Add crash keys to LocalDOMWindow to help diagnose bug 621730. (Closed)

Created:
4 years, 5 months ago by Yuki
Modified:
4 years, 5 months ago
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, blink-reviews, dtrainor+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add crash keys to LocalDOMWindow to help diagnose bug 621730. This change can be reverted after a day or two of data. BUG=621730 patch from issue 2101773002 at patchset 20001 (http://crrev.com/2101773002#ps20001) Committed: https://crrev.com/65deb8a7baf2360be817158b6f87aaf7a93cd4ca Cr-Commit-Position: refs/heads/master@{#402854}

Patch Set 1 : crrev.com/2101773002 PS2 #

Patch Set 2 : Adds WTF::debug::ScopedCrashKey. #

Total comments: 2

Patch Set 3 : Synced. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M blimp/engine/app/blimp_engine_crash_keys.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/crash_keys.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 1 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
Yuki
Could you guys review this CL? I'm taking over http://crrev.com/2101773002 .
4 years, 5 months ago (2016-06-28 12:02:14 UTC) #2
Yuki
@rsesek, could you review this CL as the owner of blimp/engine/app/blimp_engine_crash_keys.cc chrome/common/crash_keys.cc
4 years, 5 months ago (2016-06-28 12:05:40 UTC) #4
Robert Sesek
https://codereview.chromium.org/2101283002/diff/20001/third_party/WebKit/Source/wtf/debug/CrashLogging.h File third_party/WebKit/Source/wtf/debug/CrashLogging.h (right): https://codereview.chromium.org/2101283002/diff/20001/third_party/WebKit/Source/wtf/debug/CrashLogging.h#newcode1 third_party/WebKit/Source/wtf/debug/CrashLogging.h:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
4 years, 5 months ago (2016-06-28 14:25:56 UTC) #5
Yuki
https://codereview.chromium.org/2101283002/diff/20001/third_party/WebKit/Source/wtf/debug/CrashLogging.h File third_party/WebKit/Source/wtf/debug/CrashLogging.h (right): https://codereview.chromium.org/2101283002/diff/20001/third_party/WebKit/Source/wtf/debug/CrashLogging.h#newcode1 third_party/WebKit/Source/wtf/debug/CrashLogging.h:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
4 years, 5 months ago (2016-06-28 23:09:54 UTC) #6
dcheng
lgtm
4 years, 5 months ago (2016-06-29 09:58:40 UTC) #7
Robert Sesek
lgtm
4 years, 5 months ago (2016-06-29 16:49:29 UTC) #8
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/2101283002/40001
4 years, 5 months ago (2016-06-29 16:51:09 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-06-29 17:37:42 UTC) #11
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-29 17:37:44 UTC) #12
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/65deb8a7baf2360be817158b6f87aaf7a93cd4ca Cr-Commit-Position: refs/heads/master@{#402854}
4 years, 5 months ago (2016-06-29 17:40:26 UTC) #14
haraken
LGTM
4 years, 5 months ago (2016-06-29 23:42:38 UTC) #15
falken
How do these work? WTF::debug::ScopedCrashKey("postmessage_src_origin", event->origin().utf8().data()); Isn't the temporary ScopedCrashKey object destroyed before the crash?
4 years, 5 months ago (2016-07-11 01:11:47 UTC) #16
Yuki
On 2016/07/11 01:11:47, falken wrote: > How do these work? > > WTF::debug::ScopedCrashKey("postmessage_src_origin", > event->origin().utf8().data()); ...
4 years, 5 months ago (2016-07-11 04:07:56 UTC) #17
falken
On 2016/07/11 at 04:07:56, yukishiino wrote: > On 2016/07/11 01:11:47, falken wrote: > > How ...
4 years, 5 months ago (2016-07-11 04:46:19 UTC) #18
falken
(The reason this caught my eye is I copied this code for https://codereview.chromium.org/2134623002 which isn't ...
4 years, 5 months ago (2016-07-11 04:50:25 UTC) #19
Yuki
4 years, 5 months ago (2016-07-11 05:23:53 UTC) #20
Message was sent while issue was closed.
On 2016/07/11 04:50:25, falken wrote:
> (The reason this caught my eye is I copied this code for
> https://codereview.chromium.org/2134623002 which isn't working, I think
because
> of temporary object destruction.)

Uh, ga!  Now I understand the issue.  It's a bug.
We need to declare a variable to keep it alive.
I overlooked it.

I myself copy&pasted it from https://codereview.chromium.org/2101773002/

Powered by Google App Engine
This is Rietveld 408576698