Tencent / MMKV

An efficient, small mobile key-value storage framework developed by WeChat. Works on Android, iOS, macOS, Windows, and POSIX.
Other
17.24k stars 1.89k forks source link

ANR Exception by com.tencent.mmkv.MMKV.containsKey(Native Method) #860

Closed jiguangxing1204 closed 2 years ago

jiguangxing1204 commented 2 years ago

Note:

An crash issue will be ignored & closed in a week without logs.

The language of MMKV

Java

The version of MMKV

com.tencent:mmkv-static:1.2.12

The platform of MMKV

Android

The installation of MMKV

Maven

What's the issue?

1 main

ANR_EXCEPTION com.tencent.mmkv.MMKV.containsKey(Native Method) com.tencent.mmkv.MMKV.containsKey(SourceFile:808) cn.kuwo.base.config.ConfMMKVMgrImpl.a(SourceFile:386) cn.kuwo.base.config.ConfMMKVMgrImpl.a(SourceFile:167)

下面是bugly捕获的当时logcat

mTraversals(ViewRootImpl.java:2816) -- 103-29 09:46:58.032 17894 17894 W System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1876) 203-29 09:46:58.032 17894 17894 W System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8167) 303-29 09:46:58.032 17894 17894 W System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1057) 403-29 09:46:58.032 17894 17894 W System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:875) 503-29 09:46:58.032 17894 17894 W System.err: at android.view.Choreographer.doFrame(Choreographer.java:776) 603-29 09:46:58.032 17894 17894 W System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1042) 703-29 09:46:58.032 17894 17894 W System.err: at android.os.Handler.handleCallback(Handler.java:900) 803-29 09:46:58.032 17894 17894 W System.err: at android.os.Handler.dispatchMessage(Handler.java:103) 903-29 09:46:58.032 17894 17894 W System.err: at android.os.Looper.loop(Looper.java:219) 1003-29 09:46:58.032 17894 17894 W System.err: at android.app.ActivityThread.main(ActivityThread.java:8349) 1103-29 09:46:58.032 17894 17894 W System.err: at java.lang.reflect.Method.invoke(Native Method) 1203-29 09:46:58.032 17894 17894 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) 1303-29 09:46:58.032 17894 17894 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055) 1403-29 09:46:58.081 17894 17894 E cn.kuwo.player: Invalid ID 0x00000000. 1503-29 09:46:58.081 17894 17894 I Resource: printErrorResource, maybe not an error because module has entative action to load resource. 1603-29 09:46:58.081 17894 17894 I Resources_debug: The apk asset path = ApkAssets{path=/system/framework/framework-res.apk} 1703-29 09:46:58.081 17894 17894 I Resources_debug: The apk asset path = ApkAssets{path=/system/framework/framework-res-hwext.apk} 1803-29 09:46:58.081 17894 17894 I Resources_debug: The apk asset path = ApkAssets{path=/hw_product/overlay/frameworkResOverlay.apk} 1903-29 09:46:58.081 17894 17894 I Resources_debug: The apk asset path = ApkAssets{path=/data/app/cn.kuwo.player-nkxzacwcjD7-jTfR5TWohQ==/base.apk} 2003-29 09:46:58.081 17894 17894 I Resources_debug: The apk asset path = ApkAssets{path=/system/emui/base/overlay/frameworkhwexthonor/frameworkhwexthonor.apk} 2103-29 09:46:58.081 17894 17894 I Resources_debug: The apk asset path = ApkAssets{path=/system/priv-app/HwCameraKit/HwCameraKit.apk} 2203-29 09:46:58.082 17894 17894 W System.err: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x0 2303-29 09:46:58.082 17894 17894 W System.err: at android.content.res.ResourcesImpl.getResourceEntryName(ResourcesImpl.java:409) 2403-29 09:46:58.082 17894 17894 W System.err: at android.content.res.Resources.getResourceEntryName(Resources.java:2229) 2503-29 09:46:58.082 17894 17894 W System.err: at com.kuwo.skin.loader.SkinInflaterFactory.a(SourceFile:110) 2603-29 09:46:58.082 17894 17894 W System.err: at com.kuwo.skin.loader.SkinInflaterFactory.onCreateView(SourceFile:46) 2703-29 09:46:58.082 17894 17894 W System.err: at androidx.core.view.LayoutInflaterCompat$Factory2Wrapper.onCreateView(SourceFile:55) 2803-29 09:46:58.082 17894 17894 W System.err: at android.view.LayoutInflater.tryCreateView(LayoutInflater.java:1071) 2903-29 09:46:58.082 17894 17894 W System.err: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1007) 3003-29 09:46:58.082 17894 17894 W System.err: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:971) 3103-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.rInflate(LayoutInflater.java:1133) 3203-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1094) 3303-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.rInflate(LayoutInflater.java:1136) 3403-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1094) 3503-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.inflate(LayoutInflater.java:692) 3603-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.inflate(LayoutInflater.java:536) 3703-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.inflate(LayoutInflater.java:483) 3803-29 09:46:58.083 17894 17894 W System.err: at cn.kuwo.show.core.recyclerview.view.ExRvLoadMoreView.(SourceFile:30) 3903-29 09:46:58.083 17894 17894 W System.err: at cn.kuwo.show.ui.kukuhome.base.BaseLiveCategoryListFragment.setLoadMoreView(SourceFile:107) 4003-29 09:46:58.083 17894 17894 W System.err: at cn.kuwo.show.ui.kukuhome.ShowKuKuCategoryFragment.initRecyclerView(SourceFile:235) 4103-29 09:46:58.083 17894 17894 W System.err: at cn.kuwo.show.ui.kukuhome.ShowKuKuCategoryFragment.onCreateView(SourceFile:175) 4203-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.Fragment.performCreateView(SourceFile:2600) 4303-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.FragmentManagerImpl.moveToState(SourceFile:881) 4403-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(SourceFile:1238) 4503-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.BackStackRecord.executeOps(SourceFile:434) 4603-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.FragmentManagerImpl.executeOps(SourceFile:2079) 4703-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(SourceFile:1869) 4803-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(SourceFile:1824) 4903-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.FragmentManagerImpl.execSingleAction(SourceFile:1696) 5003-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.BackStackRecord.commitNow(SourceFile:293) 5103-29 09:46:58.083 17894 17894 W System.err: at androidx.viewpager2.adapter.FragmentStateAdapter.placeFragmentInViewHolder(SourceFile:341) 5203-29 09:46:58.083 17894 17894 W System.err: at androidx.viewpager2.adapter.FragmentStateAdapter.onViewAttachedToWindow(SourceFile:276) 5303-29 09:46:58.083 17894 17894 W System.err: at androidx.viewpager2.adapter.FragmentStateAdapter.onViewAttachedToWindow(SourceFile:67) 5403-29 09:46:58.083 17894 17894 W System.err: at androidx.recyclerview.widget.RecyclerView.dispatchChildAttached(SourceFile:7556) 5503-29 09:46:58.083 17894 17894 W System.err: at androidx.recyclerview.widget.RecyclerView$5.addView(SourceFile:860) 5603-29 09:46:58.591 17894 17894 E libc : Access denied finding property "net.dns1" 5703-29 09:46:59.132 17894 17894 I HwViewRootImpl: removeInvalidNode jank list is null 5803-29 09:46:59.155 17894 17894 I KuwoAdUrl: hit from config file:safe_mobilead_url 5903-29 09:46:59.158 17894 17975 I KuwoAdUrl: hit from config file:safe_mobilead_url 6003-29 09:46:59.161 17894 17975 I KuwoAdUrl: hit from config file:safe_mobilead_url 6103-29 09:46:59.170 17894 18352 W cn.kuwo.player: Unsupported class loader 6203-29 09:46:59.185 17894 17975 I KuwoUrl : hit from config file:wapi_host_url 6303-29 09:46:59.185 17894 17975 I KuwoUrl : hit from config file:safe_host_url_n 6403-29 09:46:59.186 17894 17975 I KuwoUrl : hit from config file:safe_artistfeeds_url 6503-29 09:46:59.186 17894 17975 I KuwoUrl : hit from config file:song_image_host 6603-29 09:46:59.186 17894 17975 I KuwoUrl : hit from config file:safe_vip_new_verification_url 6703-29 09:46:59.187 17894 17975 I KuwoUrl : hit from config file:mobile_base_data_host 6803-29 09:46:59.187 17894 17975 I KuwoUrl : hit from config file:safe_get_tingshu_vip_url 6903-29 09:46:59.187 17894 17975 I KuwoAdUrl: hit from config file:safe_mobilead_url 7003-29 09:46:59.209 17894 19228 E memtrack: Couldn't load memtrack module 7103-29 09:46:59.209 17894 19228 W android.os.Debug: failed to get memory consumption info: -1 7203-29 09:46:59.621 17894 19050 W System.err: org.json.JSONException: End of input at character 0 of 7303-29 09:46:59.622 17894 19050 W System.err: at org.json.JSONTokener.syntaxError(JSONTokener.java:460) 7403-29 09:46:59.622 17894 19050 W System.err: at org.json.JSONTokener.nextValue(JSONTokener.java:101) 7503-29 09:46:59.622 17894 19050 W System.err: at org.json.JSONObject.(JSONObject.java:164) 7603-29 09:46:59.622 17894 19050 W System.err: at org.json.JSONObject.(JSONObject.java:181) 7703-29 09:46:59.622 17894 19050 W System.err: at cn.kuwo.peculiar.specialdialogconfig.o.c(SourceFile:1147) 7803-29 09:46:59.622 17894 19050 W System.err: at cn.kuwo.peculiar.speciallogic.b.d$1.run(SourceFile:87) 7903-29 09:46:59.622 17894 19050 W System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462) 8003-29 09:46:59.622 17894 19050 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 8103-29 09:46:59.622 17894 19050 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 8203-29 09:46:59.622 17894 19050 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 8303-29 09:46:59.622 17894 19050 W System.err: at cn.kuwo.base.utils.KwThreadPool$b$1.run(SourceFile:329) 8403-29 09:46:59.622 17894 19050 W System.err: at java.lang.Thread.run(Thread.java:929) 8503-29 09:46:59.816 17894 18352 W cn.kuwo.player: Insufficient pre-allocated space to mmap vdex. 8603-29 09:46:59.826 17894 17894 I Choreographer: Skipped 38 frames! The application may be doing too much work on its main thread. 8703-29 09:46:59.835 17894 18352 W cn.kuwo.player: Skipping duplicate class check due to unsupported classloader 8803-29 09:46:59.843 17894 17894 I HwViewRootImpl: removeInvalidNode jank list is null 8903-29 09:46:59.854 17894 18352 I cn.kuwo.player: Waiting for a blocking GC ClassLinker 9003-29 09:47:00.046 17894 17894 W System.err: java.lang.IllegalArgumentException: Uri is illegal,Scheme is null or empty 9103-29 09:47:00.046 17894 17894 W System.err: at cn.kuwo.base.b.e.b.a(SourceFile:69) 9203-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.base.b.c.a.b.a(SourceFile:102) 9303-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.base.b.c.a.b.a(SourceFile:51) 9403-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.base.b.c.a.a.a(SourceFile:22) 9503-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.ui.mine.motor.manager.MineAdViewManager.notifyDataSetChanged(SourceFile:124) 9603-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.ui.mine.fragment.MineFragment$16.onMineADMotorListDownloadSuccess(SourceFile:1254) 9703-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.ui.mine.motor.MineAdUtils$1$2.call(SourceFile:44) 9803-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.core.messagemgr.c$a.run(SourceFile:31) 9903-29 09:47:00.047 17894 17894 W System.err: at android.os.Handler.handleCallback(Handler.java:900) 10003-29 09:47:00.047 17894 17894 W System.err: at android.os.Handler.dispatchMessage(Handler.java:103) 10103-29 09:47:00.047 17894 17894 W System.err: at android.os.Looper.loop(Looper.java:219) 10203-29 09:47:00.047 17894 17894 W System.err: at android.app.ActivityThread.main(ActivityThread.java:8349) 10303-29 09:47:00.047 17894 17894 W System.err: at java.lang.reflect.Method.invoke(Native Method) 10403-29 09:47:00.047 17894 17894 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) 10503-29 09:47:00.047 17894 17894 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055) 10603-29 09:47:00.157 17894 19260 W System.err: android.content.pm.PackageManager$NameNotFoundException: com.t3go.passenger 10703-29 09:47:00.158 17894 19260 W System.err: at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:201) 10803-29 09:47:00.158 17894 19260 W System.err: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:170) 10903-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.apkdownloader.e.a.a(SourceFile:135) 11003-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.apkdownloader.d.a.e(SourceFile:365) 11103-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.apkdownloader.d.a.a(SourceFile:107) 11203-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.apkdownloader.n.a(SourceFile:92) 11303-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.apkdownloader.DownloaderFacade.getStatus(SourceFile:107) 11403-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.router.ApkDownloaderRouterHelper$ApkDownloaderPresenter.getStatus(SourceFile:43) 11503-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.i.d.c(SourceFile:121) 11603-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.base.ad.model.g.h(SourceFile:816) 11703-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.base.ad.c.g.a(SourceFile:101) 11803-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.base.ad.c.g.b(SourceFile:51) 11903-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.base.ad.c.a.a(SourceFile:20) 12003-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.base.ad.c.a.a(SourceFile:24) 12103-29 09:47:00.158 17894 19260 I chatty : uid=10100(cn.kuwo.player) identical 11 lines 12203-29 09:47:00.393 17894 17912 I chatty : uid=10100(cn.kuwo.player) HeapTaskDaemon expire 1 line 12303-29 09:47:00.393 17894 18352 I chatty : uid=10100(cn.kuwo.player) TP-CPUBound-2 expire 1 line 12403-29 09:47:00.577 17894 17894 I chatty : uid=10100(cn.kuwo.player) expire 2 lines 12503-29 09:47:03.864 17894 17912 I chatty : uid=10100(cn.kuwo.player) HeapTaskDaemon expire 2 lines 12603-29 09:47:07.025 17894 17894 I chatty : uid=10100(cn.kuwo.player) expire 2 lines 12703-29 09:47:07.038 17894 18044 I chatty : uid=10100(cn.kuwo.player) kwThread expire 1 line 12803-29 09:47:07.072 17894 18025 I chatty : uid=10100(cn.kuwo.player) RenderThread expire 1 line 12903-29 09:47:07.078 17894 17894 I chatty : uid=10100(cn.kuwo.player) expire 1 line 13003-29 09:47:07.106 17894 18044 I chatty : uid=10100(cn.kuwo.player) kwThread expire 4 lines 13103-29 09:47:07.106 17894 18044 I IJKMEDIA: 13203-29 09:47:07.106 17894 18044 I IJKMEDIA: Duration: 13303-29 09:47:07.106 17894 18044 I IJKMEDIA: 00:00:09.98 13403-29 09:47:07.106 17894 18044 I IJKMEDIA: , start: 13503-29 09:47:07.106 17894 18044 I IJKMEDIA: 0.025057 13603-29 09:47:07.106 17894 18044 I IJKMEDIA: , bitrate: 13703-29 09:47:07.106 17894 18044 I IJKMEDIA: 192 kb/s 13803-29 09:47:07.106 17894 18044 I IJKMEDIA: 13903-29 09:47:07.106 17894 18044 I IJKMEDIA: Stream #0:0 14003-29 09:47:07.106 17894 18044 I IJKMEDIA: : Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s 14103-29 09:47:07.106 17894 18044 I IJKMEDIA: 14203-29 09:47:07.106 17894 18044 I IJKMEDIA: Metadata: 14303-29 09:47:07.106 17894 18044 I IJKMEDIA: encoder : 14403-29 09:47:07.106 17894 18044 I IJKMEDIA: Lavc56.26 14503-29 09:47:07.106 17894 18044 I IJKMEDIA: 14603-29 09:47:07.111 17894 18044 I IJKMEDIA: album is null!! 14703-29 09:47:07.115 17894 18044 I IJKMEDIA: artist is null!! 14803-29 09:47:07.119 17894 18044 I IJKMEDIA: title is null!! 14903-29 09:47:07.126 17894 18044 I IJKMEDIA: audio sample_fmt: 6 15003-29 09:47:07.129 17894 18044 I IJKMEDIA: audio sample_rate: 44100 15103-29 09:47:07.129 17894 18044 I IJKMEDIA: audio sample_fmt: 6 15203-29 09:47:07.138 17894 18044 I IJKMEDIA: Input #0, mp3, from '/storage/emulated/0/Android/data/cn.kuwo.player/files/39977da677de464360d3b251ac1ec44f/1517_38e098fc54192fc4b6b82259de324bd8/xzwz.mp3': 15303-29 09:47:07.138 17894 18044 I IJKMEDIA: Metadata: 15403-29 09:47:07.138 17894 18044 I IJKMEDIA: encoder : 15503-29 09:47:07.138 17894 18044 I IJKMEDIA: Lavf56.25.101 15603-29 09:47:07.138 17894 18044 I IJKMEDIA: 15703-29 09:47:07.138 17894 18044 I IJKMEDIA: Duration: 15803-29 09:47:07.138 17894 18044 I IJKMEDIA: 00:00:10.00 15903-29 09:47:07.138 17894 18044 I IJKMEDIA: , start: 16003-29 09:47:07.138 17894 18044 I IJKMEDIA: 0.025057 16103-29 09:47:07.138 17894 18044 I IJKMEDIA: , bitrate: 16203-29 09:47:07.138 17894 18044 I IJKMEDIA: 192 kb/s 16303-29 09:47:07.138 17894 18044 I IJKMEDIA: 16403-29 09:47:07.138 17894 18044 I IJKMEDIA: Stream #0:0 16503-29 09:47:07.139 17894 18044 I IJKMEDIA: : Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s 16603-29 09:47:07.139 17894 18044 I IJKMEDIA: 16703-29 09:47:07.139 17894 18044 I IJKMEDIA: Metadata: 16803-29 09:47:07.139 17894 18044 I IJKMEDIA: encoder : 16903-29 09:47:07.139 17894 18044 I IJKMEDIA: Lavc56.26 17003-29 09:47:07.139 17894 18044 I IJKMEDIA: 17103-29 09:47:07.139 17894 18044 I IJKMEDIA: album is null!! 17203-29 09:47:07.139 17894 18044 I IJKMEDIA: artist is null!! 17303-29 09:47:07.139 17894 18044 I IJKMEDIA: title is null!! 17403-29 09:47:07.139 17894 18044 I IJKMEDIA: audio sample_fmt: 6 17503-29 09:47:07.139 17894 18044 I IJKMEDIA: audio sample_rate: 44100 17603-29 09:47:07.139 17894 18044 I IJKMEDIA: audio sample_fmt: 6 17703-29 09:47:07.174 17894 17975 I KuwoUrl : hit from config file:wapi_host_url 17803-29 09:47:07.174 17894 17975 I KuwoUrl : hit from config file:safe_host_url_n 17903-29 09:47:07.175 17894 17975 I KuwoUrl : hit from config file:safe_artistfeeds_url 18003-29 09:47:07.175 17894 17975 I KuwoUrl : hit from config file:song_image_host 18103-29 09:47:07.175 17894 17975 I KuwoUrl : hit from config file:safe_vip_new_verification_url 18203-29 09:47:07.176 17894 17975 I KuwoUrl : hit from config file:mobile_base_data_host 18303-29 09:47:07.176 17894 17975 I KuwoUrl : hit from config file:safe_get_tingshu_vip_url 18403-29 09:47:07.176 17894 17975 I KuwoAdUrl: hit from config file:safe_mobilead_url 18503-29 09:47:08.064 17894 17894 E KGMVLog : delete filePath: /storage/emulated/0/Android/data/cn.kuwo.player/files/81e7369e8a804ca481e2cc01558f1aed 18603-29 09:47:08.355 17894 19047 W System.err: org.json.JSONException: Value TP of type java.lang.String cannot be converted to JSONObject 18703-29 09:47:08.357 17894 19047 W System.err: at org.json.JSON.typeMismatch(JSON.java:112) 18803-29 09:47:08.357 17894 19047 W System.err: at org.json.JSONObject.(JSONObject.java:168) 18903-29 09:47:08.357 17894 19047 W System.err: at org.json.JSONObject.(JSONObject.java:181) 19003-29 09:47:08.357 17894 19047 W System.err: at cn.kuwo.ui.contentfeedback.ContentFeedbackController.analysisConf(SourceFile:287) 19103-29 09:47:08.357 17894 19047 W System.err: at cn.kuwo.ui.contentfeedback.ContentFeedbackController.sysIsOpenConf(SourceFile:278) 19203-29 09:47:08.357 17894 19047 W System.err: at cn.kuwo.ui.contentfeedback.ContentFeedbackController.access$200(SourceFile:58) 19303-29 09:47:08.357 17894 19047 W System.err: at cn.kuwo.ui.contentfeedback.ContentFeedbackController$2.run(SourceFile:498) 19403-29 09:47:08.357 17894 19047 W System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462) 19503-29 09:47:08.357 17894 19047 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 19603-29 09:47:08.357 17894 19047 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 19703-29 09:47:08.357 17894 19047 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 19803-29 09:47:08.357 17894 19047 W System.err: at cn.kuwo.base.utils.KwThreadPool$b$1.run(SourceFile:329) 19903-29 09:47:08.358 17894 19047 W System.err: at java.lang.Thread.run(Thread.java:929) 20003-29 09:47:08.475 17894 18025 I GED : ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 2, oppidx_max 2, oppidx_min 0 20103-29 09:47:08.479 17894 18025 I GED : ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 2, oppidx_max 2, oppidx_min 0 20203-29 09:47:08.989 17894 19324 E CrashReport-Native: not open trace switch JAR_JNI_VERSION is 1 or dump type is sigquit 20303-29 09:47:09.051 17894 17968 W cn.kuwo.player: No such thread for suspend: 0xb5afd7e0:tangramAdPlugin-5-thread-41 20403-29 09:47:09.084 17894 18309 W TbsSDKExtensionCommonConfig: TbsCommonConfig constructing... 20503-29 09:47:09.087 17894 18309 E TbsSDKExtensionCommonConfig: Get file(/storage/emulated/0/tencent/tbs/cn.kuwo.player/tbsnet.conf) failed! 20603-29 09:47:09.108 19326 19326 W getprop : type=1400 audit(0.0:1465830): avc: denied { map } for pid=19326 path="/dev/__properties__/u:object_r:huawei_perf_persist_public_read_prop:s0" dev="tmpfs" ino=14640 scontext=u:r:untrusted_app_27:s0:c100,c256,c512,c768 tcontext=u:object_r:huawei_perf_persist_public_read_prop:s0 tclass=file permis
jiguangxing1204 commented 2 years ago

