Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Issue Summary
We identified a critical crash pattern in Firebase Crashlytics reports, where a small subset of users experienced an unusually high repeated crash. All crashes occur during the application creation. We found the same pattern in multiple applications in our company.
Those crashes happen because of device-specific issues (incompatible Google Play Service or corruption). The reason why the app crashes is understandable, but the main problem we are looking into is why the app repeatedly crashes & relaunched.
Investigation
Observations
Reproduction Steps
To investigate the issue, we:
Root Cause
The investigation revealed that: While the app crashes during app launch, it is scheduled to re-launch the JobInfoSchedulerService after a period, and Firebase used it.
I understand that JobInfoSchedulerService is a JobService. If a JobService hasn't completed its work (returns false from onStopJob()), the system will automatically reschedule the job for later, and it causes the repeated relaunched.
Since crashes happen during Application creation, any scheduled jobs, broadcast receivers, or push notifications might trigger this crash loop.
Our questions are:
Resource