收藏
回答

一个插件化操作引发微信APP闪退的血案

框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本
小程序 Bug Android android 12 Beta 2.1 Google Pixel 4a 8.0.7 正式版

== 框架类型 必选 我就随便选一个吧 (忽略)

开始是 朋友圈、扫一扫、公众号 无法正常使用

最后是app无法正常进入

--------- beginning of system
07-07 09:10:01.704 E/AppOps  ( 1667): attributionTag com.google.android.gms.location_base not declared in manifest of com.google.android.gms.location.history
07-07 09:10:01.727 D/CompatibilityChangeReporter( 1667): Compat change id reported: 171306433; UID 10193; state: DISABLED
07-07 09:10:01.732 I/GCoreUlr( 3046): Successfully inserted 1 locations [CONTEXT service_id=22 ]
07-07 09:10:01.989 W/securityaio_sg_(20497): type=1400 audit(0.0:194585): avc: denied { read } for name="tcp" dev="proc" ino=4026532121 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0 app=com.smile.gifmaker
07-07 09:10:02.033 D/ConnectivityService( 1667): NetReassign [no changes]
07-07 09:10:02.562 V/NativeCrypto( 3046): SSL shutdown failed: ssl=0xb40000717f583958: I/O error during system call, Software caused connection abort
07-07 09:10:03.198 V/AutofillManager(12856): requestHideFillUi(null): anchor = null
07-07 09:10:03.198 D/NoBackGesture( 2515): Start gesture: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=134.0, y[0]=1306.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=69814368, downTime=69814368, deviceId=4, source=0x1002, displayId=0, eventId=1018188318 }
07-07 09:10:03.199 D/NoBackGesture( 2515): Prediction [1625620203199,134,1306,29,0.000000,0]
07-07 09:10:03.199 D/NoBackGesture( 2515): Gesture [1625620203199,alw=FALSE,FALSE,TRUE,FALSE,disp=Point(1080, 2340),wl=82,il=0,wr=82,ir=0,excl=SkRegion()]
07-07 09:10:03.281 I/ActivityTaskManager( 1667): START u0 {flg=0x20000000 cmp=com.tencent.mm/.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewTooLMpUI (has extras)} from uid 10384
07-07 09:10:03.284 D/CompatibilityChangeReporter( 1667): Compat change id reported: 174042980; UID 10384; state: DISABLED
07-07 09:10:03.284 D/CompatibilityChangeReporter( 1667): Compat change id reported: 184838306; UID 10384; state: DISABLED
07-07 09:10:03.285 D/CompatibilityChangeReporter( 1667): Compat change id reported: 185004937; UID 10384; state: DISABLED
07-07 09:10:03.286 D/CompatibilityChangeReporter( 1667): Compat change id reported: 181136395; UID 10384; state: DISABLED
07-07 09:10:03.287 D/CompatibilityChangeReporter( 1667): Compat change id reported: 174042936; UID 10384; state: DISABLED
07-07 09:10:03.297 D/CompatibilityChangeReporter( 1667): Compat change id reported: 135634846; UID 10384; state: DISABLED
07-07 09:10:03.297 D/CompatibilityChangeReporter( 1667): Compat change id reported: 177438394; UID 10384; state: DISABLED
07-07 09:10:03.297 D/CompatibilityChangeReporter( 1667): Compat change id reported: 135772972; UID 10384; state: DISABLED
07-07 09:10:03.297 D/CompatibilityChangeReporter( 1667): Compat change id reported: 135754954; UID 10384; state: DISABLED
07-07 09:10:03.297 D/CompatibilityChangeReporter( 1667): Compat change id reported: 143937733; UID 10384; state: DISABLED
07-07 09:10:03.307 D/Zygote  (  981): Forked child process 24125
07-07 09:10:03.308 I/ActivityManager( 1667): Start proc 24125:com.tencent.mm:toolsmp/u0a384 for pre-top-activity {com.tencent.mm/com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewTooLMpUI}
07-07 09:10:03.312 D/CompatibilityChangeReporter( 1667): Compat change id reported: 181136395; UID 10070; state: DISABLED
07-07 09:10:03.313 D/CompatibilityChangeReporter( 1667): Compat change id reported: 174042936; UID 10070; state: DISABLED
07-07 09:10:03.314 I/libc    (24125): SetHeapTaggingLevel: tag level set to 0
07-07 09:10:03.325 E/cent.mm:toolsm(24125): Not starting debugger since process cannot load the jdwp agent.
07-07 09:10:03.333 I/ProcessState(24125): Binder ioctl to enable oneway spam detection failed: Invalid argument
07-07 09:10:03.349 I/ActivityThread(24125): Relaunch all activities: onCoreSettingsChange
07-07 09:10:03.349 D/CompatibilityChangeReporter( 1667): Compat change id reported: 183972877; UID 10384; state: DISABLED
07-07 09:10:03.349 D/CompatibilityChangeReporter(24125): Compat change id reported: 171979766; UID 10384; state: DISABLED
07-07 09:10:03.356 D/ApplicationLoaders(24125): Returning zygote-cached class loader: /system/framework/android.test.base.jar
07-07 09:10:03.371 I/cent.mm:toolsm(24125): Failed to open app image /data/app/~~CebahPqC1MIog3g_xSbwLQ==/com.tencent.mm-wfOsPVaGs5C4sFs-diMZkQ==/oat/arm64/base.art Too many boot image dependencies (12 > 6) in image /data/app/~~CebahPqC1MIog3g_xSbwLQ==/com.tencent.mm-wfOsPVaGs5C4sFs-diMZkQ==/oat/arm64/base.art
07-07 09:10:03.371 W/cent.mm:toolsm(24125): Loading /data/app/~~CebahPqC1MIog3g_xSbwLQ==/com.tencent.mm-wfOsPVaGs5C4sFs-diMZkQ==/oat/arm64/base.odexnon-executable as it requires an image which we failed to load
07-07 09:10:03.377 E/LoadedApk(24125): Unable to instantiate appComponentFactory
07-07 09:10:03.377 E/LoadedApk(24125): java.lang.ClassNotFoundException: Didn't find class "androidx.core.app.CoreComponentFactory" on path: DexPathList[[zip file "/data/app/~~CebahPqC1MIog3g_xSbwLQ==/com.tencent.mm-wfOsPVaGs5C4sFs-diMZkQ==/base.apk"],nativeLibraryDirectories=[/data/app/~~CebahPqC1MIog3g_xSbwLQ==/com.tencent.mm-wfOsPVaGs5C4sFs-diMZkQ==/lib/arm64, /data/app/~~CebahPqC1MIog3g_xSbwLQ==/com.tencent.mm-wfOsPVaGs5C4sFs-diMZkQ==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
07-07 09:10:03.377 E/LoadedApk(24125):     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:214)
07-07 09:10:03.377 E/LoadedApk(24125):     at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
07-07 09:10:03.377 E/LoadedApk(24125):     at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
07-07 09:10:03.377 E/LoadedApk(24125):     at android.app.LoadedApk.createAppFactory(LoadedApk.java:262)
07-07 09:10:03.377 E/LoadedApk(24125):     at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:956)
07-07 09:10:03.377 E/LoadedApk(24125):     at android.app.LoadedApk.getClassLoader(LoadedApk.java:1043)
07-07 09:10:03.377 E/LoadedApk(24125):     at android.app.LoadedApk.getResources(LoadedApk.java:1289)
07-07 09:10:03.377 E/LoadedApk(24125):     at android.app.ContextImpl.createAppContext(ContextImpl.java:3011)
07-07 09:10:03.377 E/LoadedApk(24125):     at android.app.ContextImpl.createAppContext(ContextImpl.java:3003)
07-07 09:10:03.377 E/LoadedApk(24125):     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6589)
07-07 09:10:03.377 E/LoadedApk(24125):     at android.app.ActivityThread.access$1300(ActivityThread.java:247)
07-07 09:10:03.377 E/LoadedApk(24125):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2036)
07-07 09:10:03.377 E/LoadedApk(24125):     at android.os.Handler.dispatchMessage(Handler.java:106)
07-07 09:10:03.377 E/LoadedApk(24125):     at android.os.Looper.loopOnce(Looper.java:201)
07-07 09:10:03.377 E/LoadedApk(24125):     at android.os.Looper.loop(Looper.java:288)
07-07 09:10:03.377 E/LoadedApk(24125):     at android.app.ActivityThread.main(ActivityThread.java:7796)
07-07 09:10:03.377 E/LoadedApk(24125):     at java.lang.reflect.Method.invoke(Native Method)
07-07 09:10:03.377 E/LoadedApk(24125):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
07-07 09:10:03.377 E/LoadedApk(24125):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:974)