1 main

ANR_EXCEPTION 解析原始 com.tencent.mmkv.MMKV.containsKey(Native Method) com.tencent.mmkv.MMKV.containsKey(SourceFile:808) cn.kuwo.base.config.ConfMMKVMgrImpl.a(SourceFile:386) cn.kuwo.base.config.ConfMMKVMgrImpl.a(SourceFile:167) cn.kuwo.base.config.c.a(SourceFile:43)

下面是logcat

mTraversals(ViewRootImpl.java:2816) -- 103-29 09:46:58.032 17894 17894 W System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1876) 203-29 09:46:58.032 17894 17894 W System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8167) 303-29 09:46:58.032 17894 17894 W System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1057) 403-29 09:46:58.032 17894 17894 W System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:875) 503-29 09:46:58.032 17894 17894 W System.err: at android.view.Choreographer.doFrame(Choreographer.java:776) 603-29 09:46:58.032 17894 17894 W System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1042) 703-29 09:46:58.032 17894 17894 W System.err: at android.os.Handler.handleCallback(Handler.java:900) 803-29 09:46:58.032 17894 17894 W System.err: at android.os.Handler.dispatchMessage(Handler.java:103) 903-29 09:46:58.032 17894 17894 W System.err: at android.os.Looper.loop(Looper.java:219) 1003-29 09:46:58.032 17894 17894 W System.err: at android.app.ActivityThread.main(ActivityThread.java:8349) 1103-29 09:46:58.032 17894 17894 W System.err: at java.lang.reflect.Method.invoke(Native Method) 1203-29 09:46:58.032 17894 17894 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) 1303-29 09:46:58.032 17894 17894 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055) 1403-29 09:46:58.081 17894 17894 E cn.kuwo.player: Invalid ID 0x00000000. 1503-29 09:46:58.081 17894 17894 I Resource: printErrorResource, maybe not an error because module has entative action to load resource. 1603-29 09:46:58.081 17894 17894 I Resources_debug: The apk asset path = ApkAssets{path=/system/framework/framework-res.apk} 1703-29 09:46:58.081 17894 17894 I Resources_debug: The apk asset path = ApkAssets{path=/system/framework/framework-res-hwext.apk} 1803-29 09:46:58.081 17894 17894 I Resources_debug: The apk asset path = ApkAssets{path=/hw_product/overlay/frameworkResOverlay.apk} 1903-29 09:46:58.081 17894 17894 I Resources_debug: The apk asset path = ApkAssets{path=/data/app/cn.kuwo.player-nkxzacwcjD7-jTfR5TWohQ==/base.apk} 2003-29 09:46:58.081 17894 17894 I Resources_debug: The apk asset path = ApkAssets{path=/system/emui/base/overlay/frameworkhwexthonor/frameworkhwexthonor.apk} 2103-29 09:46:58.081 17894 17894 I Resources_debug: The apk asset path = ApkAssets{path=/system/priv-app/HwCameraKit/HwCameraKit.apk} 2203-29 09:46:58.082 17894 17894 W System.err: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x0 2303-29 09:46:58.082 17894 17894 W System.err: at android.content.res.ResourcesImpl.getResourceEntryName(ResourcesImpl.java:409) 2403-29 09:46:58.082 17894 17894 W System.err: at android.content.res.Resources.getResourceEntryName(Resources.java:2229) 2503-29 09:46:58.082 17894 17894 W System.err: at com.kuwo.skin.loader.SkinInflaterFactory.a(SourceFile:110) 2603-29 09:46:58.082 17894 17894 W System.err: at com.kuwo.skin.loader.SkinInflaterFactory.onCreateView(SourceFile:46) 2703-29 09:46:58.082 17894 17894 W System.err: at androidx.core.view.LayoutInflaterCompat$Factory2Wrapper.onCreateView(SourceFile:55) 2803-29 09:46:58.082 17894 17894 W System.err: at android.view.LayoutInflater.tryCreateView(LayoutInflater.java:1071) 2903-29 09:46:58.082 17894 17894 W System.err: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1007) 3003-29 09:46:58.082 17894 17894 W System.err: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:971) 3103-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.rInflate(LayoutInflater.java:1133) 3203-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1094) 3303-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.rInflate(LayoutInflater.java:1136) 3403-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1094) 3503-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.inflate(LayoutInflater.java:692) 3603-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.inflate(LayoutInflater.java:536) 3703-29 09:46:58.083 17894 17894 W System.err: at android.view.LayoutInflater.inflate(LayoutInflater.java:483) 3803-29 09:46:58.083 17894 17894 W System.err: at cn.kuwo.show.core.recyclerview.view.ExRvLoadMoreView.(SourceFile:30) 3903-29 09:46:58.083 17894 17894 W System.err: at cn.kuwo.show.ui.kukuhome.base.BaseLiveCategoryListFragment.setLoadMoreView(SourceFile:107) 4003-29 09:46:58.083 17894 17894 W System.err: at cn.kuwo.show.ui.kukuhome.ShowKuKuCategoryFragment.initRecyclerView(SourceFile:235) 4103-29 09:46:58.083 17894 17894 W System.err: at cn.kuwo.show.ui.kukuhome.ShowKuKuCategoryFragment.onCreateView(SourceFile:175) 4203-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.Fragment.performCreateView(SourceFile:2600) 4303-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.FragmentManagerImpl.moveToState(SourceFile:881) 4403-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(SourceFile:1238) 4503-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.BackStackRecord.executeOps(SourceFile:434) 4603-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.FragmentManagerImpl.executeOps(SourceFile:2079) 4703-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(SourceFile:1869) 4803-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(SourceFile:1824) 4903-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.FragmentManagerImpl.execSingleAction(SourceFile:1696) 5003-29 09:46:58.083 17894 17894 W System.err: at androidx.fragment.app.BackStackRecord.commitNow(SourceFile:293) 5103-29 09:46:58.083 17894 17894 W System.err: at androidx.viewpager2.adapter.FragmentStateAdapter.placeFragmentInViewHolder(SourceFile:341) 5203-29 09:46:58.083 17894 17894 W System.err: at androidx.viewpager2.adapter.FragmentStateAdapter.onViewAttachedToWindow(SourceFile:276) 5303-29 09:46:58.083 17894 17894 W System.err: at androidx.viewpager2.adapter.FragmentStateAdapter.onViewAttachedToWindow(SourceFile:67) 5403-29 09:46:58.083 17894 17894 W System.err: at androidx.recyclerview.widget.RecyclerView.dispatchChildAttached(SourceFile:7556) 5503-29 09:46:58.083 17894 17894 W System.err: at androidx.recyclerview.widget.RecyclerView$5.addView(SourceFile:860) 5603-29 09:46:58.591 17894 17894 E libc : Access denied finding property "net.dns1" 5703-29 09:46:59.132 17894 17894 I HwViewRootImpl: removeInvalidNode jank list is null 5803-29 09:46:59.155 17894 17894 I KuwoAdUrl: hit from config file:safe_mobilead_url 5903-29 09:46:59.158 17894 17975 I KuwoAdUrl: hit from config file:safe_mobilead_url 6003-29 09:46:59.161 17894 17975 I KuwoAdUrl: hit from config file:safe_mobilead_url 6103-29 09:46:59.170 17894 18352 W cn.kuwo.player: Unsupported class loader 6203-29 09:46:59.185 17894 17975 I KuwoUrl : hit from config file:wapi_host_url 6303-29 09:46:59.185 17894 17975 I KuwoUrl : hit from config file:safe_host_url_n 6403-29 09:46:59.186 17894 17975 I KuwoUrl : hit from config file:safe_artistfeeds_url 6503-29 09:46:59.186 17894 17975 I KuwoUrl : hit from config file:song_image_host 6603-29 09:46:59.186 17894 17975 I KuwoUrl : hit from config file:safe_vip_new_verification_url 6703-29 09:46:59.187 17894 17975 I KuwoUrl : hit from config file:mobile_base_data_host 6803-29 09:46:59.187 17894 17975 I KuwoUrl : hit from config file:safe_get_tingshu_vip_url 6903-29 09:46:59.187 17894 17975 I KuwoAdUrl: hit from config file:safe_mobilead_url 7003-29 09:46:59.209 17894 19228 E memtrack: Couldn't load memtrack module 7103-29 09:46:59.209 17894 19228 W android.os.Debug: failed to get memory consumption info: -1 7203-29 09:46:59.621 17894 19050 W System.err: org.json.JSONException: End of input at character 0 of 7303-29 09:46:59.622 17894 19050 W System.err: at org.json.JSONTokener.syntaxError(JSONTokener.java:460) 7403-29 09:46:59.622 17894 19050 W System.err: at org.json.JSONTokener.nextValue(JSONTokener.java:101) 7503-29 09:46:59.622 17894 19050 W System.err: at org.json.JSONObject.(JSONObject.java:164) 7603-29 09:46:59.622 17894 19050 W System.err: at org.json.JSONObject.(JSONObject.java:181) 7703-29 09:46:59.622 17894 19050 W System.err: at cn.kuwo.peculiar.specialdialogconfig.o.c(SourceFile:1147) 7803-29 09:46:59.622 17894 19050 W System.err: at cn.kuwo.peculiar.speciallogic.b.d$1.run(SourceFile:87) 7903-29 09:46:59.622 17894 19050 W System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462) 8003-29 09:46:59.622 17894 19050 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 8103-29 09:46:59.622 17894 19050 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 8203-29 09:46:59.622 17894 19050 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 8303-29 09:46:59.622 17894 19050 W System.err: at cn.kuwo.base.utils.KwThreadPool$b$1.run(SourceFile:329) 8403-29 09:46:59.622 17894 19050 W System.err: at java.lang.Thread.run(Thread.java:929) 8503-29 09:46:59.816 17894 18352 W cn.kuwo.player: Insufficient pre-allocated space to mmap vdex. 8603-29 09:46:59.826 17894 17894 I Choreographer: Skipped 38 frames! The application may be doing too much work on its main thread. 8703-29 09:46:59.835 17894 18352 W cn.kuwo.player: Skipping duplicate class check due to unsupported classloader 8803-29 09:46:59.843 17894 17894 I HwViewRootImpl: removeInvalidNode jank list is null 8903-29 09:46:59.854 17894 18352 I cn.kuwo.player: Waiting for a blocking GC ClassLinker 9003-29 09:47:00.046 17894 17894 W System.err: java.lang.IllegalArgumentException: Uri is illegal,Scheme is null or empty 9103-29 09:47:00.046 17894 17894 W System.err: at cn.kuwo.base.b.e.b.a(SourceFile:69) 9203-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.base.b.c.a.b.a(SourceFile:102) 9303-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.base.b.c.a.b.a(SourceFile:51) 9403-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.base.b.c.a.a.a(SourceFile:22) 9503-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.ui.mine.motor.manager.MineAdViewManager.notifyDataSetChanged(SourceFile:124) 9603-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.ui.mine.fragment.MineFragment$16.onMineADMotorListDownloadSuccess(SourceFile:1254) 9703-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.ui.mine.motor.MineAdUtils$1$2.call(SourceFile:44) 9803-29 09:47:00.047 17894 17894 W System.err: at cn.kuwo.core.messagemgr.c$a.run(SourceFile:31) 9903-29 09:47:00.047 17894 17894 W System.err: at android.os.Handler.handleCallback(Handler.java:900) 10003-29 09:47:00.047 17894 17894 W System.err: at android.os.Handler.dispatchMessage(Handler.java:103) 10103-29 09:47:00.047 17894 17894 W System.err: at android.os.Looper.loop(Looper.java:219) 10203-29 09:47:00.047 17894 17894 W System.err: at android.app.ActivityThread.main(ActivityThread.java:8349) 10303-29 09:47:00.047 17894 17894 W System.err: at java.lang.reflect.Method.invoke(Native Method) 10403-29 09:47:00.047 17894 17894 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) 10503-29 09:47:00.047 17894 17894 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055) 10603-29 09:47:00.157 17894 19260 W System.err: android.content.pm.PackageManager$NameNotFoundException: com.t3go.passenger 10703-29 09:47:00.158 17894 19260 W System.err: at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:201) 10803-29 09:47:00.158 17894 19260 W System.err: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:170) 10903-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.apkdownloader.e.a.a(SourceFile:135) 11003-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.apkdownloader.d.a.e(SourceFile:365) 11103-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.apkdownloader.d.a.a(SourceFile:107) 11203-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.apkdownloader.n.a(SourceFile:92) 11303-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.apkdownloader.DownloaderFacade.getStatus(SourceFile:107) 11403-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.router.ApkDownloaderRouterHelper$ApkDownloaderPresenter.getStatus(SourceFile:43) 11503-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.i.d.c(SourceFile:121) 11603-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.base.ad.model.g.h(SourceFile:816) 11703-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.base.ad.c.g.a(SourceFile:101) 11803-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.base.ad.c.g.b(SourceFile:51) 11903-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.base.ad.c.a.a(SourceFile:20) 12003-29 09:47:00.158 17894 19260 W System.err: at com.qq.e.comm.plugin.base.ad.c.a.a(SourceFile:24) 12103-29 09:47:00.158 17894 19260 I chatty : uid=10100(cn.kuwo.player) identical 11 lines 12203-29 09:47:00.393 17894 17912 I chatty : uid=10100(cn.kuwo.player) HeapTaskDaemon expire 1 line 12303-29 09:47:00.393 17894 18352 I chatty : uid=10100(cn.kuwo.player) TP-CPUBound-2 expire 1 line 12403-29 09:47:00.577 17894 17894 I chatty : uid=10100(cn.kuwo.player) expire 2 lines 12503-29 09:47:03.864 17894 17912 I chatty : uid=10100(cn.kuwo.player) HeapTaskDaemon expire 2 lines 12603-29 09:47:07.025 17894 17894 I chatty : uid=10100(cn.kuwo.player) expire 2 lines 12703-29 09:47:07.038 17894 18044 I chatty : uid=10100(cn.kuwo.player) kwThread expire 1 line 12803-29 09:47:07.072 17894 18025 I chatty : uid=10100(cn.kuwo.player) RenderThread expire 1 line 12903-29 09:47:07.078 17894 17894 I chatty : uid=10100(cn.kuwo.player) expire 1 line 13003-29 09:47:07.106 17894 18044 I chatty : uid=10100(cn.kuwo.player) kwThread expire 4 lines 13103-29 09:47:07.106 17894 18044 I IJKMEDIA: 13203-29 09:47:07.106 17894 18044 I IJKMEDIA: Duration: 13303-29 09:47:07.106 17894 18044 I IJKMEDIA: 00:00:09.98 13403-29 09:47:07.106 17894 18044 I IJKMEDIA: , start: 13503-29 09:47:07.106 17894 18044 I IJKMEDIA: 0.025057 13603-29 09:47:07.106 17894 18044 I IJKMEDIA: , bitrate: 13703-29 09:47:07.106 17894 18044 I IJKMEDIA: 192 kb/s 13803-29 09:47:07.106 17894 18044 I IJKMEDIA: 13903-29 09:47:07.106 17894 18044 I IJKMEDIA: Stream #0:0 14003-29 09:47:07.106 17894 18044 I IJKMEDIA: : Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s 14103-29 09:47:07.106 17894 18044 I IJKMEDIA: 14203-29 09:47:07.106 17894 18044 I IJKMEDIA: Metadata: 14303-29 09:47:07.106 17894 18044 I IJKMEDIA: encoder : 14403-29 09:47:07.106 17894 18044 I IJKMEDIA: Lavc56.26 14503-29 09:47:07.106 17894 18044 I IJKMEDIA: 14603-29 09:47:07.111 17894 18044 I IJKMEDIA: album is null!! 14703-29 09:47:07.115 17894 18044 I IJKMEDIA: artist is null!! 14803-29 09:47:07.119 17894 18044 I IJKMEDIA: title is null!! 14903-29 09:47:07.126 17894 18044 I IJKMEDIA: audio sample_fmt: 6 15003-29 09:47:07.129 17894 18044 I IJKMEDIA: audio sample_rate: 44100 15103-29 09:47:07.129 17894 18044 I IJKMEDIA: audio sample_fmt: 6 15203-29 09:47:07.138 17894 18044 I IJKMEDIA: Input #0, mp3, from '/storage/emulated/0/Android/data/cn.kuwo.player/files/39977da677de464360d3b251ac1ec44f/1517_38e098fc54192fc4b6b82259de324bd8/xzwz.mp3': 15303-29 09:47:07.138 17894 18044 I IJKMEDIA: Metadata: 15403-29 09:47:07.138 17894 18044 I IJKMEDIA: encoder : 15503-29 09:47:07.138 17894 18044 I IJKMEDIA: Lavf56.25.101 15603-29 09:47:07.138 17894 18044 I IJKMEDIA: 15703-29 09:47:07.138 17894 18044 I IJKMEDIA: Duration: 15803-29 09:47:07.138 17894 18044 I IJKMEDIA: 00:00:10.00 15903-29 09:47:07.138 17894 18044 I IJKMEDIA: , start: 16003-29 09:47:07.138 17894 18044 I IJKMEDIA: 0.025057 16103-29 09:47:07.138 17894 18044 I IJKMEDIA: , bitrate: 16203-29 09:47:07.138 17894 18044 I IJKMEDIA: 192 kb/s 16303-29 09:47:07.138 17894 18044 I IJKMEDIA: 16403-29 09:47:07.138 17894 18044 I IJKMEDIA: Stream #0:0 16503-29 09:47:07.139 17894 18044 I IJKMEDIA: : Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s 16603-29 09:47:07.139 17894 18044 I IJKMEDIA: 16703-29 09:47:07.139 17894 18044 I IJKMEDIA: Metadata: 16803-29 09:47:07.139 17894 18044 I IJKMEDIA: encoder : 16903-29 09:47:07.139 17894 18044 I IJKMEDIA: Lavc56.26 17003-29 09:47:07.139 17894 18044 I IJKMEDIA: 17103-29 09:47:07.139 17894 18044 I IJKMEDIA: album is null!! 17203-29 09:47:07.139 17894 18044 I IJKMEDIA: artist is null!! 17303-29 09:47:07.139 17894 18044 I IJKMEDIA: title is null!! 17403-29 09:47:07.139 17894 18044 I IJKMEDIA: audio sample_fmt: 6 17503-29 09:47:07.139 17894 18044 I IJKMEDIA: audio sample_rate: 44100 17603-29 09:47:07.139 17894 18044 I IJKMEDIA: audio sample_fmt: 6 17703-29 09:47:07.174 17894 17975 I KuwoUrl : hit from config file:wapi_host_url 17803-29 09:47:07.174 17894 17975 I KuwoUrl : hit from config file:safe_host_url_n 17903-29 09:47:07.175 17894 17975 I KuwoUrl : hit from config file:safe_artistfeeds_url 18003-29 09:47:07.175 17894 17975 I KuwoUrl : hit from config file:song_image_host 18103-29 09:47:07.175 17894 17975 I KuwoUrl : hit from config file:safe_vip_new_verification_url 18203-29 09:47:07.176 17894 17975 I KuwoUrl : hit from config file:mobile_base_data_host 18303-29 09:47:07.176 17894 17975 I KuwoUrl : hit from config file:safe_get_tingshu_vip_url 18403-29 09:47:07.176 17894 17975 I KuwoAdUrl: hit from config file:safe_mobilead_url 18503-29 09:47:08.064 17894 17894 E KGMVLog : delete filePath: /storage/emulated/0/Android/data/cn.kuwo.player/files/81e7369e8a804ca481e2cc01558f1aed 18603-29 09:47:08.355 17894 19047 W System.err: org.json.JSONException: Value TP of type java.lang.String cannot be converted to JSONObject 18703-29 09:47:08.357 17894 19047 W System.err: at org.json.JSON.typeMismatch(JSON.java:112) 18803-29 09:47:08.357 17894 19047 W System.err: at org.json.JSONObject.(JSONObject.java:168) 18903-29 09:47:08.357 17894 19047 W System.err: at org.json.JSONObject.(JSONObject.java:181) 19003-29 09:47:08.357 17894 19047 W System.err: at cn.kuwo.ui.contentfeedback.ContentFeedbackController.analysisConf(SourceFile:287) 19103-29 09:47:08.357 17894 19047 W System.err: at cn.kuwo.ui.contentfeedback.ContentFeedbackController.sysIsOpenConf(SourceFile:278) 19203-29 09:47:08.357 17894 19047 W System.err: at cn.kuwo.ui.contentfeedback.ContentFeedbackController.access$200(SourceFile:58) 19303-29 09:47:08.357 17894 19047 W System.err: at cn.kuwo.ui.contentfeedback.ContentFeedbackController$2.run(SourceFile:498) 19403-29 09:47:08.357 17894 19047 W System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462) 19503-29 09:47:08.357 17894 19047 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 19603-29 09:47:08.357 17894 19047 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 19703-29 09:47:08.357 17894 19047 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 19803-29 09:47:08.357 17894 19047 W System.err: at cn.kuwo.base.utils.KwThreadPool$b$1.run(SourceFile:329) 19903-29 09:47:08.358 17894 19047 W System.err: at java.lang.Thread.run(Thread.java:929) 20003-29 09:47:08.475 17894 18025 I GED : ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 2, oppidx_max 2, oppidx_min 0 20103-29 09:47:08.479 17894 18025 I GED : ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 2, oppidx_max 2, oppidx_min 0 20203-29 09:47:08.989 17894 19324 E CrashReport-Native: not open trace switch JAR_JNI_VERSION is 1 or dump type is sigquit 20303-29 09:47:09.051 17894 17968 W cn.kuwo.player: No such thread for suspend: 0xb5afd7e0:tangramAdPlugin-5-thread-41 20403-29 09:47:09.084 17894 18309 W TbsSDKExtensionCommonConfig: TbsCommonConfig constructing... 20503-29 09:47:09.087 17894 18309 E TbsSDKExtensionCommonConfig: Get file(/storage/emulated/0/tencent/tbs/cn.kuwo.player/tbsnet.conf) failed! 20603-29 09:47:09.108 19326 19326 W getprop : type=1400 audit(0.0:1465830): avc: denied { map } for pid=19326 path="/dev/__properties__/u:object_r:huawei_perf_persist_public_read_prop:s0" dev="tmpfs" ino=14640 scontext=u:r:untrusted_app_27:s0:c100,c256,c512,c768 tcontext=u:object_r:huawei_perf_persist_public_read_prop:s0 tclass=file permis
lingol commented 2 years ago

