Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 84859cb0 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: detect bad linkToDeath

If linkToDeath is called without any threads listening for binder
transactions, then it may not be served. This is a hard to debug
issue, so adding a log.

Bug: 237730299
Test: boot, and see these logs (they occur in cameraserver which sets
  up the threadpool late. this is not an issue, but the ordering could
  be 'nicer'):

07-12 20:52:26.537   515   515 W BpBinder: Linking to death on android.app.IActivityManager but there are no threads (yet?) listening to incoming transactions. See ProcessState::startThreadPool and ProcessState::setThreadPoolMaxThreadCount. Generally you should setup the binder threadpool before other initialization steps.
07-12 20:52:26.673   515   515 W BpBinder: Linking to death on android.hardware.ISensorPrivacyManager but there are no threads (yet?) listening to incoming transactions. See ProcessState::startThreadPool and ProcessState::setThreadPoolMaxThreadCount. Generally you should setup the binder threadpool before other initialization steps.

Change-Id: I8c2bb308f4bd479000e644a785d8c27341ad496a
parent b763b149
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment