-
Notifications
You must be signed in to change notification settings - Fork 117
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
SQLiteDatabaseLockedException caused by TransferDBHelper.update$aws_storage_s3_release #2720
Comments
Hello thanks for reporting this issue. Someone from our team will take look at this. |
🤔 This error suggests that there may be concurrent |
Hi guys! I just want to give you some additional context. For the last 30 days this issue was registered for 9 users in Firebase. The issue appears on Android 7-13, affected devices are Samsung (S10, A13, The stack trace is the same for all cases, except for some cases the cause is "database is locked (code 5 SQLITE_BUSY)" and for others it's "database is locked (code 5 SQLITE_BUSY[5])". AWS Amplify v2.14.11 |
Thanks for the update @yaroslav-v. I've spent a little while looking at this and I'm not quite sure how this error is occurring. Although the @yaroslav-v just for confirmation: you're not creating multiple instances of Barring that, I think my plan for this issue will to be to clean up the creation of the |
@mattcreaser Hi! Thx for trying. I've double checked and there are no |
Oops after looking at it again this morning I realized I missed the obvious bug in the implementation of the singleton pattern for |
This fix has been released in Amplify 2.15.2 🎉 Closing this issue, please feel free to open a new one if required. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Before opening, please confirm:
Language and Async Model
Java
Amplify Categories
Storage
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
Hi there!
We have a few reports (about 20 at the moment) on Firebase with this crash for a few latest releases of the library v2.14.x including the last one v2.14.10. The issue appears on Android 10-13, affected devices are mostly Motorola (around 80%) with some Samsung, Xiaomi etc.
The issue is quite rare and, unfortunately, there are no exact steps to reproduce it. I don't see any specific pattern in accompanying logs. Sometimes it happened after the app update, but in the minority of the cases.
Reproduction steps (if applicable)
No response
Code Snippet
Log output
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: