facebook / facebook-android-sdk

Used to integrate Android apps with Facebook Platform.
https://developers.facebook.com/docs/android
Other
6.17k stars 3.66k forks source link

ANR: Input dispatching timed out (8a3ddeb com.picsart.studio/com.facebook.FacebookActivity (server) is not responding. Waited 5002ms #1225

Open robertpicsart opened 1 year ago

robertpicsart commented 1 year ago

Checklist before submitting a bug report

Java version

17

Android version

Android 10 - 14

Android SDK version

16.2.0

Installation platform & version

Gradle

Package

Login

Goals

Logout

Expected results

Logout from facebook

Actual results

ANR: Input dispatching timed out (8a3ddeb com.picsart.studio/com.facebook.FacebookActivity (server) is not responding. Waited 5002ms for FocusEvent(hasFocus=true)) libc.so +0xd8544 __ioctl libc.so +0x93140 ioctl libbinder.so +0x45ab0 android::IPCThreadState::talkWithDriver(bool) libbinder.so +0x46c88 android::IPCThreadState::waitForResponse(android::Parcel, int) libbinder.so +0x469d4 android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel, unsigned int) libbinder.so +0x3e908 android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel, unsigned int) libandroid_runtime.so +0x1633f4 android_os_BinderProxy_transact(_JNIEnv, _jobject, int, _jobject, _jobject, int) libart.so +0x34aa2c art_quick_generic_jni_trampoline

android.os.BinderProxy.transactNative (BinderProxy.java:-2) android.os.BinderProxy.transact (BinderProxy.java:629) android.app.IActivityManager$Stub$Proxy.addPackageDependency (IActivityManager.java:7843) android.webkit.WebViewFactory.getWebViewContextAndSetProvider (WebViewFactory.java:434) android.webkit.WebViewFactory.getProviderClass (WebViewFactory.java:493) android.webkit.WebViewFactory.getProvider (WebViewFactory.java:348) android.webkit.CookieManager.getInstance (CookieManager.java:50) android.webkit.CookieSyncManager.sync (CookieSyncManager.java:112) com.facebook.internal.Utility.clearCookiesForDomain (Utility.kt:439) com.facebook.internal.Utility.clearFacebookCookies (Utility.kt:460) com.facebook.AccessTokenManager.setCurrentAccessToken (AccessTokenManager.kt:87) com.facebook.AccessTokenManager.setCurrentAccessToken (AccessTokenManager:36) com.facebook.AccessToken$Companion.setCurrentAccessToken (AccessToken.kt:427) com.facebook.login.LoginManager.logOut (LoginManager.kt:357) ### Steps to reproduce Try to logout when the internet speed is very low. ### Code samples & details _No response_
BIGCATDOG commented 5 months ago

@jawwad Can you take a look at this issue? It has cause a plenty of anr issue on our game. Thank you a lot.