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

Issue 449003: Support generating minidumps from live processes on Linux (Closed)

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

Description

This patch adds two new things to the Linux ExceptionHandler:
1) The ability to write an exception record in on-demand minidumps written using
ExceptionHandler::WriteMinidump.
2) An ExceptionHandler::WriteMinidumpForChild method that can write a useful
minidump for a child process.

Originally filed as https://breakpad.appspot.com/123001/

Patch Set 1 #

Total comments: 4

Patch Set 2 : Updated patch #

Total comments: 6

Patch Set 3 : Updated per review #

Total comments: 9

Patch Set 4 : Updated per review #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/linux/crash_generation/client_info.h View 1 2 3 1 chunk +10 lines, -1 line 0 comments Download
M src/client/linux/crash_generation/crash_generation_server.cc View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M src/client/linux/handler/exception_handler.cc View 1 2 3 2 chunks +34 lines, -1 line 0 comments Download
M src/client/linux/handler/exception_handler.h View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M src/client/linux/handler/exception_handler_unittest.cc View 1 2 3 2 chunks +66 lines, -0 lines 0 comments Download
M src/client/linux/minidump_writer/minidump_writer.cc View 1 2 3 4 chunks +32 lines, -1 line 0 comments Download
M src/client/linux/minidump_writer/minidump_writer.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/google_breakpad/common/minidump_exception_linux.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/processor/minidump_processor.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 18
Ted Mielczarek
11 years, 8 months ago #1
digit
http://breakpad.appspot.com/449003/diff/1/src/client/linux/handler/exception_handler.cc File src/client/linux/handler/exception_handler.cc (right): http://breakpad.appspot.com/449003/diff/1/src/client/linux/handler/exception_handler.cc#newcode567 src/client/linux/handler/exception_handler.cc:567: #elif defined(__ARMEL__) why is this __ARMEL__ instead of __arm__? ...
11 years, 8 months ago #2
Ted Mielczarek
If you'd like to review the rest of this patch feel free. I just spent ...
11 years, 8 months ago #3
Ted Mielczarek
11 years, 8 months ago #4
Ben Chan
http://breakpad.appspot.com/449003/diff/6001/src/client/linux/crash_generation/client_info.h File src/client/linux/crash_generation/client_info.h (right): http://breakpad.appspot.com/449003/diff/6001/src/client/linux/crash_generation/client_info.h#newcode38 src/client/linux/crash_generation/client_info.h:38: pid_t pid() const { return pid_; } with the ...
11 years, 7 months ago #5
Ted Mielczarek
http://breakpad.appspot.com/449003/diff/6001/src/client/linux/crash_generation/client_info.h File src/client/linux/crash_generation/client_info.h (right): http://breakpad.appspot.com/449003/diff/6001/src/client/linux/crash_generation/client_info.h#newcode38 src/client/linux/crash_generation/client_info.h:38: pid_t pid() const { return pid_; } On 2012/09/12 ...
11 years, 7 months ago #6
Mark Mentovai
http://breakpad.appspot.com/449003/diff/6001/src/client/linux/crash_generation/client_info.h File src/client/linux/crash_generation/client_info.h (right): http://breakpad.appspot.com/449003/diff/6001/src/client/linux/crash_generation/client_info.h#newcode1 src/client/linux/crash_generation/client_info.h:1: // Copyright (c) 2010 Google Inc. The change description ...
11 years, 7 months ago #7
Ted Mielczarek
http://breakpad.appspot.com/449003/diff/6001/src/client/linux/handler/exception_handler.h File src/client/linux/handler/exception_handler.h (right): http://breakpad.appspot.com/449003/diff/6001/src/client/linux/handler/exception_handler.h#newcode175 src/client/linux/handler/exception_handler.h:175: void* callback_context); On 2012/09/12 19:04:44, Mark Mentovai wrote: > ...
11 years, 7 months ago #8
Ted Mielczarek
11 years, 7 months ago #9
Ted Mielczarek
This patch addresses Ben's comment as well as removes the proliferation of ExceptionHandler::WriteMinidump methods by ...
11 years, 7 months ago #10
digit
http://breakpad.appspot.com/449003/diff/5003/src/client/linux/crash_generation/client_info.h File src/client/linux/crash_generation/client_info.h (right): http://breakpad.appspot.com/449003/diff/5003/src/client/linux/crash_generation/client_info.h#newcode37 src/client/linux/crash_generation/client_info.h:37: class ClientInfo { shouldn't you use public: below, since ...
11 years, 7 months ago #11
Ted Mielczarek
http://breakpad.appspot.com/449003/diff/5003/src/client/linux/crash_generation/client_info.h File src/client/linux/crash_generation/client_info.h (right): http://breakpad.appspot.com/449003/diff/5003/src/client/linux/crash_generation/client_info.h#newcode37 src/client/linux/crash_generation/client_info.h:37: class ClientInfo { On 2012/09/14 11:55:47, digit wrote: > ...
11 years, 7 months ago #12
Mark Mentovai
http://breakpad.appspot.com/449003/diff/5003/src/client/linux/crash_generation/client_info.h File src/client/linux/crash_generation/client_info.h (right): http://breakpad.appspot.com/449003/diff/5003/src/client/linux/crash_generation/client_info.h#newcode37 src/client/linux/crash_generation/client_info.h:37: class ClientInfo { On 2012/09/14 12:02:36, Ted Mielczarek wrote: ...
11 years, 7 months ago #13
Ted Mielczarek
Thanks for the review. Just one question, I'll fix the rest in a new patch ...
11 years, 7 months ago #14
Mark Mentovai
The only difference is that I can catch things like this written to a POSIXish ...
11 years, 7 months ago #15
Ted Mielczarek
On 2012/09/18 02:54:24, Mark Mentovai wrote: > The only difference is that I can catch ...
11 years, 7 months ago #16
Ted Mielczarek
11 years, 7 months ago #17
Mark Mentovai
11 years, 7 months ago #18
LGTM
Sign in to reply to this message.

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