FYI I am also seeing this, in an app that is using SqlCipher only.  The app 
is trying to work, but logcat is crawling with a bunch of these exceptions. 
 According to the callstack below they are coming from Google GMS.  My app 
has no direct interaction with GMS, so I dunno why this is happening. Gonna 
do some research to see if some GMS interaction is now default, and if it 
is, how I can turn it off. If you find a resolution I'd sure like to hear 
about it :-)

These are the exceptions I see, always in a pair like this. This pair gets 
repeated a bunch of times.

07-31 11:33:07.468 26676-8715/? E/SQLiteLog: (5) database is locked
07-31 11:33:07.470 26676-8715/? E/SQLiteDatabase: Failed to open database 
'/data/user/0/com.google.android.gms/databases/phenotype.db'.
                                                  android.database.sqlite.
SQLiteDatabaseLockedException: database is locked (code 5): , while 
compiling: PRAGMA journal_mode
                                                      at android.database.
sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
                                                      at android.database.
sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:887)
                                                      at android.database.
sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:632)
                                                      at android.database.
sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:318)
                                                      at android.database.
sqlite.SQLiteConnection.setWalModeFromConfiguration(SQLiteConnection.java:
292)
                                                      at android.database.
sqlite.SQLiteConnection.open(SQLiteConnection.java:213)
                                                      at android.database.
sqlite.SQLiteConnection.open(SQLiteConnection.java:191)
                                                      at android.database.
sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:
463)
                                                      at android.database.
sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
                                                      at android.database.
sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
                                                      at android.database.
sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:806)
                                                      at android.database.
sqlite.SQLiteDatabase.open(SQLiteDatabase.java:791)
                                                      at android.database.
sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
                                                      at android.app.
ContextImpl.openOrCreateDatabase(ContextImpl.java:571)
                                                      at android.app.
ContextImpl.openOrCreateDatabase(ContextImpl.java:560)
                                                      at android.content.
ContextWrapper.openOrCreateDatabase(ContextWrapper.java:263)
                                                      at android.content.
ContextWrapper.openOrCreateDatabase(ContextWrapper.java:263)
                                                      at ivm.g(:com.google.
android.gms:204)
                                                      at ivm.e(:com.google.
android.gms:176)
                                                      at ivh.a(:com.google.
android.gms:1519)
                                                      at ttb.a(:com.google.
android.gms:140)
                                                      at hix.a(:com.google.
android.gms:688)
                                                      at hix.a(:com.google.
android.gms:428)
                                                      at hix.run(:com.google
.android.gms:220)
                                                      at java.util.
concurrent.Executors$RunnableAdapter.call(Executors.java:423)
                                                      at akab.a(:com.google.
android.gms:108)
                                                      at ajzg.run(:com.
google.android.gms:59)
                                                      at akaa.run(:com.
google.android.gms:74)
                                                      at ixu.run(:com.google
.android.gms:453)
                                                      at java.util.
concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
                                                      at java.util.
concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
                                                      at jch.run(:com.google
.android.gms:17)
                                                      at java.lang.Thread.
run(Thread.java:818)
07-31 11:33:07.471 26676-8715/? E/ClearcutService: Dropping log because 
Clearcut could not write to store: %s.
                                                   android.database.sqlite.
SQLiteDatabaseLockedException: database is locked (code 5): , while 
compiling: PRAGMA journal_mode
                                                       at android.database.
sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
                                                       at android.database.
sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:887)
                                                       at android.database.
sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:632)
                                                       at android.database.
sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:318)
                                                       at android.database.
sqlite.SQLiteConnection.setWalModeFromConfiguration(SQLiteConnection.java:
292)
                                                       at android.database.
sqlite.SQLiteConnection.open(SQLiteConnection.java:213)
                                                       at android.database.
sqlite.SQLiteConnection.open(SQLiteConnection.java:191)
                                                       at android.database.
sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:
463)
                                                       at android.database.
sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
                                                       at android.database.
sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
                                                       at android.database.
sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:806)
                                                       at android.database.
sqlite.SQLiteDatabase.open(SQLiteDatabase.java:791)
                                                       at android.database.
sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
                                                       at android.app.
ContextImpl.openOrCreateDatabase(ContextImpl.java:571)
                                                       at android.app.
ContextImpl.openOrCreateDatabase(ContextImpl.java:560)
                                                       at android.content.
ContextWrapper.openOrCreateDatabase(ContextWrapper.java:263)
                                                       at android.content.
ContextWrapper.openOrCreateDatabase(ContextWrapper.java:263)
                                                       at ivm.g(:com.google.
android.gms:204)
                                                       at ivm.e(:com.google.
android.gms:176)
                                                       at ivh.a(:com.google.
android.gms:1519)
                                                       at ttb.a(:com.google.
android.gms:140)
                                                       at hix.a(:com.google.
android.gms:688)
                                                       at hix.a(:com.google.
android.gms:428)
                                                       at hix.run(:com.
google.android.gms:220)
                                                       at java.util.
concurrent.Executors$RunnableAdapter.call(Executors.java:423)
                                                       at akab.a(:com.google
.android.gms:108)
                                                       at ajzg.run(:com.
google.android.gms:59)
                                                       at akaa.run(:com.
google.android.gms:74)
                                                       at ixu.run(:com.
google.android.gms:453)
                                                       at java.util.
concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
                                                       at java.util.
concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
                                                       at jch.run(:com.
google.android.gms:17)
                                                       at java.lang.Thread.
run(Thread.java:818)



-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/97f2eb91-d928-4042-bf3b-5715c7a8a9e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to