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

Issue 1001103002: Crashpad! (Closed)

Created:
5 years, 9 months ago by Mark Mentovai
Modified:
5 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, sadrul, jam, darin-cc_chromium.org, kalyank, mkwst+moarreviews-shell_chromium.org, erikwright+watch_chromium.org, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Crashpad!: Use the Crashpad client instead of Breakpad on Mac OS X. Crashpad is always compiled in to Chrome and its handler is always enabled. It is only possible to enable uploads in official builds. Crashpad talks to the existing Breakpad server. There should be no noticeable changes to crash reporting on the server side, except the client IDs will all change to a new ID and will no longer be synchronized with UMA client IDs. This is a one-time change. After this, the client ID will remain stable within a single --user-data-dir. BUG=386208, 390217, 415547, 427611, crashpad:12 R=rsesek@chromium.org TBR=cpu@chromium.org,jochen@chromium.org Committed: https://crrev.com/d413b2dcb54d523811d386f1ff4084f677a6d089 Cr-Commit-Position: refs/heads/master@{#320466}

Patch Set 1 #

Patch Set 2 : Hook it all up #

Patch Set 3 : Clean it all up #

Total comments: 6

Patch Set 4 : DEPS 58c7519598b3 #

Patch Set 5 : Address review feedback and fix component=shared_library #

Patch Set 6 : Fix content_shell #

Total comments: 1

Patch Set 7 : Address review feedback; remove Breakpad dependency from chrome_main_dll; remove in-process filters… #

Patch Set 8 : Sign crashpad_handler #

Unified diffs Side-by-side diffs Delta from patch set Stats (+551 lines, -148 lines) Patch
M .gitignore View 1 chunk +1 line, -0 lines 0 comments Download
M DEPS View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M base/mac/scoped_mach_port.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M build/all.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/chrome_crash_reporter_client.h View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/app/chrome_crash_reporter_client_mac.mm View 1 2 3 4 5 6 2 chunks +0 lines, -23 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 2 3 4 3 chunks +6 lines, -38 lines 0 comments Download
M chrome/browser/chrome_browser_main_mac.mm View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/crash_upload_list.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
A chrome/browser/crash_upload_list_mac.h View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/browser/crash_upload_list_mac.cc View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/browser/google/google_update_settings_posix.cc View 1 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/first_run_dialog.mm View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 2 3 4 5 6 2 chunks +9 lines, -19 lines 0 comments Download
M chrome/chrome_dll_bundle.gypi View 1 2 3 chunks +7 lines, -15 lines 0 comments Download
M chrome/common/chrome_paths.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/installer/mac/sign_app.sh.in View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/installer/mac/sign_versioned_dir.sh.in View 1 2 3 4 5 6 7 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/tools/build/mac/dump_product_syms View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M components/crash.gypi View 1 2 3 4 5 6 3 chunks +110 lines, -14 lines 0 comments Download
M components/crash/OWNERS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/crash/app/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/crash/app/breakpad_mac.mm View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M components/crash/app/crash_keys_win_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M components/crash/app/crash_reporter_client.h View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
M components/crash/app/crash_reporter_client.cc View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
A components/crash/app/crashpad_mac.h View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
A components/crash/app/crashpad_mac.mm View 1 2 1 chunk +245 lines, -0 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A third_party/crashpad/OWNERS View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/crashpad/README.chromium View 1 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
Mark Mentovai
rsesek for review of most things. cpu as a root-level OWNER.
5 years, 9 months ago (2015-03-12 23:21:12 UTC) #5
Robert Sesek
✨🌟✨🌟 Wooohoooo! 🌟✨🌟✨ https://codereview.chromium.org/1001103002/diff/80001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/1001103002/diff/80001/chrome/app/chrome_main_delegate.cc#newcode560 chrome/app/chrome_main_delegate.cc:560: // CommandLine::Init() and chrome::RegisterPathProvider(). Ideally, Breakpad ...
5 years, 9 months ago (2015-03-12 23:51:34 UTC) #6
Mark Mentovai
Thanks for the review! Updated. I also fixed the component=shared_library build and replaced the Breakpad ...
5 years, 9 months ago (2015-03-13 02:39:27 UTC) #7
Robert Sesek
The only other thing I can think of is the GN build, but I think ...
5 years, 9 months ago (2015-03-13 02:54:08 UTC) #8
Mark Mentovai
Yeah, I’m looking at that now. It’s happening in the component build, Content Shell Framework. ...
5 years, 9 months ago (2015-03-13 02:57:06 UTC) #9
Mark Mentovai
Fixed content_shell by allowing it to continue using breakpad_mac while Chrome uses crashpad_mac. Filed bug ...
5 years, 9 months ago (2015-03-13 04:13:05 UTC) #10
Robert Sesek
https://codereview.chromium.org/1001103002/diff/140001/components/crash.gypi File components/crash.gypi (right): https://codereview.chromium.org/1001103002/diff/140001/components/crash.gypi#newcode37 components/crash.gypi:37: 'target_name': 'crash_component_base', This could also be crash_component_non_mac, and the ...
5 years, 9 months ago (2015-03-13 04:26:32 UTC) #11
Mark Mentovai
Updated. I also had to pull out an extra dependency hiding in chrome_main_dll, and remove ...
5 years, 9 months ago (2015-03-13 04:40:12 UTC) #12
Robert Sesek
__ ______ ______ __ __ /\ \ /\ ___\ /\__ _\ /\ "-./ \ \ ...
5 years, 9 months ago (2015-03-13 04:51:29 UTC) #13
Mark Mentovai
cpu or jochen for OWNERS review. TBR because this actually isn’t much code (it’s really ...
5 years, 9 months ago (2015-03-13 04:58:22 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1001103002/160001
5 years, 9 months ago (2015-03-13 05:10:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1001103002/180001
5 years, 9 months ago (2015-03-13 05:36:08 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:180001)
5 years, 9 months ago (2015-03-13 07:45:48 UTC) #21
commit-bot: I haz the power
5 years, 9 months ago (2015-03-13 07:46:21 UTC) #22
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/d413b2dcb54d523811d386f1ff4084f677a6d089
Cr-Commit-Position: refs/heads/master@{#320466}

Powered by Google App Engine
This is Rietveld 408576698