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

Issue 571523004: Mac: Add support for in-process crash reporting (Closed)

Created:
6 years, 3 months ago by Andre
Modified:
6 years, 3 months ago
Reviewers:
Mark Mentovai
Base URL:
https://chromium.googlesource.com/external/google-breakpad/src.git@master
Visibility:
Public.

Description

Mac: Add support for in-process crash reporting to Breakpad. Add new option BREAKPAD_IN_PROCESS. If YES, Breakpad will write the dump file in-process and then launch the reporter executable as a child process. BUG=414239 Moved to https://breakpad.appspot.com/1714002/

Patch Set 1 #

Total comments: 2

Patch Set 2 : Implement launching of reporter app #

Total comments: 6

Patch Set 3 : Fixes for Mark #

Total comments: 18

Patch Set 4 : Fixes for Mark #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -93 lines) Patch
M client/apple/Framework/BreakpadDefines.h View 1 chunk +1 line, -0 lines 0 comments Download
M client/mac/Framework/Breakpad.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M client/mac/Framework/Breakpad.mm View 1 2 3 6 chunks +58 lines, -0 lines 0 comments Download
M client/mac/crash_generation/ConfigFile.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M client/mac/crash_generation/Inspector.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M client/mac/crash_generation/Inspector.mm View 1 3 chunks +4 lines, -47 lines 0 comments Download
A + common/mac/launch_reporter.h View 1 2 3 4 2 chunks +9 lines, -15 lines 0 comments Download
A + common/mac/launch_reporter.cc View 1 2 3 2 chunks +43 lines, -29 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
Andre
Hi Mark, I'm still working on this but I thought it would be good to ...
6 years, 3 months ago (2014-09-12 18:04:59 UTC) #2
Andre
https://codereview.chromium.org/571523004/diff/1/client/mac/Framework/Breakpad.mm File client/mac/Framework/Breakpad.mm (right): https://codereview.chromium.org/571523004/diff/1/client/mac/Framework/Breakpad.mm#newcode763 client/mac/Framework/Breakpad.mm:763: // config_file.GetFilePath()); On 2014/09/12 18:04:59, Andre wrote: > This ...
6 years, 3 months ago (2014-09-12 18:22:00 UTC) #3
Andre
Uploaded patchset 2 with implementation of reporter launching. Tested with staging server, results here: https://crash-staging.corp.google.com/browse?q=product.name%3D%27Chrome_Mac%27%20AND%20product.version%3D%2739.0.2154.0%27%20AND%20clientid%3D%270B2E17BE6C274E039FD1E497BFFF0ABC%27%20AND%20custom_data.ChromeCrashProto.ptype%3D%27browser%27
6 years, 3 months ago (2014-09-12 21:11:59 UTC) #4
Mark Mentovai
Yes! This is absolutely heading in the right direction. Let me know when you’d like ...
6 years, 3 months ago (2014-09-12 21:58:21 UTC) #5
Andre
Thanks Mark. I've uploaded patchset 3, let's start the full review. The gyp/gn changes are ...
6 years, 3 months ago (2014-09-12 22:59:40 UTC) #8
Mark Mentovai
We’ll land this side first, and we’ll land the other side along with a DEPS ...
6 years, 3 months ago (2014-09-12 23:01:04 UTC) #9
Andre
On 2014/09/12 23:01:04, Mark Mentovai wrote: > We’ll land this side first, and we’ll land ...
6 years, 3 months ago (2014-09-12 23:03:38 UTC) #10
Mark Mentovai
The .gyp files in Chromium dictate how Breakpad operates in Chromium. For Breakpad’s own standalone ...
6 years, 3 months ago (2014-09-15 13:27:17 UTC) #11
Mark Mentovai
This is in pretty good shape already, most of the comments amount to minor nits. ...
6 years, 3 months ago (2014-09-15 13:38:44 UTC) #12
Andre
https://codereview.chromium.org/571523004/diff/80001/client/mac/Framework/Breakpad.mm File client/mac/Framework/Breakpad.mm (right): https://codereview.chromium.org/571523004/diff/80001/client/mac/Framework/Breakpad.mm#newcode199 client/mac/Framework/Breakpad.mm:199: void *context, bool succeeded); On 2014/09/15 13:38:44, Mark Mentovai ...
6 years, 3 months ago (2014-09-15 17:42:39 UTC) #15
Mark Mentovai
LGTM I don’t like the Handle naming because it makes it sound like it’s doing ...
6 years, 3 months ago (2014-09-15 19:15:45 UTC) #16
Andre
https://codereview.chromium.org/571523004/diff/140001/common/mac/launch_reporter.h File common/mac/launch_reporter.h (right): https://codereview.chromium.org/571523004/diff/140001/common/mac/launch_reporter.h#newcode41 common/mac/launch_reporter.h:41: } // namespace google_breakpad On 2014/09/15 19:15:44, Mark Mentovai ...
6 years, 3 months ago (2014-09-15 20:16:32 UTC) #17
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
6 years, 3 months ago (2014-09-15 20:22:49 UTC) #20
Andre
Mark, can you tell me how to land this patch? Do we use CQ?
6 years, 3 months ago (2014-09-15 20:37:55 UTC) #21
Mark Mentovai
No commit queue for Breakpad. You have to land it manually. “gcl commit” or “git ...
6 years, 3 months ago (2014-09-15 20:39:47 UTC) #22
Andre
I'm getting "Git access forbidden" when trying to run "git cl land". What am I ...
6 years, 3 months ago (2014-09-15 21:18:38 UTC) #23
Mark Mentovai
6 years, 3 months ago (2014-09-15 21:33:20 UTC) #24
Is the svn side of it using https://? If it’s only using http://, you won’t be
able to commit.

Powered by Google App Engine
This is Rietveld 408576698