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

Issue 2160373002: Add new exception code for OOM generated from Chromium. (Closed)

Created:
4 years, 5 months ago by Will Harris
Modified:
4 years, 5 months ago
Reviewers:
Mark Mentovai
CC:
google-breakpad-dev_googlegroups.com
Base URL:
https://chromium.googlesource.com/breakpad/breakpad.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add new exception code for OOM generated from Chromium. See also https://codereview.chromium.org/2130293003/ for Chromium-side change and go/internal_cl_for_2130293003 for internal change. BUG=chromium:614440 R=mark@chromium.org Committed: https://chromium.googlesource.com/breakpad/breakpad/+/c99d374dde62654a024840accfb357b2851daea0

Patch Set 1 #

Total comments: 4

Patch Set 2 : add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M src/google_breakpad/common/minidump_exception_win32.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/processor/minidump_processor.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Will Harris
PTAL?
4 years, 5 months ago (2016-07-19 20:22:26 UTC) #4
Mark Mentovai
LGTM otherwise https://codereview.chromium.org/2160373002/diff/1/src/google_breakpad/common/minidump_exception_win32.h File src/google_breakpad/common/minidump_exception_win32.h (right): https://codereview.chromium.org/2160373002/diff/1/src/google_breakpad/common/minidump_exception_win32.h#newcode104 src/google_breakpad/common/minidump_exception_win32.h:104: /* Exception thrown by Chromium allocators to ...
4 years, 5 months ago (2016-07-19 20:30:50 UTC) #5
Will Harris
Thanks for reviews. https://codereview.chromium.org/2160373002/diff/1/src/google_breakpad/common/minidump_exception_win32.h File src/google_breakpad/common/minidump_exception_win32.h (right): https://codereview.chromium.org/2160373002/diff/1/src/google_breakpad/common/minidump_exception_win32.h#newcode104 src/google_breakpad/common/minidump_exception_win32.h:104: /* Exception thrown by Chromium allocators ...
4 years, 5 months ago (2016-07-19 21:30:35 UTC) #6
Mark Mentovai
LGTM
4 years, 5 months ago (2016-07-19 21:32:23 UTC) #7
Will Harris
Committed patchset #2 (id:20001) manually as c99d374dde62654a024840accfb357b2851daea0 (presubmit successful).
4 years, 5 months ago (2016-07-19 21:42:01 UTC) #9
Ted Mielczarek
Not really relevant to this patch, but to the Chromium changes it's handling--had you considered ...
4 years, 5 months ago (2016-07-20 16:14:43 UTC) #10
Will Harris
4 years, 5 months ago (2016-07-20 16:17:25 UTC) #11
Message was sent while issue was closed.
On 2016/07/20 16:14:43, Ted Mielczarek wrote:
> Not really relevant to this patch, but to the Chromium changes it's
> handling--had you considered stuffing the allocation size into the exception
> arguments? I think it'd just be a matter of passing 1 and a pointer to the
> allocation size as the last two parameters to `RaiseException`, and presumably
> we'd then be able to pull it out of the `MDException` in the processor.

that's a really cool idea, especially as our crash processors can parse out the
exception arguments... I will take a look.

Powered by Google App Engine
This is Rietveld 408576698