Automattic-Tracks-Android icon indicating copy to clipboard operation
Automattic-Tracks-Android copied to clipboard

android.database.sqlite.SQLiteDatabaseLockedException

Open jkmassel opened this issue 6 years ago • 1 comments

It looks like there's a semi-rare bug in Tracks where it tries to access the database while it's locked.

This results in a stack trace like:

Fatal Exception: android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5): , while compiling: PRAGMA journal_mode
#################################################################
Error Code : 5 (SQLITE_BUSY)
Caused By : The database file is locked.
	(database is locked (code 5): , while compiling: PRAGMA journal_mode)
#################################################################

This is happening in both WooCommerce (5c1a0c9ef8b88c296364bc62-fabric) and WordPress (55ec3db1f5d3a7f76bd47380-fabric)

jkmassel avatar Feb 12 '19 18:02 jkmassel

Probably related to #68

wzieba avatar Mar 16 '21 10:03 wzieba