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

Issue 1650713002: Added a switch to dump minidump modules in minidump_stackwalk. (Closed)

Created:
4 years, 10 months ago by Lei Zhang
Modified:
4 years, 10 months ago
Reviewers:
David Yen
CC:
google-breakpad-dev_googlegroups.com
Base URL:
https://chromium.googlesource.com/breakpad/breakpad.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Added a switch to dump minidump modules in minidump_stackwalk. In order to figure out what symbols we need associated to a minidump, it is useful to be able to dump all the modules the minidump contains. A=dyen@chromium.org Original Review: https://codereview.chromium.org/1651593002/ BUG=563716 R=dyen@chromium.org Committed: https://chromium.googlesource.com/breakpad/breakpad/+/cb936a0243c97ae9cd2d4bb19d95dde0421fed6d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -5 lines) Patch
M src/processor/minidump_stackwalk.cc View 6 chunks +20 lines, -5 lines 0 comments Download
M src/processor/stackwalk_common.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/processor/stackwalk_common.cc View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
Lei Zhang
4 years, 10 months ago (2016-01-29 21:55:12 UTC) #2
David Yen
lgtm
4 years, 10 months ago (2016-01-29 21:56:02 UTC) #3
Lei Zhang
Committed patchset #1 (id:1) manually as cb936a0243c97ae9cd2d4bb19d95dde0421fed6d (presubmit successful).
4 years, 10 months ago (2016-01-29 21:59:21 UTC) #5
Ted Mielczarek
I wonder if it makes sense to shoehorn this into minidump_stackwalk, or if it wouldn't ...
4 years, 10 months ago (2016-02-01 14:23:53 UTC) #6
Lei Zhang
On 2016/02/01 14:23:53, Ted Mielczarek wrote: > I wonder if it makes sense to shoehorn ...
4 years, 10 months ago (2016-02-01 18:46:52 UTC) #7
David Yen
On 2016/02/01 18:46:52, Lei Zhang wrote: > On 2016/02/01 14:23:53, Ted Mielczarek wrote: > > ...
4 years, 10 months ago (2016-02-01 19:20:37 UTC) #8
Ted Mielczarek
Somewhat related, I worked around this problem in our production crash reporting system by making ...
4 years, 10 months ago (2016-02-01 19:55:34 UTC) #9
Lei Zhang
On 2016/02/01 19:20:37, David Yen wrote: > On 2016/02/01 18:46:52, Lei Zhang wrote: > > ...
4 years, 10 months ago (2016-02-03 02:41:53 UTC) #10
Lei Zhang
On 2016/02/01 19:55:34, Ted Mielczarek wrote: > Somewhat related, I worked around this problem in ...
4 years, 10 months ago (2016-02-03 02:42:20 UTC) #11
Ted Mielczarek
On 2016/02/03 02:42:20, Lei Zhang wrote: > Neat. Any interest in upstreaming it? Not sure ...
4 years, 10 months ago (2016-02-03 13:58:11 UTC) #12
Lei Zhang
4 years, 10 months ago (2016-02-04 23:26:37 UTC) #13
Message was sent while issue was closed.
On 2016/02/03 13:58:11, Ted Mielczarek wrote:
> On 2016/02/03 02:42:20, Lei Zhang wrote:
> > Neat. Any interest in upstreaming it? Not sure how big of a JSON library we
> have
> > to pull in.
> 
> It's three actual source files and handful of headers:
> https://github.com/mozilla/socorro/blob/master/minidump-stackwalk/Makefile#L21
>
https://github.com/mozilla/socorro/tree/master/minidump-stackwalk/jsoncpp-src...
>
https://github.com/mozilla/socorro/tree/master/minidump-stackwalk/jsoncpp-src...

Should be fine. We can pull in jsoncpp from
https://chromium.googlesource.com/external/github.com/open-source-parsers/jso...
via DEPS for standalone Breakpad. Chromium already pulls in jsoncpp as well.

> If you think it'd be useful to others I could figure out how to upstream it.
The
> implementation we're using has some Mozilla-specific bits, but we could likely
> factor that out so that it's reusable.

Seems generally useful, and less code for you to maintain in your branch. If you
have the time, please give it a try.

Powered by Google App Engine
This is Rietveld 408576698