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

Issue 2327043002: A simple minidump writer for postmortem stability reports. (Closed)

Created:
4 years, 3 months ago by manzagop (departed)
Modified:
4 years, 3 months ago
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

A simple minidump writer for postmortem stability reports. Enables writing a minimal minidump for wrapping a StabilityReport protocol buffer. The minidump is meant to be valid for registration with the Crashpad reporter (includes the Crashpad info stream). BUG=620813 Committed: https://crrev.com/a28851ca731cf926f1c7949e4c1293a059606958 Cr-Commit-Position: refs/heads/master@{#418863}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Address comments #

Patch Set 3 : Merge #

Total comments: 10

Patch Set 4 : Address comments #

Total comments: 14

Patch Set 5 : Address comments #

Total comments: 4

Patch Set 6 : Address Scott's last round #

Patch Set 7 : Missing BUILD dependencies #

Total comments: 4

Patch Set 8 : Address Siggi's last round #

Patch Set 9 : Signed/unsigned comparison fixups. #

Patch Set 10 : More signed/unsigned caught by the clang builder #

Patch Set 11 : Missed the hex number #

Unified diffs Side-by-side diffs Delta from patch set Stats (+711 lines, -1 line) Patch
M components/browser_watcher/BUILD.gn View 1 2 3 4 5 6 3 chunks +33 lines, -0 lines 0 comments Download
M components/browser_watcher/DEPS View 1 chunk +2 lines, -1 line 0 comments Download
A components/browser_watcher/postmortem_minidump_writer.h View 1 2 3 4 5 1 chunk +37 lines, -0 lines 0 comments Download
A components/browser_watcher/postmortem_minidump_writer_win.cc View 1 2 3 4 5 6 7 1 chunk +413 lines, -0 lines 0 comments Download
A components/browser_watcher/postmortem_minidump_writer_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +148 lines, -0 lines 0 comments Download
A components/browser_watcher/stability_report.proto View 1 1 chunk +78 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 56 (32 generated)
manzagop (departed)
Here's the minidump writer broken out of https://crrev.com/2128683002 . Note it could avoid the dependency ...
4 years, 3 months ago (2016-09-09 13:53:24 UTC) #2
Sigurður Ásgeirsson
Very nice - I don't care where the proto dependency ends up. If the argument ...
4 years, 3 months ago (2016-09-09 14:21:00 UTC) #3
manzagop (departed)
Thanks! Another look? https://chromiumcodereview.appspot.com/2327043002/diff/1/components/browser_watcher/postmortem_minidump_writer.h File components/browser_watcher/postmortem_minidump_writer.h (right): https://chromiumcodereview.appspot.com/2327043002/diff/1/components/browser_watcher/postmortem_minidump_writer.h#newcode33 components/browser_watcher/postmortem_minidump_writer.h:33: using Position = uint32_t; On 2016/09/09 ...
4 years, 3 months ago (2016-09-09 20:34:41 UTC) #5
manzagop (departed)
Ping!
4 years, 3 months ago (2016-09-12 20:37:32 UTC) #6
manzagop (departed)
On 2016/09/12 20:37:32, manzagop wrote: > Ping! I'm missing the trailing ";)" ;).
4 years, 3 months ago (2016-09-12 20:38:11 UTC) #7
Sigurður Ásgeirsson
nice - got some nits. https://chromiumcodereview.appspot.com/2327043002/diff/60001/components/browser_watcher/postmortem_minidump_writer.h File components/browser_watcher/postmortem_minidump_writer.h (right): https://chromiumcodereview.appspot.com/2327043002/diff/60001/components/browser_watcher/postmortem_minidump_writer.h#newcode101 components/browser_watcher/postmortem_minidump_writer.h:101: std::unique_ptr<base::File> minidump_file_; IMHO simpler ...
4 years, 3 months ago (2016-09-13 14:57:09 UTC) #8
manzagop (departed)
Addressed comments. Another look? https://chromiumcodereview.appspot.com/2327043002/diff/60001/components/browser_watcher/postmortem_minidump_writer.h File components/browser_watcher/postmortem_minidump_writer.h (right): https://chromiumcodereview.appspot.com/2327043002/diff/60001/components/browser_watcher/postmortem_minidump_writer.h#newcode101 components/browser_watcher/postmortem_minidump_writer.h:101: std::unique_ptr<base::File> minidump_file_; On 2016/09/13 14:57:09, ...
4 years, 3 months ago (2016-09-13 16:22:44 UTC) #9
manzagop (departed)
Hi Scott, Could you have a look? This is basically what you reviewed eons ago ...
4 years, 3 months ago (2016-09-13 16:26:20 UTC) #11
Sigurður Ásgeirsson
nice, a couple of more nits... https://chromiumcodereview.appspot.com/2327043002/diff/80001/components/browser_watcher/postmortem_minidump_writer.h File components/browser_watcher/postmortem_minidump_writer.h (right): https://chromiumcodereview.appspot.com/2327043002/diff/80001/components/browser_watcher/postmortem_minidump_writer.h#newcode102 components/browser_watcher/postmortem_minidump_writer.h:102: base::File* minidump_file_; Do ...
4 years, 3 months ago (2016-09-13 17:36:56 UTC) #12
scottmg
Cool, thanks for breaking it up, the full change was overwhelming. :) Just a couple ...
4 years, 3 months ago (2016-09-13 18:07:43 UTC) #13
manzagop (departed)
Thanks for the comments. Please have another look! https://chromiumcodereview.appspot.com/2327043002/diff/80001/components/browser_watcher/BUILD.gn File components/browser_watcher/BUILD.gn (right): https://chromiumcodereview.appspot.com/2327043002/diff/80001/components/browser_watcher/BUILD.gn#newcode45 components/browser_watcher/BUILD.gn:45: # ...
4 years, 3 months ago (2016-09-13 21:19:41 UTC) #14
scottmg
lgtm https://chromiumcodereview.appspot.com/2327043002/diff/100001/components/browser_watcher/postmortem_minidump_writer.h File components/browser_watcher/postmortem_minidump_writer.h (right): https://chromiumcodereview.appspot.com/2327043002/diff/100001/components/browser_watcher/postmortem_minidump_writer.h#newcode10 components/browser_watcher/postmortem_minidump_writer.h:10: #include <map> Many of these includes can move ...
4 years, 3 months ago (2016-09-13 21:32:37 UTC) #15
manzagop (departed)
Scott: thanks for the review! Rob: could you have a look at the comma I ...
4 years, 3 months ago (2016-09-14 13:44:37 UTC) #18
rkaplow
lgtm DEPS file looks fine. That's so strange you need a metrics approval for adding ...
4 years, 3 months ago (2016-09-14 14:52:55 UTC) #25
rkaplow
lgtm may be worth filing a bug to fix the presubmit check because that seems ...
4 years, 3 months ago (2016-09-14 14:57:19 UTC) #26
Sigurður Ásgeirsson
lgtm with but a nit. Nice. https://codereview.chromium.org/2327043002/diff/140001/components/browser_watcher/postmortem_minidump_writer_win.cc File components/browser_watcher/postmortem_minidump_writer_win.cc (right): https://codereview.chromium.org/2327043002/diff/140001/components/browser_watcher/postmortem_minidump_writer_win.cc#newcode46 components/browser_watcher/postmortem_minidump_writer_win.cc:46: int64_t end = ...
4 years, 3 months ago (2016-09-14 15:11:48 UTC) #27
manzagop (departed)
Thanks for the reviews! Going ahead with submission. Rob: I filed http://crbug.com/646885 for the DEPS ...
4 years, 3 months ago (2016-09-14 15:43:49 UTC) #28
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/2327043002/160001
4 years, 3 months ago (2016-09-14 15:44:21 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/85646)
4 years, 3 months ago (2016-09-14 16:57:05 UTC) #33
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/2327043002/220001
4 years, 3 months ago (2016-09-15 00:19:17 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/293483)
4 years, 3 months ago (2016-09-15 02:12:50 UTC) #50
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/2327043002/220001
4 years, 3 months ago (2016-09-15 13:31:59 UTC) #52
commit-bot: I haz the power
Committed patchset #11 (id:220001)
4 years, 3 months ago (2016-09-15 14:21:27 UTC) #54
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 14:22:54 UTC) #56
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/a28851ca731cf926f1c7949e4c1293a059606958
Cr-Commit-Position: refs/heads/master@{#418863}

Powered by Google App Engine
This is Rietveld 408576698