--------- beginning of crash
07-07 09:10:04.444 E/AndroidRuntime(24125): FATAL EXCEPTION: main
07-07 09:10:04.444 E/AndroidRuntime(24125): Process: com.tencent.mm:toolsmp, PID: 24125
07-07 09:10:04.444 E/AndroidRuntime(24125): java.lang.StackOverflowError: stack size 8188KB
07-07 09:10:04.444 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)

此处省略若干行:at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)

07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewToolUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewTooLMpUI.onWindowFocusChanged(Unknown Source:0)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at androidx.appcompat.view.i.onWindowFocusChanged(SourceFile:124)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at org.chromium.base.ApplicationStatus$WindowCallbackProxy.onWindowFocusChanged(ApplicationStatus.java:215)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at org.chromium.base.ApplicationStatus$WindowCallbackProxy.invoke(ApplicationStatus.java:194)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at $Proxy4.onWindowFocusChanged(Unknown Source)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.android.internal.policy.DecorView.onWindowFocusChanged(DecorView.java:1784)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at android.view.View.dispatchWindowFocusChanged(View.java:14776)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1507)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at android.view.ViewRootImpl.handleWindowFocusChanged(ViewRootImpl.java:3410)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at android.view.ViewRootImpl.access$1000(ViewRootImpl.java:226)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl(ViewRootImpl.java:5281)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:5201)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at android.os.Handler.dispatchMessage(Handler.java:106)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at android.os.Looper.loopOnce(Looper.java:201)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at android.os.Looper.loop(Looper.java:288)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at android.app.ActivityThread.main(ActivityThread.java:7796)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at java.lang.reflect.Method.invoke(Native Method)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
07-07 09:10:04.558 E/AndroidRuntime(24125):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:974)
07-07 09:10:04.601 I/WifiHAL ( 1058): event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xa
回答关注问题邀请回答
收藏
登录 后发表内容