art::ConditionVariable::WaitHoldingLocks(art::Thread*)

5.3k Views Asked by At

Our mobile app is published in the Google play store. The Crashes and ANR report is generated in Firebase Crashlytics. There is an ANR shown as below.

0 libc.so (syscall+28)

1 libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+140)

2 libart.so (art::ThreadList::WaitForOtherNonDaemonThreadsToExit(bool)+336)

3 libart.so (art::JII::DestroyJavaVM(_JavaVM*)+32)

4 libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vectorandroid::String8 const&, bool)+1032)

5 app_process64 (main+1368)

6 libc.so (__libc_init+96)

What does this ANR mean?
Thank you in advance.

1

There are 1 best solutions below

3
On

I believe it has a connection with some routine added in mobile app which is preventing screen from sleep. For example: If your mobile app used the following code to prevent the screen from sleep "getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);" This issue is not device specific, I also experience this on Samsung Galaxy active tab with Android 11 running on it. You should give it a try by removing any screen prevention code. Thank you.