[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] 小学生414:
micro-0314 and nano-0226, both have this problem. tks.

Not only gapps but also normal apps such as WeChat have this problem too.:(

its always cause system crash and make display black with backlight on, seems like soft rebooting.

---------- Post added at 02:24 AM ---------- Previous post was at 02:06 AM ----------

more stack traces of broken:

03-13 12:19:16.525 1190 1232 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: PackageManager
03-13 12:19:16.525 1190 1232 E AndroidRuntime: java.lang.IllegalStateException: Bringing down ServiceRecord{8e1d651 u0 com.tencent.mm/.ipcinvoker.wx_extension.service.MainProcessIPCService} but actually running ServiceRecord{564b574 u0 com.tencent.mm/.ipcinvoker.wx_extension.service.MainProcessIPCService}
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.am.ActiveServices.bringDownServiceLocked(ActiveServices.java:2820)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.am.ActiveServices.bringDownServiceIfNeededLocked(ActiveServices.java:2730)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.am.ActiveServices.removeConnectionLocked(ActiveServices.java:2991)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.am.ActiveServices.killServicesLocked(ActiveServices.java:3377)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.am.ActivityManagerService.cleanUpApplicationRecordLocked(ActivityManagerService.java:20469)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.am.ActivityManagerService.handleAppDiedLocked(ActivityManagerService.java:6062)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.am.ActivityManagerService.removeProcessLocked(ActivityManagerService.java:7677)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.am.ActivityManagerService.killPackageProcessesLocked(ActivityManagerService.java:7315)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:21779)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:22278)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.pm.PackageManagerService.doSendBroadcast(PackageManagerService.java:13819)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.pm.PackageManagerService.access$3100(PackageManagerService.java:408)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.pm.PackageManagerService$7.run(PackageManagerService.java:13742)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at android.os.Handler.handleCallback(Handler.java:873)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:99)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:193)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at android.os.HandlerThread.run(HandlerThread.java:65)
03-13 12:19:16.525 1190 1232 E AndroidRuntime:	at com.android.server.ServiceThread.run(ServiceThread.java:44)

Is it caused by system bug?

https://github.com/aosp-mirror/plat...m/android/server/am/ActiveServices.java#L2741