Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在任何系统对话框(例如ANRs/LowSDKWarning/OldVerApp)弹出时操作该对话将导致卡死并彻底进入黑屏随后热重启 #516

Open
CATBirdlong opened this issue Aug 19, 2024 · 0 comments

Comments

@CATBirdlong
Copy link

该bug复现概率为100%
在多次检查模块后确定是pengeek导致了该情况发生
该bug无法提供任何复现时录屏
在检查log后发现开机时pengeek频繁'访问一个空对象'(java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference) 请求高达二十余次
我无法拿出大量时间与精力来查找该空对象在何处 具体的错误代码无法分析出有效信息 unknown source占据大部分代码内容

[ 2024-08-20T00:29:42.408     1000:  4750:  4750 E/LSPosed-Bridge  ] [Pengeek] java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
	at ke.before(Unknown Source:204)
	at name.monwf.customiuizer.mods.utils.HookerClassHelper$MethodHook.beforeHook(Unknown Source:0)
	at C7.c(Unknown Source:32)
	at java.lang.reflect.Method.invoke(Native Method)
	at J.callback(Unknown Source:136)
	at LSPHooker_.applyDarknessInternal(Unknown Source:8)
	at com.android.systemui.statusbar.StatusBarMobileView.applyMobileState(go/retraceme f33fee6970bf589d841bad9dd8bc8a5a6bb4f53554e0c4be5567234f8affa157:892)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method)
	at J.callback(Unknown Source:193)
	at LSPHooker_.applyMobileState(Unknown Source:11)
	at com.android.systemui.statusbar.phone.StatusBarIconController$IconManager.addMobileIcon(go/retraceme f33fee6970bf589d841bad9dd8bc8a5a6bb4f53554e0c4be5567234f8affa157:14)
	at com.android.systemui.statusbar.phone.StatusBarIconController$IconManager.addHolder(go/retraceme f33fee6970bf589d841bad9dd8bc8a5a6bb4f53554e0c4be5567234f8affa157:99)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method)
	at J.callback(Unknown Source:193)
	at LSPHooker_.addHolder(Unknown Source:28)
	at com.android.systemui.statusbar.phone.MiuiLightDarkIconManager.onIconAdded(go/retraceme f33fee6970bf589d841bad9dd8bc8a5a6bb4f53554e0c4be5567234f8affa157:1)
	at com.android.systemui.statusbar.phone.StatusBarIconControllerImpl$$ExternalSyntheticLambda1.accept(go/retraceme f33fee6970bf589d841bad9dd8bc8a5a6bb4f53554e0c4be5567234f8affa157:25)
	at java.util.HashMap.forEach(HashMap.java:1423)
	at com.android.systemui.statusbar.phone.StatusBarIconControllerImpl.setIcon(go/retraceme f33fee6970bf589d841bad9dd8bc8a5a6bb4f53554e0c4be5567234f8affa157:27)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method)
	at J.callback(Unknown Source:193)
	at LSPHooker_.setIcon(Unknown Source:14)
	at com.android.systemui.statusbar.phone.StatusBarIconControllerImpl.setMobileIcons(go/retraceme f33fee6970bf589d841bad9dd8bc8a5a6bb4f53554e0c4be5567234f8affa157:55)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method)
	at J.callback(Unknown Source:193)
	at LSPHooker_.setMobileIcons(Unknown Source:14)
	at com.android.systemui.statusbar.phone.MiuiStatusBarSignalPolicy.setMobileDataIndicators(go/retraceme f33fee6970bf589d841bad9dd8bc8a5a6bb4f53554e0c4be5567234f8affa157:172)
	at com.android.systemui.statusbar.connectivity.CallbackHandler$$ExternalSyntheticLambda0.run(go/retraceme f33fee6970bf589d841bad9dd8bc8a5a6bb4f53554e0c4be5567234f8affa157:31)
	at android.os.Handler.handleCallback(Handler.java:958)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:224)
	at android.os.Looper.loop(Looper.java:318)
	at android.app.ActivityThread.main(ActivityThread.java:8767)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)

因为特殊性 我无法提供完整日志 若您希望对此bug进行查找修复恳请联系...
另外还有这段

[ 2024-08-20T00:29:24.197     1000:  1927:  1927 I/LSPosed-Bridge  ] [Pengeek] Failed to hook doVibratorOn method in com.android.server.VibratorService

您有什么部分/功能会涉及到server vibrator service?您所写的功能为何会去hook这个部分,您所指的dovibratoron是什么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant