Android11 AMS 死锁问题求助

查看 16|回复 0
作者:honhon   
堆栈信息
"Binder:25407_D" prio=5 tid=42 Blocked
| group="main" sCount=1 dsCount=0 flags=1 obj=0x14341e60 self=0xb4003ffe7f87e3c0
| sysTid=26283 nice=0 cgrp=default sched=0/0 handle=0x3ffc8e189cc0
| state=S schedstat=( 381790950 53211910 2682 ) utm=23 stm=14 core=124 HZ=100
| stack=0x3ffc8e092000-0x3ffc8e094000 stackSize=995KB
| held mutexes=
at com.android.server.wm.ActivityTaskManagerService$LocalService.getTopApp(ActivityTaskManagerService.java:7220)
  • waiting to lock  (a com.android.server.wm.WindowManagerGlobalLock) held by thread 120
    at com.android.server.am.ActivityManagerService.getTopAppLocked(ActivityManagerService.java:17932)
    at com.android.server.am.OomAdjuster.updateOomAdjLocked(OomAdjuster.java:405)
    at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:18176)
    at com.android.server.am.BroadcastQueue.processNextBroadcastLocked(BroadcastQueue.java:1047)
    at com.android.server.am.ActivityManagerService.finishReceiver(ActivityManagerService.java:16870)
  • locked  (a com.android.server.am.ActivityManagerService)
    at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2358)
    at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2880)
    at android.os.Binder.execTransactInternal(Binder.java:1159)
    at android.os.Binder.execTransact(Binder.java:1123)

    "Binder:25407_F" prio=5 tid=120 Blocked
    | group="main" sCount=1 dsCount=0 flags=1 obj=0x13640700 self=0xb4003ffe7f8f9a70
    | sysTid=26998 nice=0 cgrp=default sched=0/0 handle=0x3ffc47078cc0
    | state=S schedstat=( 642065500 59367960 3956 ) utm=39 stm=24 core=118 HZ=100
    | stack=0x3ffc46f81000-0x3ffc46f83000 stackSize=995KB
    | held mutexes=
    at com.android.server.am.ActivityManagerService.checkContentProviderAccess(ActivityManagerService.java:6829)
  • waiting to lock  (a com.android.server.am.ActivityManagerService) held by thread 42
    at com.android.server.am.ActivityManagerService$LocalService.checkContentProviderAccess(ActivityManagerService.java:18962)
    at com.android.server.content.ContentService.registerContentObserver(ContentService.java:352)
    at android.content.IContentService$Stub.onTransact(IContentService.java:482)
    at android.os.Binder.execTransactInternal(Binder.java:1159)
    at android.os.Binder.execTransact(Binder.java:1123)
    at android.os.BinderProxy.transactNative(Native method)
    at android.os.BinderProxy.transact(BinderProxy.java:550)
    at android.app.IActivityController$Stub$Proxy.activityStarting(IActivityController.java:273)
    at com.android.server.wm.ActivityStarter.executeRequest(ActivityStarter.java:1034)
    at com.android.server.wm.ActivityStarter.execute(ActivityStarter.java:669)
  • locked  (a com.android.server.wm.WindowManagerGlobalLock)
    at com.android.server.wm.ActivityTaskManagerService.startActivityAsUser(ActivityTaskManagerService.java:1099)
    at com.android.server.wm.ActivityTaskManagerService.startActivityAsUser(ActivityTaskManagerService.java:1071)
    at com.android.server.wm.ActivityTaskManagerService.startActivity(ActivityTaskManagerService.java:1046)
    at android.app.IActivityTaskManager$Stub.onTransact(IActivityTaskManager.java:1422)
    at android.os.Binder.execTransactInternal(Binder.java:1154)
    at android.os.Binder.execTransact(Binder.java:1123)
  • 您需要登录后才可以回帖 登录 | 立即注册

    返回顶部