History log of /system/core/debuggerd/client/debuggerd_client.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a1c9e943c0687a2fd1195033824d22600abbd51e 01-Jun-2017 Josh Gao <jmgao@google.com> debuggerd_client: increase pipe buffer size to max.

If a process tries to dump itself (e.g. system_server during ANRs),
crash_dump will block trying to write to its pipe if it's not
sufficiently large. Increase the pipe size to the max, and add a test
to make sure that it's always at least 1MB (the default value).

Bug: http://b/38427757
Test: debuggerd_test
Merged-In: Iddb0cb1e5ce9e687efa9e94c2748a1edfe09f119
Change-Id: Iddb0cb1e5ce9e687efa9e94c2748a1edfe09f119
(cherry picked from commit 5675f3c321b7c6a9bbb2a7aacf18a01126f2f2cb)
/system/core/debuggerd/client/debuggerd_client.cpp
e9a2f8ee8b6ba2e3892ed45a2895afe6778715b5 04-Apr-2017 Josh Gao <jmgao@google.com> debuggerd_client: fix infinite timeouts.

Bug: http://b/36897117
Test: debuggerd_test
Test: debuggerd -b `pidof zygote`
Change-Id: I743433bc420b1c433b82ef62795abb6ea9f5d840
(cherry picked from commit 287d50dc590cc00642783476d33e569066c0fcca)
/system/core/debuggerd/client/debuggerd_client.cpp
df8cb05498a510f5bff5b2eb7bd704e77bf5664e 31-Mar-2017 Josh Gao <jmgao@google.com> tombstoned: fix a race between intercept and crash_dump.

Previously, there was no way to detect when tombstoned processed an
intercept request packet, making it possible for a intercept request
followed by a crash_dump being processed in the wrong order.

Add a response to intercept registration, to eliminate this race.

Test: debuggerd_test
Change-Id: If38c6d14081ebc86ff1ed0edd7afaeafc40a8381
(cherry picked from commit 460b336d6a05a8527633ab5c4509988ebb18ed30)
/system/core/debuggerd/client/debuggerd_client.cpp
ae9d7676a50875a58742797ac79b597017d492e8 25-Mar-2017 Josh Gao <jmgao@google.com> debuggerd_client: properly wait for completion.

Use an intermediate pipe to detect and report when a requested dump has
completed.

Bug: http://b/35241370
Bug: http://b/35813071
Test: debuggerd_test
Test: manually triggered a background ANR
Change-Id: If14aedf6071288360f1a7853d5a2ee79db121759
/system/core/debuggerd/client/debuggerd_client.cpp
981761bbb25738b7ced9ed44e7ed88250a985fd1 01-Mar-2017 Josh Gao <jmgao@google.com> debuggerd: remove obsolete dumpable check.

PR_SET_DUMPABLE is ignored now.

Bug: http://b/35872161
Test: debuggerd -b `pidof surfaceflinger`
Change-Id: Iefd090f2b762d454d1e6ce8061ff5f992974267c
/system/core/debuggerd/client/debuggerd_client.cpp
cbe70cb0a8cb0171f3802273050e851a47b090ed 19-Oct-2016 Josh Gao <jmgao@google.com> debuggerd: advance our amazing bet.

Remove debuggerd in favor of a helper process that gets execed by
crashing processes.

Bug: http://b/30705528
Test: debuggerd_test
Change-Id: I9906c69473989cbf7fe5ea6cccf9a9c563d75906
/system/core/debuggerd/client/debuggerd_client.cpp
218f7fb68e219884f6eec9714afb4da691450bc5 08-Oct-2016 Josh Gao <jmgao@google.com> debuggerd: report crashes even when out of file descriptors.

Use nasty clone hacks to let us close random file descriptors to be
able to connect to debuggerd when the fd table is full.

Bug: http://b/32013594
Test: crasher exhaustfd-SIGSEGV
Change-Id: I47772e9a5994da4473bd935b105d9c36827c017a
/system/core/debuggerd/client/debuggerd_client.cpp
6fff551728f75e35b69bd59f2bc722a72d5c6d61 03-Sep-2016 Elliott Hughes <enh@google.com> Teach debuggerd about SIGSYS SYS_SECCOMP signals.

These should be easier to interpret.

Bug: http://b/31171101
Change-Id: I362361d218390ab2306f86976172f8365b26b6ef
/system/core/debuggerd/client/debuggerd_client.cpp
a04c80255c29a57f63f123f10e15f3887a896cac 11-Aug-2016 Josh Gao <jmgao@google.com> debuggerd: remove unnecessary arguments.

These were previously required when bionic used tgkill to reraise
signals, but now that we use rt_tgsigqueueinfo to reraise signals, they
are no longer necessary.

Change-Id: I46ba9f14039a727d0a2c4c3a9d93a3532ba8f263
/system/core/debuggerd/client/debuggerd_client.cpp
9c02dc5916c1cee43e4a0840d0d5099878e3793c 16-Jun-2016 Josh Gao <jmgao@google.com> debuggerd: add libdebuggerd_client.

Bug: http://b/24414818
Change-Id: I079c534d2c952b6975bf0428eb86cc7a55525737
/system/core/debuggerd/client/debuggerd_client.cpp