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

Issue 2692123005: Fix stack walking to notice if the frame is obviously not valid. (Closed)

Created:
3 years, 10 months ago by erikchen
Modified:
3 years, 10 months ago
Reviewers:
Mark Mentovai, Wez
CC:
chromium-reviews, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix stack walking to notice if the frame is obviously not valid. If the PC is too small, the frame can't be valid. BUG=677302 Review-Url: https://codereview.chromium.org/2692123005 Cr-Commit-Position: refs/heads/master@{#451355} Committed: https://chromium.googlesource.com/chromium/src/+/f51b7d1a5db6ae289736b84622494086c54cd49a

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comments from wez. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M base/debug/stack_trace.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 43 (25 generated)
erikchen
mark: Please review. I wrote a test to test the obvious thing [all frames > ...
3 years, 10 months ago (2017-02-15 20:26:59 UTC) #5
Mark Mentovai
LGTM https://codereview.chromium.org/2692123005/diff/1/base/debug/stack_trace.cc File base/debug/stack_trace.cc (right): https://codereview.chromium.org/2692123005/diff/1/base/debug/stack_trace.cc#newcode115 base/debug/stack_trace.cc:115: if (GetStackFramePC(fp) < 32768) You could go even ...
3 years, 10 months ago (2017-02-15 21:05:57 UTC) #6
erikchen
https://codereview.chromium.org/2692123005/diff/1/base/debug/stack_trace.cc File base/debug/stack_trace.cc (right): https://codereview.chromium.org/2692123005/diff/1/base/debug/stack_trace.cc#newcode115 base/debug/stack_trace.cc:115: if (GetStackFramePC(fp) < 32768) On 2017/02/15 21:05:57, Mark Mentovai ...
3 years, 10 months ago (2017-02-15 21:52:45 UTC) #7
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/2692123005/1
3 years, 10 months ago (2017-02-15 21:53:17 UTC) #10
Wez
https://codereview.chromium.org/2692123005/diff/1/base/debug/stack_trace.cc File base/debug/stack_trace.cc (right): https://codereview.chromium.org/2692123005/diff/1/base/debug/stack_trace.cc#newcode115 base/debug/stack_trace.cc:115: if (GetStackFramePC(fp) < 32768) On 2017/02/15 21:52:45, erikchen wrote: ...
3 years, 10 months ago (2017-02-15 22:38:22 UTC) #12
erikchen
https://codereview.chromium.org/2692123005/diff/1/base/debug/stack_trace.cc File base/debug/stack_trace.cc (right): https://codereview.chromium.org/2692123005/diff/1/base/debug/stack_trace.cc#newcode115 base/debug/stack_trace.cc:115: if (GetStackFramePC(fp) < 32768) On 2017/02/15 22:38:22, Wez wrote: ...
3 years, 10 months ago (2017-02-15 22:52:24 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/2692123005/20001
3 years, 10 months ago (2017-02-15 22:53:36 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/119969)
3 years, 10 months ago (2017-02-16 00:37:14 UTC) #19
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/2692123005/20001
3 years, 10 months ago (2017-02-16 18:18:10 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/120676)
3 years, 10 months ago (2017-02-16 19:43:37 UTC) #23
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/2692123005/20001
3 years, 10 months ago (2017-02-17 01:31:26 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_tsan_rel_ng on ...
3 years, 10 months ago (2017-02-17 03:36:22 UTC) #27
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/2692123005/20001
3 years, 10 months ago (2017-02-17 03:39:54 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-17 04:48:30 UTC) #31
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/2692123005/20001
3 years, 10 months ago (2017-02-17 19:05:51 UTC) #33
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/f51b7d1a5db6ae289736b84622494086c54cd49a
3 years, 10 months ago (2017-02-17 19:48:54 UTC) #36
vabr (Chromium)
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2704933004/ by vabr@chromium.org. ...
3 years, 10 months ago (2017-02-20 13:21:03 UTC) #37
commit-bot: I haz the power
3 years, 10 months ago (2017-02-21 18:20:32 UTC) #41

Powered by Google App Engine
This is Rietveld 408576698