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

Issue 2611393002: Part two of fallback crash handler for Crashpad handler process. (Closed)

Created:
3 years, 11 months ago by Sigurður Ásgeirsson
Modified:
3 years, 11 months ago
Reviewers:
scottmg
CC:
chromium-reviews, jam, darin-cc_chromium.org, sadrul, kalyank, Mark Mentovai
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Part two of fallback crash handler for Crashpad handler process. This implements the crash handler companion to the launcher in https://codereview.chromium.org/2596463002/. The handler parses the command line as created by the launcher. After this, it can write a minidump with MinidumpWriteDump, then augment it with Crashpad metadata and massage such that Crashpad can parse it. After this, the dump is dropped into the Crashpad database for eventual upload. BUG=678959 Review-Url: https://codereview.chromium.org/2611393002 Cr-Original-Commit-Position: refs/heads/master@{#443249} Committed: https://chromium.googlesource.com/chromium/src/+/92651104e939dbe94378a607e7acd381ca394fd3 Review-Url: https://codereview.chromium.org/2611393002 Cr-Commit-Position: refs/heads/master@{#443406} Committed: https://chromium.googlesource.com/chromium/src/+/b0cb5ce73c6171b11cee16e6f512a4e0ca6a07eb

Patch Set 1 #

Patch Set 2 : Merge base CL changes. #

Patch Set 3 : Merge base CL changes. #

Patch Set 4 : Make CommandLine param to ParseCommandLine const. #

Total comments: 46

Patch Set 5 : Address Scott's comments. Also spin a test process to dump to avoid test flakes. #

Patch Set 6 : Speling [sic] and fix outdated comment. #

Total comments: 8

Patch Set 7 : Address Scott's comments moar again. #

Patch Set 8 : Back out of multi-process testing, see whether the simple approach will work first. #

Total comments: 2

Patch Set 9 : Address Scott's - the eagle-eyed - comment. #

Patch Set 10 : Fix Clang-reported signedness goof. #

Patch Set 11 : Add a missing override specifier. #

