Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(50)

Issue 194001: Write a memory around the instruction pointer from the crashing thread to the minidump on Linux (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by Ted Mielczarek
Modified:
13 years, 7 months ago
Reviewers:
mochalatte
CC:
google-breakpad-dev_googlegroups.com
Visibility:
Public.

Description

On Windows, MinidumpWriteDump includes a window of memory around
the instruction pointer from the crashing thread in the minidump,
which can be useful for debugging JIT crashes. This patch implements
the same behavior for the Linux dumper.

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M Makefile.am View 1 chunk +7 lines, -2 lines 0 comments Download
M Makefile.in View 1 chunk +7 lines, -3 lines 0 comments Download
M src/client/linux/handler/exception_handler_unittest.cc View 2 chunks +108 lines, -0 lines 1 comment Download
M src/client/linux/minidump_writer/minidump_writer.cc View 9 chunks +91 lines, -2 lines 3 comments Download

Messages

Total messages: 3
Ted Mielczarek
I pretty much always forget --send-mail when I use upload.py.
13 years, 7 months ago #1
mochalatte
LGTM http://breakpad.appspot.com/194001/diff/1/4 File src/client/linux/handler/exception_handler_unittest.cc (right): http://breakpad.appspot.com/194001/diff/1/4#newcode234 Line 234: //TODO(ted): verify contents of memory region if ...
13 years, 7 months ago #2
Ted Mielczarek
13 years, 7 months ago #3
On 2010/09/16 20:50:22, mochalatte wrote:
> LGTM
> 
> http://breakpad.appspot.com/194001/diff/1/4
> File src/client/linux/handler/exception_handler_unittest.cc (right):
> 
> http://breakpad.appspot.com/194001/diff/1/4#newcode234
> Line 234: //TODO(ted): verify contents of memory region
> if verifying the contents is too complicated for this iteration, is it
possible
> to at least do some checks on the size?

I just went ahead and implemented the TODO. I should have done it in the first
place, I was just lazy. (Also I wrote the test first, so just getting that much
to pass required a bunch of work anyway.)

I fixed everything else you mentioned. In case you were wondering, I even tested
it on ARM.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted