ReChronoRain / HyperCeiler

MIUI & HyperOS enhancement module - Make MIUI & HyperOS Great Again!
https://hyperceiler.sevtinge.cc
GNU Affero General Public License v3.0
2.73k stars 154 forks source link

🐛 [BUG] 查找设备会触发模块奔溃日志 #954

Open wenhao0820 opened 2 weeks ago

wenhao0820 commented 2 weeks ago

须知

问题描述

设置中触发查找设备,或后台系统触发查找设备上传,会触发crash

模块日志

[ 2024-11-07T20:28:16.446 1000: 2663: 4900 I/LSPosed-Bridge ] [HyperCeiler][E][[HyperCeiler]: CrashHook]: context: android.app.ContextImpl@d7b9253 pkg: android proc: ProcessRecord{3eaea19 12298:com.xiaomi.finddevice/6110} crash: android.app.ApplicationErrorReport$ParcelableCrashInfo@faf2535 short: java.lang.IllegalStateException long: java.lang.IllegalStateException: not here stack: java.lang.IllegalStateException: not here at com.xiaomi.accountsdk.activate.ActivateSdkHelper.startForegroundService(ActivateSdkHelper.java:139) at com.xiaomi.accountsdk.activate.ActivateSdkHelper.startActivateSimCommand(ActivateSdkHelper.java:118) at com.xiaomi.accountsdk.activate.ActivateManager.startActivateSim(ActivateManager.java:121) at com.xiaomi.accountsdk.activate.ActivateManager.startActivateSim(ActivateManager.java:103) at com.xiaomi.finddevice.v2.update.PhoneInfoUpdateTask$ActivateSimsIfFindDeviceOpenSubTask.startActivateSimIfNotVirtualSim(PhoneInfoUpdateTask.java:51) at com.xiaomi.finddevice.v2.update.PhoneInfoUpdateTask$ActivateSimsIfFindDeviceOpenSubTask.run(PhoneInfoUpdateTask.java:56) at com.xiaomi.finddevice.common.task.PersistentAppTaskBuilder$2.run(PersistentAppTaskBuilder.java:77) at com.xiaomi.finddevice.common.task.PersistentAppTaskManager.doRunTask(PersistentAppTaskManager.java:28) at com.xiaomi.finddevice.common.task.PersistentAppTaskManager.-$$Nest$monRunTask(PersistentAppTaskManager.java:112) at com.xiaomi.finddevice.common.task.PersistentAppTaskManager$1.run(PersistentAppTaskManager.java:5) at com.xiaomi.finddevice.common.task.QueueTaskManager.-$$Nest$mrunTaskLoop(QueueTaskManager.java:92) at com.xiaomi.finddevice.common.task.QueueTaskManager$1.run(QueueTaskManager.java:3) at java.lang.Thread.run(Thread.java:1012)

复现步骤

1. 前往 '设置',进入查找设备
2. 查看LSPosed日志,会出现上述crash log
出现问题

问题截图

HyperCeiler 设备信息

354306342369ce7d2ab1371432f9a1c0