Automattic / Automattic/Automattic-Tracks-Android

android.database.sqlite.SQLiteDatabaseLockedException

Open
#41 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
31
Forks
14
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.