android_system_core/debuggerd
Elliott Hughes a029d98ad0 crash_dump: avoid misleading error messages.
I'm guessing that the original

  F crash_dump64: crash_dump.cpp:460] failed to attach to thread 1671, already traced by 0 ()

was probably a race, where there _was_ a tracer but they disappeared?
Whatever, it doesn't seem helpful to show "already traced by nobody",
and we also don't want to clobber errno in the fallthrough case
(previously just where get_tracer() failed, but now also where
get_tracer() returns "nobody").

Bug: http://b/188668580
Test: treehugger
Change-Id: I3fa3b4f7e32531d48dfbb0ef946ff351ed5d9171
2021-06-21 12:39:40 -07: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-14 19:57:33 +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-01 18:12:22 -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-18 16:20:00 -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 crash_dump: avoid misleading error messages. 2021-06-21 12:39:40 -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-01 18:12:22 -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