Timeout of broadcast BroadcastRecord using Firebase Crash services

2,179 views
Skip to first unread message

Francisco García Sierra

unread,
Jun 2, 2016, 2:02:43 PM6/2/16
to Firebase Google Group

I just added Firebase to my app with the idea of use the Crash control service and Analytics. Everything looks fine, until I close my app from Home button, and then I access to it again. After that sometimes, my app is totally Frozen, Any response, any error and the only log that I can get from my logcat is:

01-01 15:55:40.600  1236  1262 W BroadcastQueue: Timeout of broadcast BroadcastRecord{fb70722 u0 com.google.firebase.INSTANCE_ID_EVENT} - receiver=android.os.BinderProxy@b6695b3, started 60009ms ago
01-01 15:55:40.600  1236  1262 W BroadcastQueue: Receiver during timeout: ResolveInfo{7bc7770 com.bq.camerabq/com.google.firebase.iid.FirebaseInstanceIdInternalReceiver m=0x0}
01-01 15:55:40.647  1236  1262 I ActivityManager: Skipping duplicate ANR: ProcessRecord{ce79b34 8173:com.bq.camerabq/u0a96} Broadcast of Intent { act=com.google.firebase.INSTANCE_ID_EVENT flg=0x14 cmp=com.bq.camerabq/com.google.firebase.iid.FirebaseInstanceIdInternalReceiver (has extras) }

I also have this error when I start my app for the first time, but I saw in this post that It always happend, is a Firebase common error(Fail to read module...Firebase) :

01-01 16:18:33.155  2149  2149 D FirebaseApp: Initialized class com.google.firebase.auth.FirebaseAuth.
01-01 16:18:33.163  2149  2149 D FirebaseApp: Initialized class com.google.firebase.iid.FirebaseInstanceId.
01-01 16:18:33.167  2149  2186 E DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.firebase.auth.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/com.bq.camerabq-1/base.apk"],nativeLibraryDirectories=[/data/app/com.bq.camerabq-1/lib/arm, /data/app/com.bq.camerabq-1/base.apk!/lib/armeabi, /vendor/lib, /system/lib]]
01-01 16:18:33.219  2149  2149 E FirebaseCrash: com.google.firebase.crash.internal.zzg$zza: com.google.android.gms.internal.zzqi$zza: No acceptable module found. Local version is 0 and remote version is 0.
01-01 16:18:33.219  2149  2149 E FirebaseCrash:     at com.google.firebase.crash.internal.zzg.zzah(Unknown Source)
01-01 16:18:33.219  2149  2149 E FirebaseCrash:     at com.google.firebase.crash.FirebaseCrash.<init>(Unknown Source)
01-01 16:18:33.219  2149  2149 E FirebaseCrash:     at com.google.firebase.crash.FirebaseCrash.getInstance(Unknown Source)
01-01 16:18:33.219  2149  2149 E FirebaseCrash:     at com.google.firebase.FirebaseApp.zza(Unknown Source)
01-01 16:18:33.219  2149  2149 E FirebaseCrash:     at com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
01-01 16:18:33.219  2149  2149 E FirebaseCrash:     at com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
01-01 16:18:33.219  2149  2149 E FirebaseCrash:     at com.google.firebase.FirebaseApp.zzbu(Unknown Source)
01-01 16:18:33.219  2149  2149 E FirebaseCrash:     at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source)
01-01 16:18:33.219  2149  2149 E FirebaseCrash:     at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
01-01 16:18:33.219  2149  2149 D FirebaseApp: Initialized class com.google.firebase.crash.FirebaseCrash.

I know that it's firebase integration cause I tried to revert my last commit with firebase integration and this error never happend, in any device. I just added the next lines to my gradle:

compile 'com.google.firebase:firebase-core:9.0.0'
compile 'com.google.firebase:firebase-crash:9.0.0'
compile 'com.google.android.gms:play-services:9.0.0'

and the google services plugin:

apply plugin: 'com.google.gms.google-services'

Of course, I also added my google services file to my app. So to be honest, I don't know what is happening here. I searched a lot about this problem but i didn't find so much about it. Just a post from a guy with a similar problem than me, but for him it's happening using Cordova and angular with firebase, in my case is an Android app. Anyway, he didn't find a solution to hNo connection on Resume Firebase+Cordova

Hope that someone can give me a hand. Thank you so much!

Doug Stevenson

unread,
Jun 2, 2016, 4:56:04 PM6/2/16
to Firebase Google Group
Francisco,

The second logcat with the message with "No acceptable module found" suggests that you're trying to use Firebase is an app on a device (emulator?) that doesn't have Play Services.  This is currently not a supported use case.  However, if you are using a device with Play Services 9.0 or later, this would surprise me.

