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

Issue 1432143002: Track where WebContents are created in order to better understand issue. (Closed)

Created:
5 years, 1 month ago by hcarmona
Modified:
5 years ago
CC:
chromium-reviews, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, nasko+codewatch_chromium.org, dcheng, nyquist+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, miu+watch_chromium.org, extensions-reviews_chromium.org, maniscalco+watch-blimp_chromium.org, Matt Giuca, lcwu+watch_chromium.org, sdefresne+watchlist_chromium.org, marcinjb+watch-blimp_chromium.org, darin-cc_chromium.org, halliwell+watch_chromium.org, devtools-reviews_chromium.org, chromium-apps-reviews_chromium.org, android-webview-reviews_chromium.org, mlamouri+watch-content_chromium.org, jennb, creis+watch_chromium.org, tapted, Peter Beverloo, jianli, oshima+watch_chromium.org, gunsch+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, jochen+watch_chromium.org, sriramsr+watch-blimp_chromium.org, tfarina, Dmitry Titov, davemoore+watch_chromium.org, dtrainor+watch-blimp_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Track where WebContents are created in order to better understand issue. This is a temporary change to track down a beta blocking crash. This CL doesn't fix the crash, but will give us more information. The crash is happening when we attempt to show a modal dialog on some unknown WebContents that doesn't have a WebModalDialogManager. Not all WebContents are expecting to show modal dialogs and the creator of the WebModalDialog doesn't control what WebContents they will get at runtime. So, because of this loose coupling, we don't know which WebContents is triggering the crash. By adding this trace we expect to learn where the WebContents are created in order to make sure they have a WebModalDialogManager. BUG=538612 Committed: https://crrev.com/e1158d6a42903de1664c12bc91ba056ecb716bb6 Cr-Commit-Position: refs/heads/master@{#360112}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Feedback #

Patch Set 3 : StackTrace #

Total comments: 3

Patch Set 4 : Save the Delegate #

Total comments: 3

