Crash: SQLiteDatabaseLockedException in SQLiteContentProvider.query()
Closed, ResolvedPublic

Description

https://rink.hockeyapp.net/manage/apps/226650/app_versions/6/crash_reasons/70560535

android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5)
1 android.database.sqlite.SQLiteConnection.nativeExecuteForLong Native Method
2 android.database.sqlite.SQLiteConnection.executeForLong SQLiteConnection.java, line 591
3 android.database.sqlite.SQLiteSession.executeForLong SQLiteSession.java, line 652
4 android.database.sqlite.SQLiteStatement.simpleQueryForLong SQLiteStatement.java, line 107
5 android.database.DatabaseUtils.longForQuery DatabaseUtils.java, line 813
6 android.database.DatabaseUtils.longForQuery DatabaseUtils.java, line 801
7 android.database.sqlite.SQLiteDatabase.getVersion SQLiteDatabase.java, line 862
8 android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked SQLiteOpenHelper.java, line 242
9 android.database.sqlite.SQLiteOpenHelper.getReadableDatabase SQLiteOpenHelper.java, line 188
10 org.wikipedia.data.SQLiteContentProvider.query SQLiteContentProvider.java, line 43
11 android.content.ContentProvider.query ContentProvider.java, line 654

Dbrant created this task.Dec 8 2015, 3:32 PM
Dbrant updated the task description. (Show Details)
Dbrant raised the priority of this task from to High.
Dbrant moved this task to Current Sprint on the Wikipedia-Android-App-Backlog board.
Dbrant added a subscriber: Dbrant.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 8 2015, 3:32 PM

Change 257617 had a related patch set uploaded (by Dbrant):
Prevent multiple instances of DBOpenHelper.

https://gerrit.wikimedia.org/r/257617

Dbrant claimed this task.Dec 8 2015, 4:30 PM
Dbrant set Security to None.
Dbrant moved this task from To Do to Code Review on the Mobile-App-Android-Sprint-72-Hafnium board.

Change 257617 merged by jenkins-bot:
Prevent multiple instances of DBOpenHelper.

https://gerrit.wikimedia.org/r/257617

Dbrant closed this task as Resolved.Jan 4 2016, 5:44 PM