summaryrefslogtreecommitdiff
path: root/init/builtins.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-05-28 10:19:44 -0700
committerTom Cherry <tomcherry@google.com>2019-05-29 08:58:29 -0700
commit59656fb37769b3c0de927c20f8e9f5855a0f7ac3 (patch)
tree29b2b4c79cb6886aef4ed80896db0e8b4b980834 /init/builtins.cpp
parent5f7314b7e1ee607a0aa703dcf3f8febd9123611c (diff)
init: dump stack when aborting
Dump init stacks when aborting either due to LOG(FATAL) or in userdebug/eng builds due to signals, including signals from sanitizers. Doesn't work for static first stage init yet, b/133450393 tracks that. Also, ensure that LOG(FATAL) in child processes calls abort() in all stages of init, not just 2nd stage init. Bug: 131747478 Test: abort init in various ways and see stacks Test: hang or crash in backtrace handler and see child reboot Change-Id: Ib53b5d3e7e814244203f875de016ada9900dfce8
Diffstat (limited to 'init/builtins.cpp')
0 files changed, 0 insertions, 0 deletions