Android Binder IPC Debugging
Binder is the dependency graph of Android in motion. A failed transaction might mean oversized data, dead service, buffer pressure or a server that is alive but blocked.
01
DeadObjectException: find the death first
The client error is secondary if the target process crashed or was killed. Correlate with tombstones, Java crash records and lmkd before changing client retry logic.
02
TransactionTooLargeException: reduce the payload
Large Bundles, saved state or binder payloads can fail even when both processes are healthy. Identify the object size/path rather than adding blind retries.
03
ANR plus binder failure needs server-side stacks
If clients wait on a server whose binder pool is blocked, inspect server threads, locks, I/O and memory pressure. The client stack only shows where it waited.