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

Issue 1387913002: Copy the register context before calling StackWalk64 (Closed)

Created:
5 years, 2 months ago by Reid Kleckner
Modified:
5 years, 2 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Copy the register context before calling StackWalk64 StackWalk64 modifies the register context in place as it unwinds. This makes it so that chained exception filters (think ASan) see the register context after unwinding. They end up printing truncated stack traces, making ClusterFuzz sad. R=jam@chromium.org,ochang@chromium.org BUG=533350 TEST=Manually ran ToolsSanityTest.AddressSanitizerNullDerefCrashTest, verified correct ASan report Committed: https://crrev.com/0565cdd65d0a9ce19097d23b4cd6543943c0e78d Cr-Commit-Position: refs/heads/master@{#352621}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -5 lines) Patch
M base/debug/stack_trace.h View 2 chunks +2 lines, -2 lines 0 comments Download
M base/debug/stack_trace_win.cc View 2 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Reid Kleckner
5 years, 2 months ago (2015-10-05 18:45:27 UTC) #1
Oliver Chang
thanks a lot for fixing this! not an owner, but lgtm.
5 years, 2 months ago (2015-10-05 20:00:07 UTC) #2
jam
On 2015/10/05 20:00:07, Oliver Chang wrote: > thanks a lot for fixing this! > > ...
5 years, 2 months ago (2015-10-05 20:44:01 UTC) #3
Reid Kleckner
On 2015/10/05 20:44:01, jam wrote: > you should look for an owner in base/ (top ...
5 years, 2 months ago (2015-10-05 22:16:19 UTC) #4
jam
On 2015/10/05 22:16:19, Reid Kleckner wrote: > On 2015/10/05 20:44:01, jam wrote: > > you ...
5 years, 2 months ago (2015-10-05 22:45:48 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1387913002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1387913002/1
5 years, 2 months ago (2015-10-05 23:07:06 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-06 03:40:01 UTC) #10
jam
lgtm
5 years, 2 months ago (2015-10-06 14:58:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1387913002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1387913002/1
5 years, 2 months ago (2015-10-06 16:42:44 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 2 months ago (2015-10-06 16:48:38 UTC) #14
commit-bot: I haz the power
5 years, 2 months ago (2015-10-06 16:49:37 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/0565cdd65d0a9ce19097d23b4cd6543943c0e78d
Cr-Commit-Position: refs/heads/master@{#352621}

Powered by Google App Engine
This is Rietveld 408576698