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

Issue 2635493002: Suppress browser microdump when renderer crashes in multiprocess WebView. (Closed)

Created:
3 years, 11 months ago by Tobias Sargeant
Modified:
3 years, 11 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, android-webview-reviews_chromium.org, sadrul, kalyank, michaelbai
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Suppress browser microdump when renderer crashes in multiprocess WebView. Currently when WebView is in multiprocess mode and the renderer crashes, browser code detects the crash and terminates the application in order to provide compatibility with single process behaviour (where a renderer crash would implicitly also be an application crash). We need the browser (= application process) to die in a way that triggers debuggerd, but we don't want the browser microdump (it's not informative). For this reason, we suppress the generation of the microdump at the point we terminate the application. The renderer process crash dialog is already suppressed on user builds, by virtue of not re-raising the signal. BUG=642344 Review-Url: https://codereview.chromium.org/2635493002 Cr-Commit-Position: refs/heads/master@{#444131} Committed: https://chromium.googlesource.com/chromium/src/+/fa882b53462e83fd7a2470f375ee322f7c9c8914

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : add ifdef #

Patch Set 4 : reorder functions #

Patch Set 5 : reorder functions. again. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -30 lines) Patch
M android_webview/browser/aw_browser_terminator.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/common/crash_reporter/aw_microdump_crash_reporter.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/common/crash_reporter/aw_microdump_crash_reporter.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/crash/content/app/breakpad_linux.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M components/crash/content/app/breakpad_linux.cc View 1 2 3 4 10 chunks +58 lines, -30 lines 0 comments Download

Messages

Total messages: 25 (18 generated)
Tobias Sargeant
3 years, 11 months ago (2017-01-13 15:31:20 UTC) #2
sgurun-gerrit only
On 2017/01/13 15:31:20, Tobias Sargeant wrote: aw lgtm did not look at components pieces.
3 years, 11 months ago (2017-01-13 18:18:58 UTC) #4
Torne
LGTM in general but I think this won't compile on non-android: https://codereview.chromium.org/2635493002/diff/20001/components/crash/content/app/breakpad_linux.cc File components/crash/content/app/breakpad_linux.cc (right): ...
3 years, 11 months ago (2017-01-16 12:08:57 UTC) #5
Tobias Sargeant
https://codereview.chromium.org/2635493002/diff/20001/components/crash/content/app/breakpad_linux.cc File components/crash/content/app/breakpad_linux.cc (right): https://codereview.chromium.org/2635493002/diff/20001/components/crash/content/app/breakpad_linux.cc#newcode779 components/crash/content/app/breakpad_linux.cc:779: ShouldGenerateDump, On 2017/01/16 12:08:57, Torne wrote: > Does this ...
3 years, 11 months ago (2017-01-16 14:01:37 UTC) #6
Robert Sesek
lgtm
3 years, 11 months ago (2017-01-17 19:21:48 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/2635493002/80001
3 years, 11 months ago (2017-01-17 19:59:09 UTC) #22
commit-bot: I haz the power
3 years, 11 months ago (2017-01-17 20:43:17 UTC) #25
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/fa882b53462e83fd7a2470f375ee...

Powered by Google App Engine
This is Rietveld 408576698