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

Issue 1709383002: Improve behaviour when we hit a stack overflow / OOM error (Closed)

Created:
4 years, 10 months ago by Cutch
Modified:
4 years, 9 months ago
Reviewers:
rmacnak
CC:
reviews_dartlang.org, turnidge, rmacnak, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Improve behaviour when we hit a stack overflow / OOM error Fixes #25815 VM changes: - Don't crash in SignalExceptionThrown when we have no stack frames. - Notify the debugger about an unhandled stack overflow / OOM *after* setting the sticky error. This allows Observatory to display it. - When pausing without a debugger attached, print the sticky error if one is set. - Improve stack trace frame numbers when printing for a stack overflow. Observatory changes: - Report the sticky error for pause at unhandled exception as well as exit. - Let the user know that we cannot pause for unhandled stack overflow / OOM exceptions. - Don't show the "at <func> (<script location>)" string in the isolate summary, if we don't have a top frame. R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/b482480b65214babf4e2a332eca5f23a3324001c

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -34 lines) Patch
M runtime/observatory/lib/src/elements/debugger.dart View 1 2 3 chunks +25 lines, -8 lines 0 comments Download
M runtime/observatory/lib/src/elements/isolate_summary.html View 1 chunk +7 lines, -5 lines 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 2 3 chunks +26 lines, -0 lines 0 comments Download
M runtime/vm/debugger.cc View 1 4 chunks +8 lines, -5 lines 0 comments Download
M runtime/vm/exceptions.cc View 1 2 3 chunks +10 lines, -1 line 0 comments Download
M runtime/vm/isolate.cc View 1 2 2 chunks +15 lines, -14 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/service.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Cutch
4 years, 10 months ago (2016-02-19 01:06:52 UTC) #3
rmacnak
lgtm w/c https://chromiumcodereview.appspot.com/1709383002/diff/20001/runtime/observatory/lib/src/elements/debugger.dart File runtime/observatory/lib/src/elements/debugger.dart (right): https://chromiumcodereview.appspot.com/1709383002/diff/20001/runtime/observatory/lib/src/elements/debugger.dart#newcode1514 runtime/observatory/lib/src/elements/debugger.dart:1514: 'memory therefor the isolate cannot be paused.'); ...
4 years, 10 months ago (2016-02-22 17:55:27 UTC) #5
Cutch
+ Improve stack trace frame numbers when printing for a stack overflow. PTAL https://codereview.chromium.org/1709383002/diff/20001/runtime/observatory/lib/src/elements/debugger.dart File ...
4 years, 10 months ago (2016-02-22 18:38:17 UTC) #7
rmacnak
lgtm w/nit https://codereview.chromium.org/1709383002/diff/40001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/1709383002/diff/40001/runtime/vm/object.cc#newcode21082 runtime/vm/object.cc:21082: // Check if null function object indicates ...
4 years, 10 months ago (2016-02-22 18:59:12 UTC) #8
Cutch
https://codereview.chromium.org/1709383002/diff/40001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/1709383002/diff/40001/runtime/vm/object.cc#newcode21082 runtime/vm/object.cc:21082: // Check if null function object indicates a gap ...
4 years, 10 months ago (2016-02-22 19:01:00 UTC) #9
Cutch
4 years, 9 months ago (2016-02-25 15:33:08 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
b482480b65214babf4e2a332eca5f23a3324001c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698