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

Issue 9965101: Don't crash on stack overflow entering the debugger. (Closed)

Created:
8 years, 8 months ago by danno
Modified:
8 years, 8 months ago
CC:
v8-dev
Visibility:
Public.

Description

Don't crash on stack overflow entering the debugger. R=ager@chromium.org, sgjesse@chromium.org BUG=chromium:119429 TEST= test/mjsunit/regress/regress-119429.js Committed: https://code.google.com/p/v8/source/detail?r=11219

Patch Set 1 #

Patch Set 2 : Fix ReportMessage handling #

Patch Set 3 : Fix location #

Patch Set 4 : Clear exception on stack overflow" #

Total comments: 8

Patch Set 5 : Update test case #

Total comments: 2

Patch Set 6 : review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -6 lines) Patch
M src/debug.cc View 1 2 3 4 5 3 chunks +13 lines, -6 lines 0 comments Download
M src/execution.cc View 2 chunks +10 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-119429.js View 1 2 3 4 5 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
danno
PTAL
8 years, 8 months ago (2012-04-03 13:00:52 UTC) #1
danno
8 years, 8 months ago (2012-04-03 13:04:22 UTC) #2
danno
adding mstarzinger
8 years, 8 months ago (2012-04-03 13:04:50 UTC) #3
Michael Starzinger
LGTM (with comments addressed). http://codereview.chromium.org/9965101/diff/5001/src/debug.cc File src/debug.cc (right): http://codereview.chromium.org/9965101/diff/5001/src/debug.cc#newcode782 src/debug.cc:782: // If a stack overflow ...
8 years, 8 months ago (2012-04-03 13:31:32 UTC) #4
danno
Feedback addressed. http://codereview.chromium.org/9965101/diff/5001/src/debug.cc File src/debug.cc (right): http://codereview.chromium.org/9965101/diff/5001/src/debug.cc#newcode782 src/debug.cc:782: // If a stack overflow happened white ...
8 years, 8 months ago (2012-04-03 13:41:27 UTC) #5
Erik Corry
LGTM but outside my area of expertise.
8 years, 8 months ago (2012-04-03 13:41:35 UTC) #6
Søren Thygesen Gjesse
8 years, 8 months ago (2012-04-03 16:19:57 UTC) #7
LGTM

I once had the idea that we should raise the stack limit when entering the
debugger. That should make it possible to debug when close to the stack limit
and also make it possible to enter the debugger when a stack overflow exception
happens.

Powered by Google App Engine
This is Rietveld 408576698