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

Issue 1833123002: Make EXC_BAD_ACCESS / EXC_I386_GPFLT print nicely in the processor (Closed)

Created:
4 years, 9 months ago by Ted Mielczarek
Modified:
4 years, 8 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

Make EXC_BAD_ACCESS / EXC_I386_GPFLT print nicely in the processor Currently EXC_BAD_ACCESS doesn't support EXC_I386_GPFLT as exception_flags for pretty-printing in the processor, but this happens for a lot of things: http://opensource.apple.com/source/xnu/xnu-2050.24.15/osfmk/i386/trap.c (search for EXC_I386_GPFLT). And we get a lot of these in the wild: https://crash-stats.mozilla.com/search/?reason=%3DEXC_BAD_ACCESS+%2F+0x0000000d&cpu_name=amd64&_facets=signature&_facets=address&_columns=date&_columns=signature&_columns=product&_columns=version&_columns=build_id&_columns=platform&_columns=address#crash-reports This patch makes them show up with a nice name instead of the current "EXC_BAD_ACCESS / 0x0000000d". Additionally, this patch fixes some other cases where x86-64 wasn't being handled in the same way as x86, and fixes some x86-specific exception flags to be stringified with I386 in the output. R=mark@chromium.org BUG= Committed: https://chromium.googlesource.com/breakpad/breakpad/+/d091e5103f3a9305b56d5aa9ef18e18306d32786

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated with review comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M src/processor/minidump_processor.cc View 1 5 chunks +17 lines, -1 line 1 comment Download

Messages

Total messages: 12 (4 generated)
Ted Mielczarek
4 years, 9 months ago (2016-03-25 14:46:44 UTC) #1
Mark Mentovai
LGTM otherwise. It’s probably worth implementing some of the other subcodes from the EXC_I386_* family ...
4 years, 9 months ago (2016-03-25 14:52:24 UTC) #2
Ted Mielczarek
In practice this is the only non-stringified value I see in our crash reports: https://crash-stats.mozilla.com/search/?reason=%5EEXC_BAD_ACCESS&cpu_name=amd64&platform=Mac+OS+X&_facets=signature&_facets=address&_facets=reason&_columns=date&_columns=signature&_columns=version&_columns=platform&_columns=address&_columns=reason#facet-reason ...
4 years, 9 months ago (2016-03-25 15:46:44 UTC) #3
Mark Mentovai
Ted Mielczarek wrote: > In practice this is the only non-stringified value I see in ...
4 years, 9 months ago (2016-03-25 16:23:52 UTC) #4
Ted Mielczarek
On 2016/03/25 16:23:52, Mark Mentovai wrote: > I was thinking about codes for exceptions other ...
4 years, 9 months ago (2016-03-25 16:44:34 UTC) #6
Ted Mielczarek
Did you want to give this another once-over with the extra changes or does your ...
4 years, 8 months ago (2016-03-29 12:10:43 UTC) #8
Mark Mentovai
LGTM otherwise https://codereview.chromium.org/1833123002/diff/20001/src/processor/minidump_processor.cc File src/processor/minidump_processor.cc (right): https://codereview.chromium.org/1833123002/diff/20001/src/processor/minidump_processor.cc#newcode818 src/processor/minidump_processor.cc:818: reason.append("EXC_INVTSSFLT"); All of the rest of these ...
4 years, 8 months ago (2016-03-29 15:21:57 UTC) #9
Ted Mielczarek
4 years, 8 months ago (2016-03-29 19:32:52 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
d091e5103f3a9305b56d5aa9ef18e18306d32786 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698