Closed darrentaft closed 2 years ago
Hi @darrentaft, thanks for the report. I'm looking into it.
It looks like something is happening that's causing an IllegalStateException
instead of an IOException
when attempting to read from a closed stream. We haven't changed the file downloading logic in the SDK in quite some time, so it's not clear to me why that would occur all of a sudden, but it could potentially be related to Firebase Performance instrumentation. In any case, we shouldn't be crashing here and will include a fix to make file downloads more defensive in the next SDK release, later this week.
If you don't mind sharing, what does Firebase report for the number of users impacted?
Only 64 crashes for 62 users, between August 5th and 7th. None since, so possibly related to a specific push notification or IAA?
@darrentaft v16.7.1
just went out and includes a change to address this crash. I unfortunately wasn't able to reproduce, but the fact that it seems to be a fleeting issue makes me wonder if it was related to network conditions?
❗For how-to inquiries involving Airship functionality or use cases, please contact (support)[https://support.airship.com/].
Preliminary Info
What Airship dependencies are you using?
com.urbanairship.android:urbanairship-fcm:16.7.0 com.urbanairship.android:urbanairship-automation:16.7.0 com.urbanairship.android:urbanairship-message-center:16.7.0
What are the versions of any relevant development tools you are using?
N/A
Report
What unexpected behavior are you seeing?
We're receiving crash reports in our latest app update, which includes 16.7.0 SDK update. Crash signature as follows:
What is the expected behavior?
No crashes
What are the steps to reproduce the unexpected behavior?
Steps are unknown, however the crashes are mostly occurring within a few seconds of launching the app (and initialising the SDK). Firebase reports that 8% of crashes are when the app was in the background. 100% of crashes are on Samsung devices (many different models). Mostly even split across Android 8, 9, and 10, with small numbers on 7 and 11. No reports from 12 or 13 so far.
Do you have logging for the issue?