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

Issue 2643853005: chromeos: Initial support for crash reporting for chrome --mash (Closed)

Created:
3 years, 11 months ago by James Cook
Modified:
3 years, 11 months ago
CC:
chromium-reviews, kalyank, piman+watch_chromium.org, rjkroege, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Initial support for crash reporting for chrome --mash This enables crash dumping with breakpad for chrome --mash. * Create a MashCrashReporterClient for breakpad * Initialize breakpad inside MashRunner * Move EnableInProcessStackDumping calls so they don't overwrite signal handlers installed by breakpad Crash reporting is limited to chromeos only because MashCrashReporterClient duplicates some code in ChromeCrashReporterClient. The latter has content and installer dependencies that will require more work to refactor before the code can be shared with mash. Crash reporting doesn't yet work on device with mash because LibCrosService network proxy resolution isn't wired up yet. BUG=585218 TEST=run chrome --mash --enable-crash-reporter-for-testing --ash-debug-shortcuts then hit Ctrl-Alt-Shift-K and see crash dumped and system crash reporter run. Review-Url: https://codereview.chromium.org/2643853005 Cr-Commit-Position: refs/heads/master@{#444856} Committed: https://chromium.googlesource.com/chromium/src/+/56508cd35b92846ad5f61bc8115c5186cd1cb152

Patch Set 1 #

Patch Set 2 : deps #

Total comments: 5

Patch Set 3 : sadrul comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -8 lines) Patch
M chrome/app/mash/BUILD.gn View 1 2 1 chunk +11 lines, -1 line 0 comments Download
A chrome/app/mash/mash_crash_reporter_client.h View 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/app/mash/mash_crash_reporter_client.cc View 1 2 1 chunk +84 lines, -0 lines 0 comments Download
M chrome/app/mash/mash_runner.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/mash/mash_runner.cc View 1 2 3 chunks +40 lines, -1 line 0 comments Download
M chrome/test/base/mash_browser_tests_main.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M services/service_manager/public/cpp/standalone_service/main.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M services/service_manager/public/cpp/standalone_service/standalone_service.h View 3 chunks +6 lines, -1 line 0 comments Download
M services/service_manager/public/cpp/standalone_service/standalone_service.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 29 (19 generated)
James Cook
rockot, PTAL at chrome/app/mash and services/service_manager sadrul, PTAL at services/ui/gpu This code is a bit ...
3 years, 11 months ago (2017-01-19 02:39:50 UTC) #4
James Cook
https://codereview.chromium.org/2643853005/diff/20001/chrome/app/mash/BUILD.gn File chrome/app/mash/BUILD.gn (right): https://codereview.chromium.org/2643853005/diff/20001/chrome/app/mash/BUILD.gn#newcode46 chrome/app/mash/BUILD.gn:46: "//services/ui/gpu", Also, this is unfortunate. Any thoughts on how ...
3 years, 11 months ago (2017-01-19 02:50:17 UTC) #7
sadrul
https://codereview.chromium.org/2643853005/diff/20001/chrome/app/mash/BUILD.gn File chrome/app/mash/BUILD.gn (right): https://codereview.chromium.org/2643853005/diff/20001/chrome/app/mash/BUILD.gn#newcode46 chrome/app/mash/BUILD.gn:46: "//services/ui/gpu", On 2017/01/19 02:50:17, James Cook wrote: > Also, ...
3 years, 11 months ago (2017-01-19 04:22:11 UTC) #12
James Cook
sadrul/rockot - please take another look. https://codereview.chromium.org/2643853005/diff/20001/chrome/app/mash/BUILD.gn File chrome/app/mash/BUILD.gn (right): https://codereview.chromium.org/2643853005/diff/20001/chrome/app/mash/BUILD.gn#newcode46 chrome/app/mash/BUILD.gn:46: "//services/ui/gpu", On 2017/01/19 ...
3 years, 11 months ago (2017-01-19 18:01:18 UTC) #15
Ken Rockot(use gerrit already)
lgtm
3 years, 11 months ago (2017-01-19 18:03:58 UTC) #17
sadrul
lgtm (you can probably update the CL description to remove the bit about GpuService)
3 years, 11 months ago (2017-01-19 21:47:40 UTC) #20
James Cook
sky, can I get OWNERS stamp for chrome/test/base/mash_browser_tests_main.cc ? (sadrul, I updated the CL description. ...
3 years, 11 months ago (2017-01-19 21:51:36 UTC) #23
sky
LGTM
3 years, 11 months ago (2017-01-19 21:59:09 UTC) #24
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/2643853005/60001
3 years, 11 months ago (2017-01-19 22:03:20 UTC) #26
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 22:09:25 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/56508cd35b92846ad5f61bc8115c...

Powered by Google App Engine
This is Rietveld 408576698