I received a crash report from a user on Android N (Nexus 5X) that I believe is a SQLCipher issue. We’ve seen some other I/O issues (networking-related) in our app related to resume from app-standby or doze mode on Android M and N, so I would guess that this is likely related.
Not much else to add, but happy to answer any other questions I can. Thanks!
Exception java.util.concurrent.TimeoutException: android.content.ContentResolver$CursorWrapperInner.finalize() timed out after 10 seconds
java.lang.Object.wait (Object.java)
java.lang.Thread.parkFor$ (Thread.java:2127)
sun.misc.Unsafe.park (Unsafe.java:325)
java.util.concurrent.locks.LockSupport.park (LockSupport.java:161)
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt (AbstractQueuedSynchronizer.java:840)
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued (AbstractQueuedSynchronizer.java:873)
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire (AbstractQueuedSynchronizer.java:1197)
java.util.concurrent.locks.ReentrantLock$FairSync.lock (ReentrantLock.java:200)
java.util.concurrent.locks.ReentrantLock.lock (ReentrantLock.java:262)
net.sqlcipher.database.SQLiteDatabase.lock (SQLiteDatabase.java:496)
net.sqlcipher.database.SQLiteProgram.close (SQLiteProgram.java:294)
net.sqlcipher.database.SQLiteQuery.close (SQLiteQuery.java:136)
net.sqlcipher.database.SQLiteCursor.close (SQLiteCursor.java:510)
android.database.CursorWrapper.close (CursorWrapper.java:50)
android.database.CursorWrapper.close (CursorWrapper.java:50)
android.content.ContentResolver$CursorWrapperInner.close (ContentResolver.java:2630)
android.content.ContentResolver$CursorWrapperInner.finalize (ContentResolver.java:2641)
java.lang.Daemons$FinalizerDaemon.doFinalize (Daemons.java:222)
java.lang.Daemons$FinalizerDaemon.run (Daemons.java:209)
java.lang.Thread.run (Thread.java:761)