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

Issue 2552753002: Do not generate a microdump if there are no webview pointers on the stack. (Closed)

Created:
4 years ago by Tobias Sargeant
Modified:
4 years ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, android-webview-reviews_chromium.org, sadrul, kalyank
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not generate a microdump if there are no webview pointers on the stack. To determine the webview text section address range, we use the linker defines symbols __executable_start and __etext. These are passed to breakpad in the microdump extra info struct, causing it to not generate a microdump if the stack of the crashing thread does not contain a pointer into this region. BUG=664460 Committed: https://crrev.com/19f0a50c6eab29917f459557b10cafc70428a4a2 Committed: https://crrev.com/aca68a011a9fd116972e329871f67c73ca8ca389 Cr-Original-Commit-Position: refs/heads/master@{#437003} Cr-Commit-Position: refs/heads/master@{#437234}

Patch Set 1 #

Patch Set 2 : set suppression flag #

Total comments: 12

Patch Set 3 : Address review comments #

Total comments: 2

Patch Set 4 : Address #11 comments #

Total comments: 2

Patch Set 5 : oops #

Patch Set 6 : fix mipsel linker error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -8 lines) Patch
M android_webview/crash_reporter/aw_microdump_crash_reporter.h View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/crash_reporter/aw_microdump_crash_reporter.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M android_webview/lib/main/aw_main_delegate.cc View 1 2 3 4 5 2 chunks +24 lines, -1 line 0 comments Download
M components/crash/content/app/breakpad_linux.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M components/crash/content/app/breakpad_linux.cc View 1 2 6 chunks +40 lines, -7 lines 0 comments Download

Messages

Total messages: 32 (15 generated)
Tobias Sargeant
4 years ago (2016-12-05 15:09:48 UTC) #4
Torne
https://codereview.chromium.org/2552753002/diff/20001/DEPS File DEPS (right): https://codereview.chromium.org/2552753002/diff/20001/DEPS#newcode119 DEPS:119: Var('chromium_git') + '/breakpad/breakpad/src.git' + '@' + '4530732f83f9a9c61a1419184e24416766d5bbc6', If you're ...
4 years ago (2016-12-05 15:19:32 UTC) #5
Robert Sesek
https://codereview.chromium.org/2552753002/diff/20001/DEPS File DEPS (right): https://codereview.chromium.org/2552753002/diff/20001/DEPS#newcode119 DEPS:119: Var('chromium_git') + '/breakpad/breakpad/src.git' + '@' + '4530732f83f9a9c61a1419184e24416766d5bbc6', On 2016/12/05 ...
4 years ago (2016-12-05 16:19:19 UTC) #8
Tobias Sargeant
https://codereview.chromium.org/2552753002/diff/20001/android_webview/lib/main/aw_main_delegate.cc File android_webview/lib/main/aw_main_delegate.cc (right): https://codereview.chromium.org/2552753002/diff/20001/android_webview/lib/main/aw_main_delegate.cc#newcode49 android_webview/lib/main/aw_main_delegate.cc:49: extern char __executable_start; On 2016/12/05 15:19:31, Torne wrote: > ...
4 years ago (2016-12-06 16:48:33 UTC) #9
Robert Sesek
LGTM
4 years ago (2016-12-06 17:14:51 UTC) #10
Primiano Tucci (use gerrit)
LGTM with a micro comment. Also I think you want to #if defined(COMPONENT_BUILD) to make ...
4 years ago (2016-12-06 18:18:13 UTC) #11
Primiano Tucci (use gerrit)
On 2016/12/06 18:18:13, Primiano Tucci wrote: > LGTM with a micro comment. > Also I ...
4 years ago (2016-12-06 18:27:15 UTC) #12
Torne
LGTM except for one comment that I think means it doesn't compile ;) https://codereview.chromium.org/2552753002/diff/60001/android_webview/crash_reporter/aw_microdump_crash_reporter.cc File ...
4 years ago (2016-12-07 15:24:54 UTC) #13
Tobias Sargeant
https://codereview.chromium.org/2552753002/diff/60001/android_webview/crash_reporter/aw_microdump_crash_reporter.cc File android_webview/crash_reporter/aw_microdump_crash_reporter.cc (right): https://codereview.chromium.org/2552753002/diff/60001/android_webview/crash_reporter/aw_microdump_crash_reporter.cc#newcode158 android_webview/crash_reporter/aw_microdump_crash_reporter.cc:158: breakpad::SetWebViewTextAddrRange(start, end); On 2016/12/07 15:24:54, Torne wrote: > I ...
4 years ago (2016-12-07 16:31:16 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2552753002/80001
4 years ago (2016-12-07 16:45:49 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-07 18:05:14 UTC) #19
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/19f0a50c6eab29917f459557b10cafc70428a4a2 Cr-Commit-Position: refs/heads/master@{#437003}
4 years ago (2016-12-07 18:09:04 UTC) #21
the real yoland
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2557143002/ by yolandyan@chromium.org. ...
4 years ago (2016-12-07 21:11:08 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2552753002/100001
4 years ago (2016-12-08 12:22:34 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-08 13:25:40 UTC) #29
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/aca68a011a9fd116972e329871f67c73ca8ca389 Cr-Commit-Position: refs/heads/master@{#437234}
4 years ago (2016-12-08 13:27:36 UTC) #31
Tobias Sargeant
4 years ago (2016-12-13 12:24:16 UTC) #32
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/2565353004/ by tobiasjs@chromium.org.

The reason for reverting is: Revert in preparation for modifying breakpad to
infer the interest region from mappings rather than being explicitly informed..

Powered by Google App Engine
This is Rietveld 408576698