Patch Set 5 : Same as Patch Set 3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M components/constrained_window/constrained_window_views.cc View 1 2 4 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/browser/web_contents.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (15 generated)
hcarmona
Can you provide some guidance on this? I've started what you mentioned on the bug, ...
5 years, 1 month ago (2015-11-11 04:39:49 UTC) #2
halliwell
https://codereview.chromium.org/1432143002/diff/1/chromecast/browser/cast_content_window.cc File chromecast/browser/cast_content_window.cc (right): https://codereview.chromium.org/1432143002/diff/1/chromecast/browser/cast_content_window.cc#newcode118 chromecast/browser/cast_content_window.cc:118: WebContentsSource::CreateForWebContentsAndLocation(web_contents, FROM_HERE); Think you can revert this file, your ...
5 years, 1 month ago (2015-11-11 14:14:32 UTC) #4
Mike Wittman
On 2015/11/11 04:39:49, Hector Carmona wrote: > Can you provide some guidance on this? I've ...
5 years, 1 month ago (2015-11-11 17:15:28 UTC) #5
hcarmona
On 2015/11/11 17:15:28, Mike Wittman wrote: > On 2015/11/11 04:39:49, Hector Carmona wrote: > > ...
5 years, 1 month ago (2015-11-11 19:57:58 UTC) #8
hcarmona
sky@, jam@, Devlin, PTAL, this is a temporary change to get information about a beta ...
5 years, 1 month ago (2015-11-11 20:00:04 UTC) #11
jam
On 2015/11/11 20:00:04, Hector Carmona wrote: > sky@, jam@, Devlin, PTAL, this is a temporary ...
5 years, 1 month ago (2015-11-11 23:11:08 UTC) #12
jam
also, to save reviewers the time from having to read the bug in detail. can ...
5 years, 1 month ago (2015-11-11 23:11:46 UTC) #13
hcarmona
On 2015/11/11 23:11:08, jam wrote: > On 2015/11/11 20:00:04, Hector Carmona wrote: > > sky@, ...
5 years, 1 month ago (2015-11-11 23:48:12 UTC) #14
hcarmona
I've updated this CL to use base::debug::StackTrace. I took a look using the debugger to ...
5 years, 1 month ago (2015-11-12 21:34:04 UTC) #15
hcarmona
On 2015/11/12 21:34:04, Hector Carmona wrote: > I've updated this CL to use base::debug::StackTrace. I ...
5 years, 1 month ago (2015-11-16 18:18:14 UTC) #16
Devlin
On 2015/11/16 18:18:14, Hector Carmona wrote: > On 2015/11/12 21:34:04, Hector Carmona wrote: > > ...
5 years, 1 month ago (2015-11-16 18:24:11 UTC) #17
ncarter (slow)
I have an idea to make this much simpler. https://codereview.chromium.org/1432143002/diff/60001/components/constrained_window/constrained_window_views.cc File components/constrained_window/constrained_window_views.cc (right): https://codereview.chromium.org/1432143002/diff/60001/components/constrained_window/constrained_window_views.cc#newcode152 components/constrained_window/constrained_window_views.cc:152: ...
5 years, 1 month ago (2015-11-16 23:54:45 UTC) #22
hcarmona
I've removed other reviewers and set Mike as required. https://codereview.chromium.org/1432143002/diff/60001/components/constrained_window/constrained_window_views.cc File components/constrained_window/constrained_window_views.cc (right): https://codereview.chromium.org/1432143002/diff/60001/components/constrained_window/constrained_window_views.cc#newcode152 components/constrained_window/constrained_window_views.cc:152: ...
5 years, 1 month ago (2015-11-17 03:12:51 UTC) #25
Mike Wittman
https://codereview.chromium.org/1432143002/diff/60001/components/constrained_window/constrained_window_views.cc File components/constrained_window/constrained_window_views.cc (right): https://codereview.chromium.org/1432143002/diff/60001/components/constrained_window/constrained_window_views.cc#newcode152 components/constrained_window/constrained_window_views.cc:152: base::debug::StackTrace contents_stack_trace = web_contents->stack_trace(); On 2015/11/17 03:12:51, Hector Carmona ...
5 years, 1 month ago (2015-11-17 16:24:06 UTC) #26
hcarmona
On 2015/11/17 16:24:06, Mike Wittman wrote: > https://codereview.chromium.org/1432143002/diff/60001/components/constrained_window/constrained_window_views.cc > File components/constrained_window/constrained_window_views.cc (right): > > https://codereview.chromium.org/1432143002/diff/60001/components/constrained_window/constrained_window_views.cc#newcode152 ...
5 years, 1 month ago (2015-11-17 17:10:57 UTC) #27
ncarter (slow)
lgtm https://codereview.chromium.org/1432143002/diff/80001/components/constrained_window/constrained_window_views.cc File components/constrained_window/constrained_window_views.cc (right): https://codereview.chromium.org/1432143002/diff/80001/components/constrained_window/constrained_window_views.cc#newcode152 components/constrained_window/constrained_window_views.cc:152: base::debug::Alias(delegate); On 2015/11/17 16:24:06, Mike Wittman wrote: > ...
5 years, 1 month ago (2015-11-17 17:42:16 UTC) #29
Mike Wittman
lgtm
5 years, 1 month ago (2015-11-17 17:55:40 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432143002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432143002/80001
5 years, 1 month ago (2015-11-17 18:03:32 UTC) #32
ncarter (slow)
On 2015/11/17 03:12:51, Hector Carmona wrote: > I've removed other reviewers and set Mike as ...
5 years, 1 month ago (2015-11-17 18:08:34 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 1 month ago (2015-11-17 18:10:19 UTC) #34
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/e1158d6a42903de1664c12bc91ba056ecb716bb6 Cr-Commit-Position: refs/heads/master@{#360112}
5 years, 1 month ago (2015-11-17 18:11:02 UTC) #35
hcarmona
https://codereview.chromium.org/1432143002/diff/80001/components/constrained_window/constrained_window_views.cc File components/constrained_window/constrained_window_views.cc (right): https://codereview.chromium.org/1432143002/diff/80001/components/constrained_window/constrained_window_views.cc#newcode152 components/constrained_window/constrained_window_views.cc:152: base::debug::Alias(delegate); On 2015/11/17 17:42:16, ncarter wrote: > On 2015/11/17 ...
5 years, 1 month ago (2015-11-20 03:36:50 UTC) #36
hcarmona
Patch Set 4, didn't help us debug this. I know Patch Set 3 was a ...
5 years ago (2015-11-30 23:55:11 UTC) #37
Mike Wittman
On 2015/11/30 23:55:11, Hector Carmona wrote: > Patch Set 4, didn't help us debug this. ...
5 years ago (2015-12-01 00:22:45 UTC) #38
hcarmona
A revert of this CL (patchset #4 id:80001) has been created in https://codereview.chromium.org/1486863002/ by hcarmona@chromium.org. ...
5 years ago (2015-12-01 00:29:55 UTC) #39
hcarmona
The LGs on this are from Patch Set 4, PTAL at the latest version. (I ...
5 years ago (2015-12-01 00:58:28 UTC) #41
Mike Wittman
5 years ago (2015-12-01 01:07:07 UTC) #42
On 2015/12/01 00:58:28, Hector Carmona wrote:
> The LGs on this are from Patch Set 4, PTAL at the latest version. (I can
> create a new CL if this one is too cluttered)

Please do create a new CL. Having two entirely different patches committed on
the same CL will be very confusing.

Powered by Google App Engine
This is Rietveld 408576698