platform_system_core/debuggerd
Christopher Ferris 49e5a76544 Avoid thread cache in unwinder.
The code in the fallback path calls pthread_key_create when using the
normal thread cache. However, this code is executed out of the linker,
which means that the call doesn't see keys created by the libc version
of pthread_key_create. As of now, simply avoid using the thread cache
to avoid this problem.

Bug: 189803009

Test: debuggerd -b on a media process on a 32 bit Android Go device
Test: and observe no crash.
Test: debuggerd unit tests pass.
Change-Id: I9ca1a55e44d3bb69d49450826d7d64d7a64145c3
2021-06-10 01:24:50 +00:00
..
client debuggerd: store commandline instead of process name. 2021-03-30 12:15:56 -07:00
common/include Reland protobuf tombstones. 2021-01-26 17:55:17 -08:00
crasher Ignore deliberate free() of non-heap memory 2021-03-16 18:16:15 -07:00
handler Avoid thread cache in unwinder. 2021-06-10 01:24:50 +00:00
include/debuggerd Teach debuggerd to pass the secondary ring buffer to __scudo_get_error_info(). 2021-02-12 12:30:52 -08:00
libdebuggerd [MTE] Print cause and alloc/dealloc traces to logcat. 2021-06-03 13:13:15 -07:00
proto Add missing //apex_available:platform to debuggerd 2021-05-12 11:22:55 +01:00
seccomp_policy Allow another prctl call. 2021-04-16 13:35:16 -07:00
tombstoned tombstoned: fix file creation for ANRs. 2021-05-19 17:09:59 -07:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp Re-add backtrace note about unreadable elf. 2021-05-03 15:21:11 -07:00
crash_dump.cpp debuggerd: store commandline instead of process name. 2021-03-30 12:15:56 -07:00
crash_test.cpp Re-add backtrace note about unreadable elf. 2021-05-03 15:21:11 -07:00
debuggerd.cpp debuggerd: add support for Java traces. 2018-06-14 15:40:06 -07:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp [MTE] Print cause and alloc/dealloc traces to logcat. 2021-06-03 13:13:15 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
pbtombstone.cpp Reland protobuf tombstones. 2021-01-26 17:55:17 -08:00
protocol.h Teach debuggerd to pass the secondary ring buffer to __scudo_get_error_info(). 2021-02-12 12:30:52 -08:00
util.cpp debuggerd: store commandline instead of process name. 2021-03-30 12:15:56 -07:00
util.h debuggerd: store commandline instead of process name. 2021-03-30 12:15:56 -07:00