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

Issue 2377693002: TerminateProcess if DumpAndCrash called without registration (Closed)

Created:
4 years, 2 months ago by scottmg
Modified:
4 years, 2 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

TerminateProcess if DumpAndCrash called without registration Temporary workaround for linked bug. I think it probably makes more sense for the function to crash anyway, because the caller is not expecting the call to return (esp. if used in a "security"-type crash.) R=mark@chromium.org BUG=634418 Committed: https://crrev.com/90e45dfec4254092f8301c0f1d28c1768e90533f Cr-Commit-Position: refs/heads/master@{#421274}

Patch Set 1 #

Patch Set 2 : self-terminate instead #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M third_party/crashpad/crashpad/client/crashpad_client_win.cc View 1 1 chunk +3 lines, -2 lines 1 comment Download

Messages

Total messages: 20 (11 generated)
scottmg
I haven't reproduced or confirmed if there's any side-effects of this, but it seems reasonable ...
4 years, 2 months ago (2016-09-27 17:02:56 UTC) #1
scottmg
On 2016/09/27 17:02:56, scottmg wrote: > I haven't reproduced or confirmed if there's any side-effects ...
4 years, 2 months ago (2016-09-27 17:05:55 UTC) #4
scottmg
On 2016/09/27 17:05:55, scottmg wrote: > On 2016/09/27 17:02:56, scottmg wrote: > > I haven't ...
4 years, 2 months ago (2016-09-27 17:10:18 UTC) #6
martiniss
lgtm rs-lgtm
4 years, 2 months ago (2016-09-27 17:22:09 UTC) #10
Mark Mentovai
LGTM https://codereview.chromium.org/2377693002/diff/20001/third_party/crashpad/crashpad/client/crashpad_client_win.cc File third_party/crashpad/crashpad/client/crashpad_client_win.cc (right): https://codereview.chromium.org/2377693002/diff/20001/third_party/crashpad/crashpad/client/crashpad_client_win.cc#newcode491 third_party/crashpad/crashpad/client/crashpad_client_win.cc:491: const UINT kCrashUnregistered = 0xffff7003; Seems like maybe ...
4 years, 2 months ago (2016-09-27 18:15:28 UTC) #13
Mark Mentovai
scottmg wrote: > (There's already a 0xffff7001 and a 0xffff7002 for unusual termination codes, > ...
4 years, 2 months ago (2016-09-27 18:17:06 UTC) #14
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/2377693002/20001
4 years, 2 months ago (2016-09-27 18:20:00 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-27 18:25:25 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 18:38:49 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/90e45dfec4254092f8301c0f1d28c1768e90533f
Cr-Commit-Position: refs/heads/master@{#421274}

Powered by Google App Engine
This is Rietveld 408576698