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

Issue 1320153002: Add new termination status for failed launch (Closed)

Created:
5 years, 3 months ago by Will Harris
Modified:
5 years, 3 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, amineer
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add new termination status for failed child process launch. Treat renderer startup failure as a renderer crash for metrics. This makes situations where sandbox failures are happening en-masse without crash reports being produced easier to spot on the stability dashboard. BUG=526198, 467920 Committed: https://crrev.com/0d9532a1e73db2bc36a865655b0727d74dcf13a6 Cr-Commit-Position: refs/heads/master@{#347060}

Patch Set 1 #

Total comments: 6

Patch Set 2 : use new termination status #

Patch Set 3 : fixes #

Patch Set 4 : fix #

Total comments: 6

Patch Set 5 : pre-rebase commit WIP #

Patch Set 6 : rebase #

Patch Set 7 : code review comments. add test. #

Total comments: 2

Patch Set 8 : rebase and a nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -28 lines) Patch
M base/process/kill.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_ui_bindings.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/metrics/chrome_stability_metrics_provider.cc View 1 2 3 4 5 6 5 chunks +32 lines, -12 lines 0 comments Download
M chrome/browser/metrics/chrome_stability_metrics_provider_unittest.cc View 1 2 3 4 5 6 7 1 chunk +10 lines, -1 line 0 comments Download
M chrome/browser/ui/sad_tab_helper.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_renderer_data.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/chrome_launcher.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chromecast/browser/metrics/cast_stability_metrics_provider.cc View 1 2 3 4 5 6 7 2 chunks +17 lines, -3 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/child_process_launcher.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/devtools/render_frame_devtools_agent_host.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -3 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 5 3 chunks +11 lines, -6 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
Will Harris
PTAL asvitkine -> */metrics/* jam -> chrome/common amineer -> this will increase renderer crash rates ...
5 years, 3 months ago (2015-08-28 16:41:11 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/1320153002/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc File chrome/browser/metrics/chrome_stability_metrics_provider.cc (right): https://codereview.chromium.org/1320153002/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc#newcode285 chrome/browser/metrics/chrome_stability_metrics_provider.cc:285: (status == base::TERMINATION_STATUS_PROCESS_WAS_KILLED && Probably worth adding a unit ...
5 years, 3 months ago (2015-08-28 16:45:50 UTC) #3
Will Harris
https://codereview.chromium.org/1320153002/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc File chrome/browser/metrics/chrome_stability_metrics_provider.cc (right): https://codereview.chromium.org/1320153002/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc#newcode286 chrome/browser/metrics/chrome_stability_metrics_provider.cc:286: exit_code == -1)) { render_process_host_impl.cc is in content so ...
5 years, 3 months ago (2015-08-28 16:52:14 UTC) #4
jam
lgtm
5 years, 3 months ago (2015-08-28 17:17:08 UTC) #5
jam
https://codereview.chromium.org/1320153002/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc File chrome/browser/metrics/chrome_stability_metrics_provider.cc (right): https://codereview.chromium.org/1320153002/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc#newcode286 chrome/browser/metrics/chrome_stability_metrics_provider.cc:286: exit_code == -1)) { On 2015/08/28 16:52:13, Will Harris ...
5 years, 3 months ago (2015-08-28 17:18:35 UTC) #6
Will Harris
Here is a new approach that adds a base::TerminationStatus for a failure to start a ...
5 years, 3 months ago (2015-08-29 01:42:33 UTC) #8
Alexei Svitkine (slow)
https://codereview.chromium.org/1320153002/diff/60001/chrome/browser/metrics/chrome_stability_metrics_provider.cc File chrome/browser/metrics/chrome_stability_metrics_provider.cc (left): https://codereview.chromium.org/1320153002/diff/60001/chrome/browser/metrics/chrome_stability_metrics_provider.cc#oldcode69 chrome/browser/metrics/chrome_stability_metrics_provider.cc:69: Nit: Remove spurious change. https://codereview.chromium.org/1320153002/diff/60001/chrome/browser/metrics/chrome_stability_metrics_provider.cc File chrome/browser/metrics/chrome_stability_metrics_provider.cc (right): https://codereview.chromium.org/1320153002/diff/60001/chrome/browser/metrics/chrome_stability_metrics_provider.cc#newcode315 ...
5 years, 3 months ago (2015-08-31 19:06:14 UTC) #9
Will Harris
All done PTAL. jam -> code has changed since your last lgtm so please have ...
5 years, 3 months ago (2015-09-01 01:15:38 UTC) #10
Lei Zhang
On 2015/09/01 01:15:38, Will Harris wrote: > thestig -> please look at base/ lgtm stamp, ...
5 years, 3 months ago (2015-09-01 02:32:59 UTC) #11
Alexei Svitkine (slow)
lgtm % the issue with the test from your other cl
5 years, 3 months ago (2015-09-01 20:50:42 UTC) #12
jabdelmalek
slgtm with one comment https://codereview.chromium.org/1320153002/diff/120001/chromecast/browser/metrics/cast_stability_metrics_provider.cc File chromecast/browser/metrics/cast_stability_metrics_provider.cc (right): https://codereview.chromium.org/1320153002/diff/120001/chromecast/browser/metrics/cast_stability_metrics_provider.cc#newcode32 chromecast/browser/metrics/cast_stability_metrics_provider.cc:32: RENDERER_TYPE_EXTENSION, ? i don't see ...
5 years, 3 months ago (2015-09-02 00:39:31 UTC) #14
Will Harris
On 2015/09/02 00:39:31, jabdelmalek wrote: > (ah now i see this was copy & paste ...
5 years, 3 months ago (2015-09-02 19:59:42 UTC) #15
Will Harris
Thanks for reviews. https://codereview.chromium.org/1320153002/diff/120001/chromecast/browser/metrics/cast_stability_metrics_provider.cc File chromecast/browser/metrics/cast_stability_metrics_provider.cc (right): https://codereview.chromium.org/1320153002/diff/120001/chromecast/browser/metrics/cast_stability_metrics_provider.cc#newcode32 chromecast/browser/metrics/cast_stability_metrics_provider.cc:32: RENDERER_TYPE_EXTENSION, On 2015/09/02 00:39:31, jabdelmalek wrote: ...
5 years, 3 months ago (2015-09-02 20:00:21 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1320153002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1320153002/140001
5 years, 3 months ago (2015-09-02 20:01:08 UTC) #19
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 3 months ago (2015-09-02 23:19:08 UTC) #20
commit-bot: I haz the power
5 years, 3 months ago (2015-09-02 23:20:30 UTC) #21
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/0d9532a1e73db2bc36a865655b0727d74dcf13a6
Cr-Commit-Position: refs/heads/master@{#347060}

Powered by Google App Engine
This is Rietveld 408576698