android_system_core/debuggerd/handler
Christopher Ferris 0c787f0d6b 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
(cherry picked from commit 49e5a76544)
2021-06-14 19:57:33 +00:00
..
debuggerd_fallback.cpp Avoid thread cache in unwinder. 2021-06-14 19:57:33 +00:00
debuggerd_fallback_nop.cpp
debuggerd_handler.cpp debuggerd: prepare to abandon ship^Wgdb. 2021-03-17 10:03:25 -07:00
fallback.h Fix multithreaded backtraces for seccomp processes. 2018-09-12 18:12:13 -07:00