ANR in MMKV
The language of MMKV
Java
The version of MMKV
v1.1.0
The platform of MMKV
Android
The installation of MMKV
Maven
ANR Input dispatching timed out (Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.)
1 com.tencent.mmkv.MMKV.long getMMKVWithID(java.lang.String,int,java.lang.String,java.lang.String)(Native Method)
2 com.tencent.mmkv.MMKV.com.tencent.mmkv.MMKV mmkvWithID(java.lang.String)(MMKV.java:155)
3 com.star.util.mmkv.MMKVUtil.void
Logs please.
#1 main
Input dispatching timed out
ANR Input dispatching timed out (Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.)
1 com.tencent.mmkv.MMKV.long getMMKVWithID(java.lang.String,int,java.lang.String,java.lang.String)(Native Method)
2 com.tencent.mmkv.MMKV.com.tencent.mmkv.MMKV mmkvWithID(java.lang.String)(MMKV.java:155)
3 com.star.util.mmkv.MMKVUtil.void
I mean Logs from Logcat.
抱歉!这是我们线上Bugly平台反馈的!只有这么多信息!
Well, I can't help you with that limited info.
好吧,你需要的是还原这个bug的所有Logcat日志信息是吧?
That would be very helpful.
目前我们自己无法还原,我们尽量尝试吧!后续有最新情况会回复您的!谢谢!
Hi, have you collected helpful logs yet?
抱歉,目前仍然没有!
On 5/13/2020 13:58,Guo Ling[email protected] wrote:
Logs please.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Still no updates?
If there's still no more information, I will have to close this inactive issue.
抱歉,目前仍然没有! On 5/13/2020 13:58,Guo Ling[email protected] wrote: Logs please. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
我也遇到了这个问题 由bugly反馈 你有解决方案吗
抱歉,目前仍然没有! On 5/13/2020 13:58,Guo Ling[email protected] wrote: Logs please. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
我也遇到了这个问题 由bugly反馈 你有解决方案吗
The requirement is still the same. We need logs from MMKV when this ANR happens, to further diagnose the problem.
Any prefix of mmkv log or ways make mmkv to print more log? Sadly I can't find any log printed from mmkv expect anr stack
https://blog.csdn.net/xiaobaaidaba123/article/details/127834494?spm=1001.2014.3001.5501 4. com.tencent.mmkv.MMKV.getMMKVWithID ANR
this helps me : preload can avoid om.tencent.mmkv.MMKV.long getMMKVWithID anr
We also encounter similar issues. are these logs sufficient? The file size is not large, but it seems to occur more easily when high CPU load and there are muti mmkv files to open, such as during a cold launch.
The language of MMKV Java
The version of MMKV v1.2.12
The platform of MMKV Android
"main" prio=5 tid=1 Native
| group="main" sCount=1 ucsCount=0 flags=1 obj=0x715af0c8 self=0xb4000070e7a8bc00
| sysTid=13702 nice=-10 cgrp=default sched=0/0 handle=0x718c9874f8
| state=S schedstat=( 1266727187 524768432 1665 ) utm=63 stm=62 core=3 HZ=100
| stack=0x7fd6532000-0x7fd6534000 stackSize=8188KB
| held mutexes=
native: #00 pc 0000000000088270 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32) Retrace Result: ()
native: #01 pc 000000000028dc74 /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+152) Retrace Result: ()
native: #02 pc 00000000004abc28 /apex/com.android.art/lib64/libart.so (art::JNI