Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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::Vector<android::String8> const&, bool)+1032)
5 app_process64(main+1368)
6 libc.so(__libc_init+96) 

What does this ANR mean?
Thank you in advance.

like image 616
Chamith Thisaranga Avatar asked Dec 05 '25 20:12

Chamith Thisaranga


1 Answers

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.

like image 103
Zubair Qureshi Avatar answered Dec 07 '25 14:12

Zubair Qureshi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!