Crash when granting permission to schedule exact alarms #8516
Labels
type: bug
Something is causing incorrect behavior or errors
type: crash
Issues that involve fixing a crash or ANR
Checklist
App
Thunderbird for Android
App version
8.0
Where did you get the app from?
None
Android version
various
Device model
No response
Steps to reproduce
We received this crash via the Google Play Developer Console. There are no comments attached on how to reliably reproduce this crash.
Expected behavior
No crash
Actual behavior
The app crashes.
It looks like the database is accessed when it had already been closed. Currently there are two places where we close the database:
thunderbird-android/legacy/core/src/main/java/com/fsck/k9/mailstore/LockableDatabase.java
Line 216 in ba5a42e
thunderbird-android/legacy/core/src/main/java/com/fsck/k9/mailstore/LockableDatabase.java
Line 335 in ba5a42e
Further investigation is needed on what needs to happen exactly in order to reproduce this crash. It looks like a race condition to me.
Logs
The text was updated successfully, but these errors were encountered: