fkzhang / WechatUnrecalled

GNU General Public License v3.0
1.26k stars 265 forks source link

加载出错导致模块加载失败 #495

Open Oosl opened 2 years ago

Oosl commented 2 years ago

微信:8.0.18 模块:2.27_3.20(b30)

刚重启后发现模块未加载,lsp日志中出现如下报错。多次重复尝试强行停止微信后,又正常加载使用了。

lsp日志中的报错信息为: [ 2022-01-15T20:20:53.666 10292: 2973: 2973 E/LSPosed-Bridge ] java.lang.IllegalArgumentException: Expected receiver of type com.tencent.mm.ui.base.preference.MMPreference, but got com.tencent.mm.plugin.setting.ui.setting.SettingsUI at java.lang.reflect.Field.get(Native Method) at יʼ.゙ˆ.יʼ(Unknown Source:32) at ﹳʾ.ˉˎ$ˏˏ.afterHookedMethod(Unknown Source:27) at de.robv.android.xposed.LspHooker.handleHookedMethod(Unknown Source:136) at LspHooker.onCreate(Unknown Source:11) at com.tencent.mm.ui.vas.VASActivity.onCreate(SourceFile:75) at java.lang.reflect.Method.invoke(Native Method) at androidx.lifecycle.b$a.a(SourceFile:1216) at androidx.lifecycle.ReflectiveGenericLifecycleObserver.a(SourceFile:1185) at androidx.lifecycle.q$a.b(SourceFile:354) at androidx.lifecycle.q.addObserver(SourceFile:196) at com.tencent.mm.ui.vas.VASCommonFragment.onViewCreated(SourceFile:334) at androidx.fragment.app.Fragment.performViewCreated(SourceFile:2987) at androidx.fragment.app.o.Ab(SourceFile:546) at androidx.fragment.app.o.zZ(SourceFile:282) at androidx.fragment.app.FragmentManager.executeOpsTogether(SourceFile:2189) at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(SourceFile:2100) at androidx.fragment.app.FragmentManager.execPendingActions(SourceFile:2002) at androidx.fragment.app.FragmentManager.dispatchStateChange(SourceFile:3136) at androidx.fragment.app.FragmentManager.dispatchActivityCreated(SourceFile:3070) at androidx.fragment.app.FragmentActivity.onStart(SourceFile:6251) at androidx.appcompat.app.AppCompatActivity.onStart(SourceFile:210) at com.tencent.mm.ui.component.UIComponentActivity.onStart(SourceFile:169) at com.tencent.mm.ui.MMFragmentActivity.onStart(SourceFile:242) at com.tencent.mm.ui.MMActivity.onStart(SourceFile:487) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1470) at android.app.Activity.performStart(Activity.java:8155) at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3799) at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221) at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2341) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:233) at android.os.Looper.loop(Looper.java:344) at android.app.ActivityThread.main(ActivityThread.java:8182) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034) [ 2022-01-15T20:20:56.351 10292: 4535: 4535 I/LSPosed-Bridge ] Loading module com.fkzhang.wechatxposed from /data/app/~~lQLIEGTgbn4O59ZLB5LIqw==/com.fkzhang.wechatxposed-Ny6vvkQCF9O9tUIMEpKTlQ==/base.apk [ 2022-01-15T20:20:56.356 10292: 4535: 4535 I/LSPosed-Bridge ] Loading class com.fkzhang.wechatxposed.XposedInit [ 2022-01-15T20:20:56.485 10292: 4535: 4535 I/LSPosed-Bridge ] com.tencent.mm loading com.fkzhang.wechatxposed [ 2022-01-15T20:20:56.563 10292: 4535: 4535 I/LSPosed-Bridge ] com.fkzhang.wechatxposed WechatXposed: wechat version 8.0.18(2060) [ 2022-01-15T20:20:56.563 10292: 4535: 4535 I/LSPosed-Bridge ] com.fkzhang.wechatxposed load time: 95 [ 2022-01-15T20:20:57.047 10292: 4709: 4709 I/LSPosed-Bridge ] Loading module com.fkzhang.wechatxposed from /data/app/~~lQLIEGTgbn4O59ZLB5LIqw==/com.fkzhang.wechatxposed-Ny6vvkQCF9O9tUIMEpKTlQ==/base.apk [ 2022-01-15T20:20:57.053 10292: 4709: 4709 I/LSPosed-Bridge ] Loading class com.fkzhang.wechatxposed.XposedInit [ 2022-01-15T20:20:57.656 10292: 4825: 4825 I/LSPosed-Bridge ] Loading module com.fkzhang.wechatxposed from /data/app/~~lQLIEGTgbn4O59ZLB5LIqw==/com.fkzhang.wechatxposed-Ny6vvkQCF9O9tUIMEpKTlQ==/base.apk [ 2022-01-15T20:20:57.674 10292: 4825: 4825 I/LSPosed-Bridge ] Loading class com.fkzhang.wechatxposed.XposedInit [ 2022-01-15T20:20:57.790 10292: 4849: 4849 I/LSPosed-Bridge ] Loading module com.fkzhang.wechatxposed from /data/app/~~lQLIEGTgbn4O59ZLB5LIqw==/com.fkzhang.wechatxposed-Ny6vvkQCF9O9tUIMEpKTlQ==/base.apk [ 2022-01-15T20:20:57.798 10292: 4849: 4849 I/LSPosed-Bridge ] Loading class com.fkzhang.wechatxposed.XposedInit [ 2022-01-15T20:20:59.382 10292: 4535: 4535 E/LSPosed-Bridge ] java.lang.IllegalArgumentException: Expected receiver of type com.tencent.mm.ui.base.preference.MMPreference, but got com.tencent.mm.plugin.setting.ui.setting.SettingsUI at java.lang.reflect.Field.get(Native Method) at יʼ.゙ˆ.יʼ(Unknown Source:32) at ﹳʾ.ˉˎ$ˏˏ.afterHookedMethod(Unknown Source:27) at de.robv.android.xposed.LspHooker.handleHookedMethod(Unknown Source:136) at LspHooker.onCreate(Unknown Source:11) at com.tencent.mm.ui.vas.VASActivity.onCreate(SourceFile:75) at java.lang.reflect.Method.invoke(Native Method) at androidx.lifecycle.b$a.a(SourceFile:1216) at androidx.lifecycle.ReflectiveGenericLifecycleObserver.a(SourceFile:1185) at androidx.lifecycle.q$a.b(SourceFile:354) at androidx.lifecycle.q.addObserver(SourceFile:196) at com.tencent.mm.ui.vas.VASCommonFragment.onViewCreated(SourceFile:334) at androidx.fragment.app.Fragment.performViewCreated(SourceFile:2987) at androidx.fragment.app.o.Ab(SourceFile:546) at androidx.fragment.app.o.zZ(SourceFile:282) at androidx.fragment.app.FragmentManager.executeOpsTogether(SourceFile:2189) at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(SourceFile:2100) at androidx.fragment.app.FragmentManager.execPendingActions(SourceFile:2002) at androidx.fragment.app.FragmentManager.dispatchStateChange(SourceFile:3136) at androidx.fragment.app.FragmentManager.dispatchActivityCreated(SourceFile:3070) at androidx.fragment.app.FragmentActivity.onStart(SourceFile:6251) at androidx.appcompat.app.AppCompatActivity.onStart(SourceFile:210) at com.tencent.mm.ui.component.UIComponentActivity.onStart(SourceFile:169) at com.tencent.mm.ui.MMFragmentActivity.onStart(SourceFile:242) at com.tencent.mm.ui.MMActivity.onStart(SourceFile:487) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1470) at android.app.Activity.performStart(Activity.java:8155) at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3799) at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221) at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2341) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:233) at android.os.Looper.loop(Looper.java:344) at android.app.ActivityThread.main(ActivityThread.java:8182) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034) [ 2022-01-15T20:21:56.890 10294: 5782: 5782 I/LSPosed-Bridge ] Loading module com.fkzhang.wechatxposed from /data/app/~~lQLIEGTgbn4O59ZLB5LIqw==/com.fkzhang.wechatxposed-Ny6vvkQCF9O9tUIMEpKTlQ==/base.apk [ 2022-01-15T20:21:56.894 10294: 5782: 5782 I/LSPosed-Bridge ] Loading class com.fkzhang.wechatxposed.XposedInit [ 2022-01-15T20:22:22.213 10294: 6434: 6434 I/LSPosed-Bridge ] Loading module com.fkzhang.wechatxposed from /data/app/~~lQLIEGTgbn4O59ZLB5LIqw==/com.fkzhang.wechatxposed-Ny6vvkQCF9O9tUIMEpKTlQ==/base.apk [ 2022-01-15T20:22:22.218 10294: 6434: 6434 I/LSPosed-Bridge ] Loading class com.fkzhang.wechatxposed.XposedInit [ 2022-01-15T20:22:50.767 10292: 6778: 6778 I/LSPosed-Bridge ] Loading module com.fkzhang.wechatxposed from /data/app/~~lQLIEGTgbn4O59ZLB5LIqw==/com.fkzhang.wechatxposed-Ny6vvkQCF9O9tUIMEpKTlQ==/base.apk [ 2022-01-15T20:22:50.773 10292: 6778: 6778 I/LSPosed-Bridge ] Loading class com.fkzhang.wechatxposed.XposedInit [ 2022-01-15T20:22:50.901 10292: 6778: 6778 I/LSPosed-Bridge ] com.tencent.mm loading com.fkzhang.wechatxposed [ 2022-01-15T20:22:50.982 10292: 6778: 6778 I/LSPosed-Bridge ] com.fkzhang.wechatxposed WechatXposed: wechat version 8.0.18(2060) [ 2022-01-15T20:22:50.982 10292: 6778: 6778 I/LSPosed-Bridge ] com.fkzhang.wechatxposed load time: 97 [ 2022-01-15T20:22:51.451 10292: 6931: 6931 I/LSPosed-Bridge ] Loading module com.fkzhang.wechatxposed from /data/app/~~lQLIEGTgbn4O59ZLB5LIqw==/com.fkzhang.wechatxposed-Ny6vvkQCF9O9tUIMEpKTlQ==/base.apk [ 2022-01-15T20:22:51.456 10292: 6931: 6931 I/LSPosed-Bridge ] Loading class com.fkzhang.wechatxposed.XposedInit [ 2022-01-15T20:22:52.086 10292: 7051: 7051 I/LSPosed-Bridge ] Loading module com.fkzhang.wechatxposed from /data/app/~~lQLIEGTgbn4O59ZLB5LIqw==/com.fkzhang.wechatxposed-Ny6vvkQCF9O9tUIMEpKTlQ==/base.apk [ 2022-01-15T20:22:52.093 10292: 7051: 7051 I/LSPosed-Bridge ] Loading class com.fkzhang.wechatxposed.XposedInit [ 2022-01-15T20:22:52.120 10292: 7062: 7062 I/LSPosed-Bridge ] Loading module com.fkzhang.wechatxposed from /data/app/~~lQLIEGTgbn4O59ZLB5LIqw==/com.fkzhang.wechatxposed-Ny6vvkQCF9O9tUIMEpKTlQ==/base.apk [ 2022-01-15T20:22:52.126 10292: 7062: 7062 I/LSPosed-Bridge ] Loading class com.fkzhang.wechatxposed.XposedInit [ 2022-01-15T20:22:53.849 10292: 6778: 6778 E/LSPosed-Bridge ] java.lang.IllegalArgumentException: Expected receiver of type com.tencent.mm.ui.base.preference.MMPreference, but got com.tencent.mm.plugin.setting.ui.setting.SettingsUI at java.lang.reflect.Field.get(Native Method) at יʼ.゙ˆ.יʼ(Unknown Source:32) at ﹳʾ.ˉˎ$ˏˏ.afterHookedMethod(Unknown Source:27) at de.robv.android.xposed.LspHooker.handleHookedMethod(Unknown Source:136) at LspHooker_.onCreate(Unknown Source:11) at com.tencent.mm.ui.vas.VASActivity.onCreate(SourceFile:75) at java.lang.reflect.Method.invoke(Native Method) at androidx.lifecycle.b$a.a(SourceFile:1216) at androidx.lifecycle.ReflectiveGenericLifecycleObserver.a(SourceFile:1185) at androidx.lifecycle.q$a.b(SourceFile:354) at androidx.lifecycle.q.addObserver(SourceFile:196) at com.tencent.mm.ui.vas.VASCommonFragment.onViewCreated(SourceFile:334) at androidx.fragment.app.Fragment.performViewCreated(SourceFile:2987) at androidx.fragment.app.o.Ab(SourceFile:546) at androidx.fragment.app.o.zZ(SourceFile:282) at androidx.fragment.app.FragmentManager.executeOpsTogether(SourceFile:2189) at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(SourceFile:2100) at androidx.fragment.app.FragmentManager.execPendingActions(SourceFile:2002) at androidx.fragment.app.FragmentManager.dispatchStateChange(SourceFile:3136) at androidx.fragment.app.FragmentManager.dispatchActivityCreated(SourceFile:3070) at androidx.fragment.app.FragmentActivity.onStart(SourceFile:6251) at androidx.appcompat.app.AppCompatActivity.onStart(SourceFile:210) at com.tencent.mm.ui.component.UIComponentActivity.onStart(SourceFile:169) at com.tencent.mm.ui.MMFragmentActivity.onStart(SourceFile:242) at com.tencent.mm.ui.MMActivity.onStart(SourceFile:487) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1470) at android.app.Activity.performStart(Activity.java:8155) at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3799) at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221) at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2341) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:233) at android.os.Looper.loop(Looper.java:344) at android.app.ActivityThread.main(ActivityThread.java:8182) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)