First of all, your logcat contains nothing about MMKV. Did you turn off MMKV's logging? Don't do that.

Now, about your ANR. You don't provide symbolized native call stacks. There's absolutely nothing we can do to diagnose it any further.

lingol commented 2 years ago

Let me mind you, when you complain about ANR, you should always provide symbolized native call stacks, as well as call stacks from other threads, not just the main thread.

jiguangxing1204 commented 2 years ago

又找了一个崩溃手机,现在发现 当主线程出现崩溃时,肯定有一个子线程也崩溃在这里,如下:

1 main

ANR_EXCEPTION 解析原始 com.tencent.mmkv.MMKV.containsKey(Native Method) com.tencent.mmkv.MMKV.containsKey(SourceFile:808) cn.kuwo.base.config.ConfMMKVMgrImpl.a(SourceFile:386) cn.kuwo.base.config.ConfMMKVMgrImpl.a(SourceFile:167) cn.kuwo.base.config.c.a(SourceFile:43) cn.kuwo.base.log.j.a(SourceFile:157) cn.kuwo.base.log.j.a(SourceFile:130) cn.kuwo.base.log.j.a(SourceFile:125) cn.kuwo.base.log.i.a(SourceFile:30) cn.kuwo.base.log.d.a(SourceFile:60) cn.kuwo.mod.mobilead.freemode.HeadFreeModeView.sendShowLog(SourceFile:106) cn.kuwo.mod.mobilead.freemode.FreeModeViewController$2.updateFreeMode(SourceFile:85) cn.kuwo.mod.mobilead.freemode.FreeModeManager$5$1.call(SourceFile:229) cn.kuwo.core.messagemgr.c$a.run(SourceFile:31) android.os.Handler.handleCallback(Handler.java:900) android.os.Handler.dispatchMessage(Handler.java:103) android.os.Looper.loop(Looper.java:219) android.app.ActivityThread.main(ActivityThread.java:8349) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)

