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

小米手机经常ANR #444

Open
yeyutianya opened this issue Aug 21, 2018 · 0 comments
Open

小米手机经常ANR #444

yeyutianya opened this issue Aug 21, 2018 · 0 comments

Comments

@yeyutianya
Copy link

yeyutianya commented Aug 21, 2018

"main" prio=5 tid=1 Blocked
| group="main" sCount=1 dsCount=0 obj=0x75838000 self=0xec785400
| sysTid=23686 nice=-10 cgrp=default sched=0/0 handle=0xef5f4534
| state=S schedstat=( 27152869180 7062220059 39376 ) utm=2211 stm=504 core=5 HZ=100
| stack=0xff4b6000-0xff4b8000 stackSize=8MB
| held mutexes=
at com.morgoo.droidplugin.hook.HookedMethodHandler.doHookInner(HookedMethodHandler.java:47)

  • waiting to lock <0x0ec2619c> (a com.morgoo.droidplugin.hook.handle.IPackageManagerHookHandle$getPackageInfo) held by thread 25
    at com.morgoo.droidplugin.hook.proxy.ProxyHook.invoke(ProxyHook.java:67)
    at java.lang.reflect.Proxy.invoke(Proxy.java:813)
    at android.content.pm.IPackageManager.getPackageInfo(IPackageManager.java:-2)
    at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:139)
    at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:132)
    at com.xxx.framework.utils.AppUtil.getAppVersionName(AppUtil.java:67)
    at com.xxx.fragment.BaseFragment.countUseInfo(BaseFragment.java:424)
    at com.xxx.network.NetworkFragmentFinal.onShow(NetworkFragmentFinal.java:708)
    at com.xxx.Index.onResume(Index.java:604)
    at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1270)
    at android.app.Activity.performResume(Activity.java:6974)
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3513)
    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3576)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1609)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:163)
    at android.app.ActivityThread.main(ActivityThread.java:6401)
    at java.lang.reflect.Method.invoke!(Native method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:791)

"main" prio=5 tid=1 Waiting
| group="main" sCount=1 dsCount=0 obj=0x75838000 self=0xec785400
| sysTid=10016 nice=-10 cgrp=default sched=0/0 handle=0xef5f4534
| state=S schedstat=( 11883374969 14726212170 18254 ) utm=960 stm=228 core=4 HZ=100
| stack=0xff4b6000-0xff4b8000 stackSize=8MB
| held mutexes=
at java.lang.Object.wait!(Native method)

  • waiting on <0x0c156f6d> (a java.lang.Object)
    at com.morgoo.droidplugin.pm.IPluginManagerImpl.waitForReadyInner(IPluginManagerImpl.java:269)
  • locked <0x0c156f6d> (a java.lang.Object)
    at com.morgoo.droidplugin.pm.IPluginManagerImpl.getServiceInfo(IPluginManagerImpl.java:385)
    at com.morgoo.droidplugin.pm.PluginManager.resolveServiceInfo(PluginManager.java:1082)
    at com.morgoo.droidplugin.hook.handle.IActivityManagerHookHandle.resolveService(IActivityManagerHookHandle.java:210)
    at com.morgoo.droidplugin.hook.handle.IActivityManagerHookHandle.replaceFirstServiceIntentOfArgs(IActivityManagerHookHandle.java:97)
    at com.morgoo.droidplugin.hook.handle.IActivityManagerHookHandle.access$600(IActivityManagerHookHandle.java:81)
    at com.morgoo.droidplugin.hook.handle.IActivityManagerHookHandle$startService.beforeInvoke(IActivityManagerHookHandle.java:1321)
    at com.morgoo.droidplugin.hook.HookedMethodHandler.doHookInner(HookedMethodHandler.java:52)
  • locked <0x0861d7a2> (a com.morgoo.droidplugin.hook.handle.IActivityManagerHookHandle$startService)
    at com.morgoo.droidplugin.hook.proxy.ProxyHook.invoke(ProxyHook.java:67)
    at com.morgoo.droidplugin.hook.proxy.IActivityManagerHook.invoke(IActivityManagerHook.java:70)
    at java.lang.reflect.Proxy.invoke(Proxy.java:813)
    at android.app.IActivityManager.startService(IActivityManager.java:-2)
    at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1413)
    at android.app.ContextImpl.startService(ContextImpl.java:1395)
    at android.content.ContextWrapper.startService(ContextWrapper.java:623)
    at com.xxx.fragment.MainTabFragment.onShow(MainTabFragment.java:1745)
    at com.xxx.Index.onResume(Index.java:604)
    at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1270)
    at android.app.Activity.performResume(Activity.java:6974)
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3513)
    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3576)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1609)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:163)
    at android.app.ActivityThread.main(ActivityThread.java:6401)
    at java.lang.reflect.Method.invoke!(Native method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:791)
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