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

Issue 1900513003: Try to diagnose blink reinitialisation in WebView. (Closed)

Created:
4 years, 8 months ago by Torne
Modified:
4 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Try to diagnose blink reinitialisation in WebView. WebView somehow ends up shutting down and reinitialising blink in the same process sometimes, which isn't supported. We have no idea how to reproduce this, so this change adds assertions that verify that we never shut down InProcessRendererThread unless the browser is already being shut down. WebView only exits by the process being SIGKILLed, so the shutdown path is intended to be unreachable. This is a temporary change that will be reverted once we've found the stack that leads to the shutdown being initiated. BUG=514141 Committed: https://crrev.com/58dcbf986997c2ca09b182eb6b3015de5c0e1fe9 Cr-Commit-Position: refs/heads/master@{#391207}

Patch Set 1 #

Patch Set 2 : Make it actually compile (missing headers) #

Total comments: 1

Patch Set 3 : Allow InProcessRendererThread to die if BrowserMainLoop is dying, to avoid breaking tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M content/browser/browser_main_loop.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/in_process_renderer_thread.cc View 1 2 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
Torne
John, any more places you think I could usefully put this? I think it's expected ...
4 years, 8 months ago (2016-04-18 14:25:11 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900513003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900513003/20001
4 years, 8 months ago (2016-04-18 15:24:35 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/55437)
4 years, 8 months ago (2016-04-18 17:30:52 UTC) #6
johnme
I'd suggest putting another in ChildThreadImpl::OnProcessFinalRelease (or ChildProcess::ReleaseProcess) to get a stack trace before the ...
4 years, 8 months ago (2016-04-19 14:25:10 UTC) #7
Torne
On 2016/04/19 14:25:10, johnme wrote: > I'd suggest putting another in ChildThreadImpl::OnProcessFinalRelease (or > ChildProcess::ReleaseProcess) ...
4 years, 8 months ago (2016-04-19 14:36:24 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900513003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900513003/40001
4 years, 7 months ago (2016-04-28 16:00:39 UTC) #11
Torne
Okay, this version should actually avoid breaking tests. Sending for another dry run to see ...
4 years, 7 months ago (2016-04-28 16:00:40 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-28 16:51:53 UTC) #14
Torne
Adding jochen@ for content OWNERS. Some context if you don't want to read through the ...
4 years, 7 months ago (2016-04-29 11:35:53 UTC) #16
johnme
lgtm to catch the crash. Might want a TODO to remind you to revert this ...
4 years, 7 months ago (2016-04-29 12:55:09 UTC) #17
jochen (gone - plz use gerrit)
lgtm
4 years, 7 months ago (2016-05-02 17:06:26 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900513003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900513003/40001
4 years, 7 months ago (2016-05-03 11:20:13 UTC) #20
Torne
https://codereview.chromium.org/1942273002 crashes in single-process mode in RenderThreadImpl::OnChannelError, to try and catch this other possibility. This ...
4 years, 7 months ago (2016-05-03 12:03:10 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-03 12:18:29 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 12:20:18 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/58dcbf986997c2ca09b182eb6b3015de5c0e1fe9
Cr-Commit-Position: refs/heads/master@{#391207}

Powered by Google App Engine
This is Rietveld 408576698