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

Issue 2813283002: Add --print_stacktrace_at_api_error. (Closed)

Created:
3 years, 8 months ago by rmacnak
Modified:
3 years, 5 months ago
Reviewers:
Cutch, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add --print_stacktrace_at_api_error. Should be helpful in tracking down flutter/flutter#8612. Prefer stack bounds from pthreads when available to be able to see frames below the Dart entry frame. R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/91da7428f3026386ab30e41396b9221dd07afa2b

Patch Set 1 #

Patch Set 2 : macos #

Patch Set 3 : product #

Patch Set 4 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -15 lines) Patch
M runtime/vm/flag_list.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/profiler.h View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/profiler.cc View 1 2 3 3 chunks +14 lines, -12 lines 1 comment Download
M runtime/vm/thread_pool.cc View 1 chunk +4 lines, -1 line 1 comment Download

Messages

Total messages: 10 (5 generated)
rmacnak
E.g. from ./out/DebugX64/dart --print-stacktrace-at-api-error ./out/ReleaseX64/dart I can see that the bad string happens during loading. ...
3 years, 8 months ago (2017-04-12 20:33:08 UTC) #3
Cutch
LGTM but there is already a function on OSThread that will query the OS for ...
3 years, 8 months ago (2017-04-12 20:36:54 UTC) #4
rmacnak
On 2017/04/12 20:36:54, Cutch wrote: > LGTM but there is already a function on OSThread ...
3 years, 8 months ago (2017-04-12 20:55:13 UTC) #6
rmacnak
Committed patchset #4 (id:60001) manually as 91da7428f3026386ab30e41396b9221dd07afa2b (presubmit successful).
3 years, 8 months ago (2017-04-12 21:09:26 UTC) #8
siva
3 years, 8 months ago (2017-04-13 01:50:19 UTC) #10
Message was sent while issue was closed.
DBC

https://codereview.chromium.org/2813283002/diff/60001/runtime/vm/profiler.cc
File runtime/vm/profiler.cc (right):

https://codereview.chromium.org/2813283002/diff/60001/runtime/vm/profiler.cc#...
runtime/vm/profiler.cc:1000: }
Why is this logic relevant only when for_crash is true. Shouldn't we be avoiding
recursion always.

https://codereview.chromium.org/2813283002/diff/60001/runtime/vm/thread_pool.cc
File runtime/vm/thread_pool.cc (right):

https://codereview.chromium.org/2813283002/diff/60001/runtime/vm/thread_pool....
runtime/vm/thread_pool.cc:453: }
Which situation causes the code inside the 'if' statement to be executed?

Powered by Google App Engine
This is Rietveld 408576698