-
Notifications
You must be signed in to change notification settings - Fork 616
ANR Broadcast of Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10000010 | com.google.firebase.iid.FirebaseInstanceIdReceiver (has extras) } #3059
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @saumilvaghelaGS this is definitely very strange. Could you try out the latest version (28.4.2) of Firebase and see if you get the same behavior? Thanks! |
I got this issues too. I have updated Firebase(BOM) to version 28.4.2 & Admob to version 20.4.0. Still got huge amount of ARN. Before upgrade to Firebase BOM, I'm using following Firebase library (with out any ARN).
Then I changed to (lot of ARN).
|
Hey @saumilvaghelaGS. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
I have huge amount of ANRs related with this as well:
Here are the versions I use:
Any idea what the issue might be? |
Also running into this issue on our production app for about a month. Our notifications are data-only with
We are actually getting two different ANRs:
My assumption is that they are both the same problem but the second one shows up because our app is written in React Native and we use rnfirebase which at the end just implements this sdk. We've also noticed that this issue seems to be primarly happening on lower end devices such as: Initially we thought the problem is with how we process our notifications because there is a time consuming task that we run, but we've optimized it as best as we could and now the process doesn't run any longer than 5 seconds even on the slowest device we could find. Another thing we tried was to block these lower end devices from recieving notifications in our react native app, but we are still getting ANRs from them even tho our metrics show that these devices don't actually process the notifications anymore so our time consuming code doesn't even run on them. On other devices that still recieve notifications we've observed an avarage of 600ms to process notifications and the slowest one so far was about 3.25s. Just out of curiosity we disabled dispatching of notifications from our backend for about a day and for that one day we had 0 ANRs. Android versions don't seem to matter, we are seeing most of them on Android 9 but right behind is Android 10 & 11 I also tried logging an emulator and a real device with logcat to see if I can find any errors when the app recieves a notification, but no luck. Majority of our ANR reports don't have a stack trace, but when they do it's always the same:
|
Hey @saumilvaghelaGS. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @saumilvaghelaGS if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
this is my anr . 2021-11-29 17:20:53.007 3522-18923/? I/Authzen: [ProximitySyncManager] Generating new permitaccess {"publicKey":"CAESRgohAPafQ96rHmoGYMtKxb33VhtjcoI0kbileXZwdB1oqhm0EiEA9Q4CYAiq3voJPQmvr8ws_SG06hVF_QWNmbB9RM_PLY4=", login google account from othe devies ,the app login by this account with firebase may anr |
Hi @huangqinpingV1, since this was previously closed, it was discussed that this should be a separate issue instead. With that said, please open a new ticket for your issue, thanks! |
[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs in the code in this repository.
If you have a general question, need help debugging, or fall into some
other category use one of these other channels:
with the firebase tag.
google group.
of the above categories, reach out to the personalized
Firebase support channel.
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Getting So many ANRs due to Broadcast of Intent
Broadcast of Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10000010 pkg=com.gspeaks.mypandit cmp=com.gspeaks.mypandit/com.google.firebase.iid.FirebaseInstanceIdReceiver (has extras) }
Steps to reproduce:
What happened? How can we make the problem occur?
Type: "main" prio=5 tid=1 Native
#00 pc 0000000000017638 /system/lib/libc.so (syscall+28)
#00 pc 00000000000f59cd /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+80)
#00 pc 0000000000278441 /system/lib/libart.so (art::JNI::GetByteArrayElements(_JNIEnv*, _jbyteArray*, unsigned char*)+832)
#00 pc 0000000000009285 /system/lib/libjavacrypto.so (???)
#00 pc 0000000000009597 /system/lib/libjavacrypto.so (???)
#00 pc 00000000004d1a9b /system/framework/arm/boot.oat (Java_com_android_org_conscrypt_NativeCrypto_EVP_1DigestUpdate__Lcom_android_org_conscrypt_NativeRef_00024EVP_1MD_1CTX_2_3BII+134)
at com.android.org.conscrypt.NativeCrypto.EVP_DigestUpdate (Native method)
at com.android.org.conscrypt.OpenSSLMessageDigestJDK.engineUpdate (OpenSSLMessageDigestJDK.java:84)
at java.security.MessageDigest$MessageDigestImpl.engineUpdate (MessageDigest.java:410)
at java.security.MessageDigest.update (MessageDigest.java:208)
at com.android.org.bouncycastle.crypto.digests.OpenSSLDigest.update (OpenSSLDigest.java:63)
at com.android.org.bouncycastle.crypto.macs.HMac.doFinal (HMac.java:208)
at com.android.org.bouncycastle.crypto.generators.PKCS5S2ParametersGenerator.F (PKCS5S2ParametersGenerator.java:69)
at com.android.org.bouncycastle.crypto.generators.PKCS5S2ParametersGenerator.generateDerivedKey (PKCS5S2ParametersGenerator.java:100)
at com.android.org.bouncycastle.crypto.generators.PKCS5S2ParametersGenerator.generateDerivedParameters (PKCS5S2ParametersGenerator.java:119)
at com.android.org.bouncycastle.crypto.generators.PKCS5S2ParametersGenerator.generateDerivedMacParameters (PKCS5S2ParametersGenerator.java:155)
at com.android.org.bouncycastle.jcajce.provider.symmetric.util.PBE$Util.makePBEMacParameters (PBE.java:329)
at com.android.org.bouncycastle.jcajce.provider.digest.SHA1$BasePBKDF2WithHmacSHA1.engineGenerateSecret (SHA1.java:141)
at javax.crypto.SecretKeyFactory.generateSecret (SecretKeyFactory.java:187)
at com.freshchat.consumer.sdk.b.h.a (unavailable)
at com.freshchat.consumer.sdk.b.h.k (unavailable)
at com.freshchat.consumer.sdk.b.h. (unavailable)
at com.freshchat.consumer.sdk.j.i.ap (unavailable)
at com.freshchat.consumer.sdk.j.i. (unavailable)
at com.freshchat.consumer.sdk.b.e. (unavailable)
at com.freshchat.consumer.sdk.b.e.i (unavailable)
at com.freshchat.consumer.sdk.Freshchat.init (unavailable)
at com.gspeaks.mypandit.AppClass.initialiseFreshchat (AppClass.java:415)
at com.gspeaks.mypandit.AppClass.initFreshchat (AppClass.java:205)
at com.gspeaks.mypandit.AppClass.onCreate (AppClass.java:155)
at android.app.Instrumentation.callApplicationOnCreate (Instrumentation.java:1037)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:6422)
at android.app.ActivityThread.-wrap5 (ActivityThread.java)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1887)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:148)
at android.app.ActivityThread.main (ActivityThread.java:7325)
at java.lang.reflect.Method.invoke! (Native method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)
Type: "FinalizerWatchdogDaemon" daemon prio=5 tid=3 Sleeping
at java.lang.Thread.sleep! (Native method)
at java.lang.Thread.sleep (Thread.java:1031)
at java.lang.Thread.sleep (Thread.java:985)
at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor (Daemons.java:288)
at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization (Daemons.java:299)
at java.lang.Daemons$FinalizerWatchdogDaemon.run (Daemons.java:247)
at java.lang.Thread.run (Thread.java:818)
Relevant Code:
We are getting ANR in the google play console
The text was updated successfully, but these errors were encountered: