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

Issue 12387018: collect minidump if it chrashes (Closed)

Created:
7 years, 9 months ago by edisonn
Modified:
7 years, 9 months ago
Reviewers:
epoger, borenet, reed1
CC:
skia-review_googlegroups.com, bungeman-skia
Visibility:
Public.

Description

Collect minidump and print callstack if an app chrashes. Committed: https://code.google.com/p/skia/source/detail?r=8044

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 9

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : #

Patch Set 18 : #

Patch Set 19 : #

Patch Set 20 : #

Total comments: 28

Patch Set 21 : #

Patch Set 22 : #

Patch Set 23 : #

Total comments: 13

Patch Set 24 : #

Patch Set 25 : #

Total comments: 6

Patch Set 26 : #

Patch Set 27 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+361 lines, -3 lines) Patch
M gyp/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +7 lines, -0 lines 0 comments Download
M gyp/common_variables.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -0 lines 0 comments Download
M gyp/tools.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +46 lines, -0 lines 0 comments Download
M tools/render_pdfs_main.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 22 23 24 3 chunks +24 lines, -3 lines 0 comments Download
A tools/win_dbghelp.h View 1 chunk +35 lines, -0 lines 0 comments Download
A tools/win_dbghelp.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +247 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
edisonn
Draft CL. I want to print callstack if a crash is happening instead of just ...
7 years, 9 months ago (2013-02-28 16:52:02 UTC) #1
edisonn
https://codereview.chromium.org/12387018/diff/11002/tools/win_dbghelp.cpp File tools/win_dbghelp.cpp (right): https://codereview.chromium.org/12387018/diff/11002/tools/win_dbghelp.cpp#newcode181 tools/win_dbghelp.cpp:181: #ifdef _WIN64 is there a better way to get ...
7 years, 9 months ago (2013-02-28 16:56:23 UTC) #2
edisonn
https://codereview.chromium.org/12387018/diff/11002/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/12387018/diff/11002/gyp/tools.gyp#newcode248 gyp/tools.gyp:248: 'c:/DbgHelp/DbgHelp.lib', q: can gyp set this path from an ...
7 years, 9 months ago (2013-02-28 17:00:48 UTC) #3
epoger
On 2013/02/28 16:52:02, edisonn wrote: > Draft CL. > > I want to print callstack ...
7 years, 9 months ago (2013-02-28 19:00:49 UTC) #4
epoger
P.S. Ben Wagner (now in CC) is pretty knowledgable about both Windows and Gyp issues.
7 years, 9 months ago (2013-02-28 19:01:55 UTC) #5
borenet
I think that this _must_ be opt-in, with a GYP_DEFINE or something. I agree about ...
7 years, 9 months ago (2013-02-28 20:28:18 UTC) #6
epoger
On 2013/02/28 20:28:18, borenet wrote: > I think that this _must_ be opt-in, with a ...
7 years, 9 months ago (2013-02-28 20:40:27 UTC) #7
epoger
Edi wrote on March 4 (didn't get picked up by the codereview): The only point ...
7 years, 9 months ago (2013-03-05 17:25:36 UTC) #8
epoger
> Edi wrote on March 4 (didn't get picked up by the codereview): > > ...
7 years, 9 months ago (2013-03-05 17:28:14 UTC) #9
edisonn
On 2013/02/28 19:00:49, epoger wrote: > On 2013/02/28 16:52:02, edisonn wrote: > > Draft CL. ...
7 years, 9 months ago (2013-03-06 16:44:23 UTC) #10
edisonn
FYI: demo on buildbot It shows the callstack of the issue http://70.32.156.53:10115/builders/Skia_Shuttle_Win7_Intel_Float_Release_32_Trybot/builds/30/steps/RenderPdfs/logs/stdio On 2013/03/06 16:44:23, ...
7 years, 9 months ago (2013-03-06 21:16:18 UTC) #11
epoger
On 2013/03/06 21:16:18, edisonn wrote: > FYI: demo on buildbot > http://70.32.156.53:10115/builders/Skia_Shuttle_Win7_Intel_Float_Release_32_Trybot/builds/30/steps/RenderPdfs/logs/stdio That's very nice! ...
7 years, 9 months ago (2013-03-07 17:05:32 UTC) #12
edisonn
I am still working on the patch, I will send mail when I am ready ...
7 years, 9 months ago (2013-03-07 17:09:43 UTC) #13
edisonn
Please review https://codereview.chromium.org/12387018/diff/11002/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/12387018/diff/11002/gyp/tools.gyp#newcode179 gyp/tools.gyp:179: 'tools.gyp:win_dbghelp', On 2013/02/28 20:28:19, borenet wrote: > ...
7 years, 9 months ago (2013-03-07 19:25:03 UTC) #14
borenet
https://codereview.chromium.org/12387018/diff/59002/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/12387018/diff/59002/gyp/tools.gyp#newcode188 gyp/tools.gyp:188: ['skia_win_debuggers_path != ""', This expression can just be: 'skia_win_debuggers_path', ...
7 years, 9 months ago (2013-03-07 20:22:39 UTC) #15
edisonn
https://codereview.chromium.org/12387018/diff/59002/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/12387018/diff/59002/gyp/tools.gyp#newcode188 gyp/tools.gyp:188: ['skia_win_debuggers_path != ""', On 2013/03/07 20:22:39, borenet wrote: > ...
7 years, 9 months ago (2013-03-07 20:43:42 UTC) #16
epoger
https://codereview.chromium.org/12387018/diff/59002/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/12387018/diff/59002/gyp/tools.gyp#newcode195 gyp/tools.gyp:195: # VS static libraries don't have a linker option. ...
7 years, 9 months ago (2013-03-07 21:09:09 UTC) #17
edisonn
https://codereview.chromium.org/12387018/diff/59002/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/12387018/diff/59002/gyp/tools.gyp#newcode195 gyp/tools.gyp:195: # VS static libraries don't have a linker option. ...
7 years, 9 months ago (2013-03-08 15:50:57 UTC) #18
epoger
LGTM (dunno if Eric still has issues, though...) Thanks for the cleanup! https://codereview.chromium.org/12387018/diff/63003/tools/win_dbghelp.cpp File tools/win_dbghelp.cpp ...
7 years, 9 months ago (2013-03-08 16:12:42 UTC) #19
borenet
LGTM with nits. https://codereview.chromium.org/12387018/diff/63003/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/12387018/diff/63003/gyp/tools.gyp#newcode195 gyp/tools.gyp:195: # VS static libraries don't have ...
7 years, 9 months ago (2013-03-08 16:30:56 UTC) #20
edisonn
https://codereview.chromium.org/12387018/diff/63003/tools/win_dbghelp.cpp File tools/win_dbghelp.cpp (right): https://codereview.chromium.org/12387018/diff/63003/tools/win_dbghelp.cpp#newcode18 tools/win_dbghelp.cpp:18: // e.g. "01234567 01234567 render_pdf!processInput On 2013/03/08 16:12:42, epoger ...
7 years, 9 months ago (2013-03-08 16:44:25 UTC) #21
edisonn
https://codereview.chromium.org/12387018/diff/63003/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/12387018/diff/63003/gyp/tools.gyp#newcode195 gyp/tools.gyp:195: # VS static libraries don't have a linker option. ...
7 years, 9 months ago (2013-03-08 16:49:13 UTC) #22
epoger
https://codereview.chromium.org/12387018/diff/63003/tools/win_dbghelp.cpp File tools/win_dbghelp.cpp (right): https://codereview.chromium.org/12387018/diff/63003/tools/win_dbghelp.cpp#newcode49 tools/win_dbghelp.cpp:49: static void strncpyOrSetBlank(char* dest, const char* src, size_t len) ...
7 years, 9 months ago (2013-03-08 16:52:32 UTC) #23
borenet
https://codereview.chromium.org/12387018/diff/74001/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/12387018/diff/74001/gyp/tools.gyp#newcode198 gyp/tools.gyp:198: 'skia_arch_width == 64', Sorry for continuing to nitpick... can ...
7 years, 9 months ago (2013-03-08 16:59:52 UTC) #24
edisonn
https://codereview.chromium.org/12387018/diff/74001/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/12387018/diff/74001/gyp/tools.gyp#newcode198 gyp/tools.gyp:198: 'skia_arch_width == 64', On 2013/03/08 16:59:52, borenet wrote: > ...
7 years, 9 months ago (2013-03-08 17:05:39 UTC) #25
borenet
https://codereview.chromium.org/12387018/diff/74001/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/12387018/diff/74001/gyp/tools.gyp#newcode198 gyp/tools.gyp:198: 'skia_arch_width == 64', On 2013/03/08 17:05:39, edisonn wrote: > ...
7 years, 9 months ago (2013-03-08 17:11:21 UTC) #26
edisonn
https://codereview.chromium.org/12387018/diff/74001/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/12387018/diff/74001/gyp/tools.gyp#newcode198 gyp/tools.gyp:198: 'skia_arch_width == 64', done; yeah, look better like this ...
7 years, 9 months ago (2013-03-08 17:13:12 UTC) #27
epoger
I think you guys found the best way, and I think you'd better commit this ...
7 years, 9 months ago (2013-03-08 17:32:49 UTC) #28
edisonn
7 years, 9 months ago (2013-03-08 18:00:23 UTC) #29
Message was sent while issue was closed.
Committed patchset #27 manually as r8044 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698