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

Issue 2245603002: Handle missing context when getting frame details (Closed)

Created:
4 years, 4 months ago by jgruber
Modified:
4 years, 4 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Handle missing context when getting frame details This bug was triggered by a very specific combination: * A context-allocated variable at script scope. * OSR optimization. * A scheduled breakpoint, which triggers at stack checks. Stack checks differ from other possible breakpoint locations in that the context (among other things) may be in a register and not on the stack, making it impossible to recover during deoptimization. The frame_inspector then returns undefined when asked for the context. In GetFrameDetails, handle this case by omitting all context-allocated variables. BUG=v8:5279 Committed: https://crrev.com/d25280801118b0a999b87acd6cf8f87a277b666d Cr-Commit-Position: refs/heads/master@{#38611}

Patch Set 1 #

Patch Set 2 : Correctly set local_count #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -4 lines) Patch
M src/runtime/runtime-debug.cc View 1 2 chunks +9 lines, -4 lines 0 comments Download
A test/mjsunit/regress/regress-5279.js View 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (14 generated)
jgruber
4 years, 4 months ago (2016-08-12 09:43:36 UTC) #4
Yang
lgtm
4 years, 4 months ago (2016-08-12 10:25:38 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/2245603002/20001
4 years, 4 months ago (2016-08-12 11:17:57 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-12 11:20:04 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 11:20:27 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d25280801118b0a999b87acd6cf8f87a277b666d
Cr-Commit-Position: refs/heads/master@{#38611}

Powered by Google App Engine
This is Rietveld 408576698