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

Issue 2514113002: Dump stack trace on segfault in the VM. (Closed)

Created:
4 years, 1 month ago by Florian Schneider
Modified:
4 years ago
Reviewers:
rmacnak, siva, kustermann
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Dump stack trace on segfault in the VM. Install a signal handler in the standalone VM that dumps a backtrace similar to what we already do on assertion failures. For now only Linux and MacOS are supported. BUG= R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/6cd141def5c02a949d1d9f6e3f7576678f510b93

Patch Set 1 #

Patch Set 2 : Merge and fix MacOS. #

Patch Set 3 : clean up #

Patch Set 4 : rebased #

Patch Set 5 : fix build #

Total comments: 2

Patch Set 6 : merge #

Patch Set 7 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -6 lines) Patch
M runtime/bin/platform_linux.cc View 2 chunks +21 lines, -0 lines 0 comments Download
M runtime/bin/platform_macos.cc View 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M runtime/include/dart_api.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/profiler.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/profiler.cc View 1 2 3 4 5 2 chunks +29 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Florian Schneider
4 years, 1 month ago (2016-11-19 01:20:54 UTC) #2
kustermann
I would prefer if we don't land this CL. Due to the recent questions about ...
4 years, 1 month ago (2016-11-19 11:14:35 UTC) #4
siva
On 2016/11/19 11:14:35, kustermann wrote: > I would prefer if we don't land this CL. ...
4 years ago (2016-11-21 02:35:06 UTC) #5
kustermann
> We are trying to figure out the cause for some random SEGVs in google3 ...
4 years ago (2016-11-21 15:46:21 UTC) #6
siva
lgtm https://codereview.chromium.org/2514113002/diff/70001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/2514113002/diff/70001/runtime/include/dart_api.h#newcode3241 runtime/include/dart_api.h:3241: * Print a stack trace. Used for crash ...
4 years ago (2016-11-22 06:28:32 UTC) #7
Florian Schneider
https://codereview.chromium.org/2514113002/diff/70001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/2514113002/diff/70001/runtime/include/dart_api.h#newcode3241 runtime/include/dart_api.h:3241: * Print a stack trace. Used for crash handling. ...
4 years ago (2016-11-23 18:27:08 UTC) #8
Florian Schneider
https://codereview.chromium.org/2514113002/diff/70001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/2514113002/diff/70001/runtime/include/dart_api.h#newcode3241 runtime/include/dart_api.h:3241: * Print a stack trace. Used for crash handling. ...
4 years ago (2016-11-23 18:27:08 UTC) #9
Florian Schneider
4 years ago (2016-11-23 18:29:12 UTC) #11
Message was sent while issue was closed.
Committed patchset #7 (id:110001) manually as
6cd141def5c02a949d1d9f6e3f7576678f510b93 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698