23660 kwThread

com.tencent.mmkv.MMKV.containsKey(Native Method) com.tencent.mmkv.MMKV.containsKey(SourceFile:808) cn.kuwo.base.config.ConfMMKVMgrImpl.a(SourceFile:386) cn.kuwo.base.config.ConfMMKVMgrImpl.a(SourceFile:128) cn.kuwo.base.config.c.a(SourceFile:27) cn.kuwo.base.utils.ab.a(SourceFile:183) cn.kuwo.base.utils.ba.a(SourceFile:63) cn.kuwo.mod.local.DirectoryScanner$ThreadRecognize.run(SourceFile:192) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462) java.util.concurrent.FutureTask.run(FutureTask.java:266) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) cn.kuwo.base.utils.KwThreadPool$b$1.run(SourceFile:329) java.lang.Thread.run(Thread.java:929)

23969 kwThread

com.tencent.mmkv.MMKV.encodeString(Native Method) com.tencent.mmkv.MMKV.encode(SourceFile:660) cn.kuwo.base.config.ConfMMKVMgrImpl.a(SourceFile:339) cn.kuwo.base.config.ConfMMKVMgrImpl.a(SourceFile:283) cn.kuwo.base.config.ConfMMKVMgrImpl.a(SourceFile:43) cn.kuwo.base.config.ConfMMKVMgrImpl$a$1.run(SourceFile:546) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462) java.util.concurrent.FutureTask.run(FutureTask.java:266) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) cn.kuwo.base.utils.KwThreadPool$b$1.run(SourceFile:329) java.lang.Thread.run(Thread.java:929)

lingol commented 2 years ago

Still no symbolized native call stacks.

lingol commented 2 years ago

Closed due to lack of information. Come back when you have symbolized native call stacks.