The ANR I've never heard of before.  I'd need more of a dump of the ANR details to understand what might be happening there.

Doug

Francisco García Sierra

unread,
Jun 6, 2016, 9:40:06 AM6/6/16
to Firebase Google Group
Hi Doug,

I'm using a Device with Play Services 9.0.0. It's an Camera application, we were using NewReliq in the past and now we just switched to firebase and we are getting a lot of errors like this. We just added the lines to the gradle, that's all. Cause we are not using databases, just crash reports and analytics.

Doug Stevenson

unread,
Jun 7, 2016, 8:25:53 PM6/7/16
to fireba...@googlegroups.com
That's right, the error message about ModuleDescriptor is not really an error and you can ignore it.

If you can reproduce the ANR with some regularity, could you please file a bug report with as much log as you are willing to share at:


I can't find anything else that looks like this.

Thank you!

Doug

--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/Z4vqS1Ml3N4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/4228b730-e282-449d-be61-95b585bdfcb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ranjeev Mahtani

unread,
Jun 13, 2016, 9:16:37 PM6/13/16
to Firebase Google Group
Hi all,

Just wanted to chime in saying I've been facing this problem as well as of perhaps a week now. This is without any changes to Firebase related code in my project (dependencies may have been updated, I don't recall. I'm now at com.firebase:firebase-client-android:2.5.2). The behavior is exactly as Francisco describes: my app goes ANR and crashes on going home and then trying to return to it. The relevant log output is: 

ANR in (my app package name)
                                                PID: ####
                                                Reason: Broadcast of Intent { act=com.google.firebase.INSTANCE_ID_EVENT flg=0x14 cmp=(my app package name)/com.google.firebase.iid.FirebaseInstanceIdInternalReceiver (has extras) 

Would love to hear of any known fixes for this.

Cheers,
Ranjeev

liberto...@zappingconsulting.com

unread,
Jun 15, 2016, 11:13:18 AM6/15/16
to Firebase Google Group
Hello,

I have the same exactly the same problem that has Francisco.

Any solutions?

Thanks,

Doug Stevenson

unread,
Jun 15, 2016, 2:57:52 PM6/15/16
to Firebase Google Group
Thanks, everyone, for letting us know you're having problems with this.  We now have an open issue internally to investigate this ANR and I'm working with the engineers of the FirebaseInstanceIdInternalReceiver component that appears to be hanging.

Doug

Shinki Hong

unread,
Sep 14, 2016, 9:14:03 PM9/14/16
to Firebase Google Group
Hi, 
I have the same issue and it only happens for Lollipop or higher. My app just starts up right away on Kitkat, on L, M and N, the first launch takes more than a minute to get to the first activity.
Please fix this issue!

Doug Stevenson

unread,
Sep 15, 2016, 12:25:01 AM9/15/16
to fireba...@googlegroups.com
Shinki,

That's actually a different problem.  It affects only the devices that received Play services 9.6.80 that use Firebase Crash Reporting.  A fix is currently being tested and will be available in 9.6.83 coming soon.  Sorry about the difficulty.

Doug

--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/Z4vqS1Ml3N4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Gaurang Kanvinde

unread,
Sep 15, 2016, 11:30:12 AM9/15/16
to Firebase Google Group

Thanks Doug, for fixing it at the earliest.

I am also facing the same problem reported by Ranjeev and Shinki. The app (current version live on the playstore for a month now) takes about a minute to get to the first activity, the first time I open it after downloading. Second-time open onwards is very fast.

I am using components of play-services 9.2.1 in the app.

Thanks,
Gaurang.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.

Shinki Hong

unread,
Sep 15, 2016, 6:26:05 PM9/15/16
to Firebase Google Group
Yep, you're right. I found my kitkat devices had play service 9.4 installed. So, Android version has nothing to do with the issue. 
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.

Omar Miatello

unread,
Sep 16, 2016, 10:12:39 AM9/16/16
to Firebase Google Group
All my devices with Play Services 9.6.80 has the same issue.

How to reproduce:
- Install or clear data
- first start ANR (it takes more than 60s to start)

Doug Stevenson

unread,
Sep 16, 2016, 12:41:10 PM9/16/16
to fireba...@googlegroups.com
Omar,

A fix for this is in Play services 8.6.83 is gradually rolling out to devices right now.

Doug


To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Doug Stevenson

unread,
Sep 16, 2016, 12:41:18 PM9/16/16
to fireba...@googlegroups.com
Typo -I meant 9.6.83
Reply all
Reply to author
Forward
0 new messages