Patch Set 12 : Now remove ALL unused directory entries, instead of ONE. Fix non-const casts to constness. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+711 lines, -0 lines) Patch
M components/crash/content/app/BUILD.gn View 1 3 chunks +9 lines, -0 lines 0 comments Download
A components/crash/content/app/fallback_crash_handler_win.h View 1 2 3 4 5 6 1 chunk +60 lines, -0 lines 0 comments Download
A components/crash/content/app/fallback_crash_handler_win.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +449 lines, -0 lines 1 comment Download
A components/crash/content/app/fallback_crash_handler_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +193 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (34 generated)
Sigurður Ásgeirsson
Hey Scott, here's the balance from https://codereview.chromium.org/2596463002/. This is the handler and the associated test. ...
3 years, 11 months ago (2017-01-06 21:10:11 UTC) #2
Sigurður Ásgeirsson
Hey Scott, gentle nudge - also changed the title of the CL, which was identical ...
3 years, 11 months ago (2017-01-10 14:55:52 UTC) #8
scottmg
https://codereview.chromium.org/2611393002/diff/60001/components/crash/content/app/fallback_crash_handler_win.cc File components/crash/content/app/fallback_crash_handler_win.cc (right): https://codereview.chromium.org/2611393002/diff/60001/components/crash/content/app/fallback_crash_handler_win.cc#newcode31 components/crash/content/app/fallback_crash_handler_win.cc:31: class MinidumpUpdater { A short block comment here on ...
3 years, 11 months ago (2017-01-10 18:26:28 UTC) #15
Sigurður Ásgeirsson
Thanks - another look? https://codereview.chromium.org/2611393002/diff/60001/components/crash/content/app/fallback_crash_handler_win.cc File components/crash/content/app/fallback_crash_handler_win.cc (right): https://codereview.chromium.org/2611393002/diff/60001/components/crash/content/app/fallback_crash_handler_win.cc#newcode31 components/crash/content/app/fallback_crash_handler_win.cc:31: class MinidumpUpdater { On 2017/01/10 ...
3 years, 11 months ago (2017-01-10 21:21:41 UTC) #19
scottmg
Cool, lgtm. I'm excited to find out what stupid bugs I wrote in Crashpad. https://codereview.chromium.org/2611393002/diff/120001/components/crash/content/app/fallback_crash_handler_win.cc ...
3 years, 11 months ago (2017-01-10 21:33:40 UTC) #20
Sigurður Ásgeirsson
Comments addressed, but this'll need some more work. Turns out that I can't dump the ...
3 years, 11 months ago (2017-01-10 21:56:12 UTC) #21
Sigurður Ásgeirsson
Hey Scott, one quick, last look? I backed out of the broken multiprocess testing. Since ...
3 years, 11 months ago (2017-01-11 19:00:26 UTC) #24
scottmg
https://codereview.chromium.org/2611393002/diff/160001/components/crash/content/app/fallback_crash_handler_win_unittest.cc File components/crash/content/app/fallback_crash_handler_win_unittest.cc (right): https://codereview.chromium.org/2611393002/diff/160001/components/crash/content/app/fallback_crash_handler_win_unittest.cc#newcode57 components/crash/content/app/fallback_crash_handler_win_unittest.cc:57: return base::UintToString(reinterpret_cast<uintptr_t>(&exception_ptrs_)); Uint64?
3 years, 11 months ago (2017-01-11 19:02:54 UTC) #25
Sigurður Ásgeirsson
Thanks - one truly last look? https://codereview.chromium.org/2611393002/diff/160001/components/crash/content/app/fallback_crash_handler_win_unittest.cc File components/crash/content/app/fallback_crash_handler_win_unittest.cc (right): https://codereview.chromium.org/2611393002/diff/160001/components/crash/content/app/fallback_crash_handler_win_unittest.cc#newcode57 components/crash/content/app/fallback_crash_handler_win_unittest.cc:57: return base::UintToString(reinterpret_cast<uintptr_t>(&exception_ptrs_)); On ...
3 years, 11 months ago (2017-01-11 19:10:01 UTC) #26
scottmg
lgtm
3 years, 11 months ago (2017-01-11 19:26:19 UTC) #27
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/2611393002/180001
3 years, 11 months ago (2017-01-11 19:28:11 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/211215)
3 years, 11 months ago (2017-01-11 19:47:11 UTC) #31
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/2611393002/180001
3 years, 11 months ago (2017-01-11 20:33:37 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/192526)
3 years, 11 months ago (2017-01-11 20:51:08 UTC) #35
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/2611393002/180001
3 years, 11 months ago (2017-01-12 12:31:15 UTC) #37
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/150925)
3 years, 11 months ago (2017-01-12 13:53:32 UTC) #39
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/2611393002/200001
3 years, 11 months ago (2017-01-12 14:09:30 UTC) #42
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/2611393002/220001
3 years, 11 months ago (2017-01-12 15:15:48 UTC) #45
commit-bot: I haz the power
Committed patchset #11 (id:220001) as https://chromium.googlesource.com/chromium/src/+/92651104e939dbe94378a607e7acd381ca394fd3
3 years, 11 months ago (2017-01-12 16:12:47 UTC) #48
Sigurður Ásgeirsson
A revert of this CL (patchset #11 id:220001) has been created in https://codereview.chromium.org/2628863005/ by siggi@chromium.org. ...
3 years, 11 months ago (2017-01-12 18:10:40 UTC) #49
Sigurður Ásgeirsson
Turns out I was only removing one of the unused dir entries. I'm going to ...
3 years, 11 months ago (2017-01-12 21:36:41 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/2611393002/240001
3 years, 11 months ago (2017-01-12 21:37:36 UTC) #54
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 00:20:18 UTC) #57
Message was sent while issue was closed.
Committed patchset #12 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/b0cb5ce73c6171b11cee16e6f512...

Powered by Google App Engine
This is Rietveld 408576698