Native crash on asus x86 cpu with android 4.3


#1

I use SQLCipher latest version 3.5.2, and I got native crash on asus T00f (atom cpu, android 4.3).
But upgrade Android version above 5.0 is ok

07-21 11:03:14.415 172-1254/? E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 59
07-21 11:03:14.415 448-464/? D/KeyguardUpdateMonitor: sendKeyguardVisibilityChanged(true)
07-21 11:03:14.415 448-463/? D/KeyguardUpdateMonitor: handleKeyguardVisibilityChanged(1)
07-21 11:03:14.415 7330-7499/com.mplusapp D/dalvikvm: Trying to load lib /data/app-lib/com.mplusapp-1/libsqlcipher.so 0x437f0090
07-21 11:03:14.435 448-464/? D/KeyguardUpdateMonitor: sendKeyguardVisibilityChanged(true)
07-21 11:03:14.435 448-463/? D/KeyguardUpdateMonitor: handleKeyguardVisibilityChanged(1)
07-21 11:03:14.455 7330-7499/com.mplusapp D/houdini: [7499] Loading library(version: 3.4.5.44375 RELEASE)… successfully.
07-21 11:03:14.465 7330-7499/com.mplusapp A/libc: Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 7499 (IntentService[S) 07-21 11:03:14.515 172-368/? E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 55 07-21 11:03:14.515 171-171/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 07-21 11:03:14.515 171-171/? I/DEBUG: Build fingerprint: ‘asus/TW_a600cg/ASUS_T00G:4.3/JSS15Q/TW_user_20140408_4.3.3.886664:user/release-keys’ 07-21 11:03:14.515 171-171/? I/DEBUG: Revision: ‘0’ 07-21 11:03:14.515 171-171/? I/DEBUG: pid: 7330, tid: 7499, name: IntentService[S >>> com.mplusapp <<< 07-21 11:03:14.515 171-171/? I/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000 07-21 11:03:14.535 171-171/? I/DEBUG: eax 00000000 ebx 000000c6 ecx 00000000 edx 00000000 07-21 11:03:14.535 171-171/? I/DEBUG: esi 00000e59 edi 00000000 07-21 11:03:14.535 171-171/? I/DEBUG: xcs 00000073 xds 0000007b xes 0000007b xfs 00000043 xss 0000007b 07-21 11:03:14.535 171-171/? I/DEBUG: eip 65501311 ebp 2200ff0c esp 2200fec4 flags 00210246 07-21 11:03:14.535 171-171/? I/DEBUG: backtrace: 07-21 11:03:14.535 171-171/? I/DEBUG: #00 pc 00087311 /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.535 171-171/? I/DEBUG: #01 pc 0008541e /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.535 171-171/? I/DEBUG: #02 pc 00072558 /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.535 171-171/? I/DEBUG: #03 pc 0006ecb5 /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.535 171-171/? I/DEBUG: #04 pc 0006e89f /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.535 171-171/? I/DEBUG: #05 pc 000b92be /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.535 171-171/? I/DEBUG: #06 pc ffffffff <unknown> 07-21 11:03:14.535 171-171/? I/DEBUG: #07 pc 00143b1a /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.535 171-171/? I/DEBUG: #08 pc 001833b7 /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.535 171-171/? I/DEBUG: #09 pc 0018a3cb /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.535 171-171/? I/DEBUG: #10 pc 0018796d /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.535 171-171/? I/DEBUG: #11 pc 00184424 /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.535 171-171/? I/DEBUG: #12 pc 00183e48 /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.535 171-171/? I/DEBUG: #13 pc 0020f8c3 /system/lib/libdvm.so 07-21 11:03:14.535 171-171/? I/DEBUG: #14 pc 000dc6fb /system/lib/libdvm.so 07-21 11:03:14.535 171-171/? I/DEBUG: #15 pc 00119d5d /system/lib/libdvm.so 07-21 11:03:14.535 171-171/? I/DEBUG: #16 pc 00217699 /system/lib/libdvm.so 07-21 11:03:14.535 171-171/? I/DEBUG: #17 pc 00004bb7 <unknown> 07-21 11:03:14.535 171-171/? I/DEBUG: #18 pc 0008ccf1 /system/lib/libdvm.so 07-21 11:03:14.535 171-171/? I/DEBUG: #19 pc 0010ab4e /system/lib/libdvm.so 07-21 11:03:14.535 171-171/? I/DEBUG: #20 pc 0010aea7 /system/lib/libdvm.so 07-21 11:03:14.535 171-171/? I/DEBUG: #21 pc 000e8dba /system/lib/libdvm.so 07-21 11:03:14.535 171-171/? I/DEBUG: #22 pc 0001b6cc /system/lib/libc.so 07-21 11:03:14.535 171-171/? I/DEBUG: #23 pc 0003da65 /system/lib/libc.so 07-21 11:03:14.535 171-171/? I/DEBUG: #24 pc 000e8a0f /system/lib/libdvm.so 07-21 11:03:14.535 171-171/? I/DEBUG: stack: 07-21 11:03:14.535 171-171/? I/DEBUG: 638aeaa0 00000003 07-21 11:03:14.535 171-171/? I/DEBUG: 638aeaa4 62b18630 07-21 11:03:14.535 171-171/? I/DEBUG: 638aeaa8 638aead8 07-21 11:03:14.535 171-171/? I/DEBUG: 638aeaac 655fde49 /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.535 171-171/? I/DEBUG: 638aeab0 62b18630 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeab4 00000001 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeab8 638aead8 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeabc 6147eb1c 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeac0 41322f38 /system/lib/libdvm.so 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeac4 655fdec0 /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeac8 655fd9a0 /system/lib/libhoudini.so.3.4.5.44375 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeacc 41322f38 /system/lib/libdvm.so 07-21 11:03:14.545 171-171/? I/DEBUG: 638aead0 62b18670 07-21 11:03:14.545 171-171/? I/DEBUG: 638aead4 6147eb1c 07-21 11:03:14.545 171-171/? I/DEBUG: 638aead8 00000000 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeadc 412bc8c4 /system/lib/libdvm.so 07-21 11:03:14.545 171-171/? I/DEBUG: #13 638aeae0 62b18630 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeae4 00000001 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeae8 412c4a77 /system/lib/libdvm.so 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeaec 59065a60 /dev/ashmem/dalvik-LinearAlloc (deleted) 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeaf0 62aaa640 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeaf4 1f400005 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeaf8 62b18630 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeafc 638aebdf 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeb00 62ca5790 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeb04 00000007 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeb08 4004adc0 /system/lib/libcutils.so 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeb0c 411893d0 /system/lib/libdvm.so 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeb10 464c4500 /dev/ashmem/dalvik-heap (deleted) 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeb14 00010101 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeb18 00000000 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeb1c 00000000 07-21 11:03:14.545 171-171/? I/DEBUG: … … 07-21 11:03:14.545 171-171/? I/DEBUG: #14 638aeb90 62b18630 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeb94 00000001 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeb98 638aebdf 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeb9c 41188bd0 /system/lib/libdvm.so 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeba0 00000000 07-21 11:03:14.545 171-171/? I/DEBUG: 638aeba4 22200001 [stack:7499]
07-21 11:03:14.545 171-171/? I/DEBUG: 638aeba8 4000d239 /system/bin/linker
07-21 11:03:14.545 171-171/? I/DEBUG: 638aebac 4002785b /system/bin/linker
07-21 11:03:14.545 171-171/? I/DEBUG: 638aebb0 40007af0 /system/bin/linker
07-21 11:03:14.545 171-171/? I/DEBUG: 638aebb4 412d8ad0 /system/lib/libdvm.so
07-21 11:03:14.545 171-171/? I/DEBUG: 638aebb8 00001d4b
07-21 11:03:14.545 171-171/? I/DEBUG: 638aebbc 00000000
07-21 11:03:14.545 171-171/? I/DEBUG: 638aebc0 40033000 /system/bin/linker
07-21 11:03:14.545 171-171/? I/DEBUG: 638aebc4 638aebdc
07-21 11:03:14.545 171-171/? I/DEBUG: 638aebc8 00000000
07-21 11:03:14.545 171-171/? I/DEBUG: 638aebcc 40032fe4 /system/bin/linker
07-21 11:03:14.545 171-171/? I/DEBUG: … …
07-21 11:03:14.545 171-171/? I/DEBUG: #15 638aec00 62b18630
07-21 11:03:14.545 171-171/? I/DEBUG: 638aec04 437f0090 /dev/ashmem/dalvik-heap (deleted)
07-21 11:03:14.545 171-171/? I/DEBUG: 638aec08 638aec1c
07-21 11:03:14.545 171-171/? I/DEBUG: 638aec0c 4119a4b3 /system/lib/libdvm.so
07-21 11:03:14.545 171-171/? I/DEBUG: 638aec10 43d4e980 /dev/ashmem/dalvik-heap (deleted)
07-21 11:03:14.545 171-171/? I/DEBUG: 638aec14 00000001
07-21 11:03:14.545 171-171/? I/DEBUG: 638aec18 62ca5790
07-21 11:03:14.545 171-171/? I/DEBUG: 638aec1c 00000000
07-21 11:03:14.545 171-171/? I/DEBUG: 638aec20 62c3abb8
07-21 11:03:14.545 171-171/? I/DEBUG: 638aec24 5a1047fa /system/framework/core.odex
07-21 11:03:14.545 171-171/? I/DEBUG: 638aec28 62c3abe8
07-21 11:03:14.545 171-171/? I/DEBUG: 638aec2c 412c469a /system/lib/libdvm.so
07-21 11:03:14.575 448-469/? I/BootReceiver: Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
07-21 11:03:14.575 448-7509/? W/ActivityManager: Force finishing activity


#2

Hi @mplus

I noticed you are using libhoudini, are you doing an ABI filtering to exclude x86 support? Can you run the SQLCipher for Android test suite on that device and report your results? Thanks!


#3

Hello,
this is result of test suite, please check what happen to me, thanks! (part 1)

08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Running test suite on armeabi-v7a platform
08-15 15:43:30.127 10177-17577/net.zetetic D/dalvikvm: Trying to load lib /data/app-lib/net.zetetic-1/libsqlcipher.so 0x437f14f0
08-15 15:43:30.127 10177-17577/net.zetetic D/dalvikvm: Shared lib '/data/app-lib/net.zetetic-1/libsqlcipher.so' already loaded in same CL 0x437f14f0
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Running test:PRAGMA cipher_version Test
08-15 15:43:30.127 10177-17577/net.zetetic I/PragmaCipherVersionTest: Before prepareDatabaseEnvironment
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:30.127 10177-17577/net.zetetic I/PragmaCipherVersionTest: Before getDatabasePath
08-15 15:43:30.127 10177-17577/net.zetetic I/PragmaCipherVersionTest: Before createDatabase
08-15 15:43:30.127 10177-17577/net.zetetic I/PragmaCipherVersionTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:30.127 10177-17577/net.zetetic I/PragmaCipherVersionTest: Before setUp
08-15 15:43:30.127 10177-17577/net.zetetic I/PragmaCipherVersionTest: Before rawQuery
08-15 15:43:30.127 10177-17577/net.zetetic I/PragmaCipherVersionTest: After rawQuery
08-15 15:43:30.127 10177-17577/net.zetetic I/PragmaCipherVersionTest: Before cursor.moveToNext()
08-15 15:43:30.127 10177-17577/net.zetetic I/PragmaCipherVersionTest: Before cursor.getString(0)
08-15 15:43:30.127 10177-17577/net.zetetic I/PragmaCipherVersionTest: Before cursor.close
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Running test:Unicode Test
08-15 15:43:30.127 10177-17577/net.zetetic I/UnicodeTest: Before prepareDatabaseEnvironment
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:30.127 10177-17577/net.zetetic I/UnicodeTest: Before getDatabasePath
08-15 15:43:30.127 10177-17577/net.zetetic I/UnicodeTest: Before createDatabase
08-15 15:43:30.127 10177-17577/net.zetetic I/UnicodeTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:30.127 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:30.137 10177-17577/net.zetetic I/UnicodeTest: Before setUp
08-15 15:43:30.137 10177-17577/net.zetetic I/UnicodeTest: Returned value:��
08-15 15:43:30.137 10177-17577/net.zetetic I/Zetetic: Running test:FIPS Test
08-15 15:43:30.137 10177-17577/net.zetetic I/FIPSTest: Before prepareDatabaseEnvironment
08-15 15:43:30.137 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:30.137 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:30.137 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:30.137 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:30.137 10177-17577/net.zetetic I/FIPSTest: Before getDatabasePath
08-15 15:43:30.137 10177-17577/net.zetetic I/FIPSTest: Before createDatabase
08-15 15:43:30.137 10177-17577/net.zetetic I/FIPSTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:30.137 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:30.137 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:30.137 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: PRAGMA cipher_version Test - success:true
08-15 15:43:30.137 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Unicode Test - success:true
08-15 15:43:30.147 10177-17577/net.zetetic I/FIPSTest: Before setUp
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Running test:Query Integer to String
08-15 15:43:30.147 10177-17577/net.zetetic I/QueryIntegerToStringTest: Before prepareDatabaseEnvironment
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:30.147 10177-17577/net.zetetic I/QueryIntegerToStringTest: Before getDatabasePath
08-15 15:43:30.147 10177-17577/net.zetetic I/QueryIntegerToStringTest: Before createDatabase
08-15 15:43:30.147 10177-17577/net.zetetic I/QueryIntegerToStringTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:30.147 10177-17577/net.zetetic I/QueryIntegerToStringTest: Before setUp
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Running test:Query Float to String
08-15 15:43:30.147 10177-17577/net.zetetic I/QueryFloatToStringTest: Before prepareDatabaseEnvironment
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:30.147 10177-17577/net.zetetic I/QueryFloatToStringTest: Before getDatabasePath
08-15 15:43:30.147 10177-17577/net.zetetic I/QueryFloatToStringTest: Before createDatabase
08-15 15:43:30.147 10177-17577/net.zetetic I/QueryFloatToStringTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:30.147 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:30.157 10177-17577/net.zetetic I/QueryFloatToStringTest: Before setUp
08-15 15:43:30.167 10177-17577/net.zetetic I/Zetetic: Running test:Closed Database Test
08-15 15:43:30.167 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: FIPS Test - success:true
08-15 15:43:30.167 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Query Integer to String - success:true
08-15 15:43:30.167 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Query Float to String - success:true
08-15 15:43:30.197 10177-17577/net.zetetic E/Database: Failed to setLocale() when constructing, closing the database
                                                       net.sqlcipher.database.SQLiteDatabaseCorruptException: database disk image is malformed: , while compiling: select count(*) from sqlite_master;
                                                           at net.sqlcipher.database.SQLiteCompiledSql.native_compile(Native Method)
                                                           at net.sqlcipher.database.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91)
                                                           at net.sqlcipher.database.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:64)
                                                           at net.sqlcipher.database.SQLiteProgram.<init>(SQLiteProgram.java:83)
                                                           at net.sqlcipher.database.SQLiteQuery.<init>(SQLiteQuery.java:49)
                                                           at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
                                                           at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1772)
                                                           at net.sqlcipher.database.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1737)
                                                           at net.sqlcipher.database.SQLiteDatabase.openDatabaseInternal(SQLiteDatabase.java:2354)
                                                           at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1101)
                                                           at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1068)
                                                           at net.zetetic.tests.ClosedDatabaseTest.execute(ClosedDatabaseTest.java:63)
                                                           at net.zetetic.tests.ClosedDatabaseTest.run(ClosedDatabaseTest.java:19)
                                                           at net.zetetic.tests.TestSuiteRunner.runSuite(TestSuiteRunner.java:40)
                                                           at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:20)
                                                           at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:12)
                                                           at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                           at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                           at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
                                                           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
                                                           at java.lang.Thread.run(Thread.java:841)
08-15 15:43:30.197 10177-17577/net.zetetic E/Database: Calling error handler for corrupt database /data/data/net.zetetic/databases/corrupt.db
                                                       net.sqlcipher.database.SQLiteDatabaseCorruptException: database disk image is malformed: , while compiling: select count(*) from sqlite_master;
                                                           at net.sqlcipher.database.SQLiteCompiledSql.native_compile(Native Method)
                                                           at net.sqlcipher.database.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91)
                                                           at net.sqlcipher.database.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:64)
                                                           at net.sqlcipher.database.SQLiteProgram.<init>(SQLiteProgram.java:83)
                                                           at net.sqlcipher.database.SQLiteQuery.<init>(SQLiteQuery.java:49)
                                                           at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
                                                           at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1772)
                                                           at net.sqlcipher.database.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1737)
                                                           at net.sqlcipher.database.SQLiteDatabase.openDatabaseInternal(SQLiteDatabase.java:2354)
                                                           at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1101)
                                                           at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1068)
                                                           at net.zetetic.tests.ClosedDatabaseTest.execute(ClosedDatabaseTest.java:63)
                                                           at net.zetetic.tests.ClosedDatabaseTest.run(ClosedDatabaseTest.java:19)
                                                           at net.zetetic.tests.TestSuiteRunner.runSuite(TestSuiteRunner.java:40)
                                                           at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:20)
                                                           at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:12)
                                                           at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                           at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                           at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
                                                           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
                                                           at java.lang.Thread.run(Thread.java:841)
08-15 15:43:30.217 10177-17577/net.zetetic I/Zetetic: Running test:Attach database test
08-15 15:43:30.217 10177-17577/net.zetetic I/AttachDatabaseTest: Before prepareDatabaseEnvironment
08-15 15:43:30.217 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:30.217 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:30.217 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:30.217 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Closed Database Test - success:true
08-15 15:43:30.217 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:30.217 10177-17577/net.zetetic I/AttachDatabaseTest: Before getDatabasePath
08-15 15:43:30.217 10177-17577/net.zetetic I/AttachDatabaseTest: Before createDatabase
08-15 15:43:30.217 10177-17577/net.zetetic I/AttachDatabaseTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:30.217 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:30.217 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:30.217 10177-17577/net.zetetic I/AttachDatabaseTest: Before setUp
08-15 15:43:30.657 10177-17577/net.zetetic I/Zetetic: Running test:Cipher Migrate Test
08-15 15:43:30.657 10177-17577/net.zetetic I/CipherMigrateTest: Before prepareDatabaseEnvironment
08-15 15:43:30.657 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:30.657 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:30.657 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Attach database test - success:true
08-15 15:43:30.657 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:30.667 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:30.667 10177-17577/net.zetetic I/CipherMigrateTest: Before getDatabasePath
08-15 15:43:30.667 10177-17577/net.zetetic I/CipherMigrateTest: Before createDatabase
08-15 15:43:30.667 10177-17577/net.zetetic I/CipherMigrateTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:30.667 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:30.667 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:30.667 10177-17577/net.zetetic I/CipherMigrateTest: Before setUp
08-15 15:43:31.537 10177-17577/net.zetetic E/Database: Failed to setLocale() when constructing, closing the database
                                                       net.sqlcipher.database.SQLiteException: file is encrypted or is not a database: , while compiling: select count(*) from sqlite_master;
                                                           at net.sqlcipher.database.SQLiteCompiledSql.native_compile(Native Method)
                                                           at net.sqlcipher.database.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91)
                                                           at net.sqlcipher.database.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:64)
                                                           at net.sqlcipher.database.SQLiteProgram.<init>(SQLiteProgram.java:83)
                                                           at net.sqlcipher.database.SQLiteQuery.<init>(SQLiteQuery.java:49)
                                                           at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
                                                           at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1772)
                                                           at net.sqlcipher.database.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1737)
                                                           at net.sqlcipher.database.SQLiteDatabase.openDatabaseInternal(SQLiteDatabase.java:2354)
                                                           at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1101)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1155)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1150)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1135)
                                                           at net.zetetic.tests.CipherMigrateTest.execute(CipherMigrateTest.java:28)
                                                           at net.zetetic.tests.SQLCipherTest.run(SQLCipherTest.java:35)
                                                           at net.zetetic.tests.TestSuiteRunner.runSuite(TestSuiteRunner.java:40)
                                                           at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:20)
                                                           at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:12)
                                                           at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                           at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                           at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
                                                           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
                                                           at java.lang.Thread.run(Thread.java:841)
08-15 15:43:31.537 10177-17577/net.zetetic I/CipherMigrateTest: error
                                                                net.sqlcipher.database.SQLiteException: file is encrypted or is not a database: , while compiling: select count(*) from sqlite_master;
                                                                    at net.sqlcipher.database.SQLiteCompiledSql.native_compile(Native Method)
                                                                    at net.sqlcipher.database.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91)
                                                                    at net.sqlcipher.database.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:64)
                                                                    at net.sqlcipher.database.SQLiteProgram.<init>(SQLiteProgram.java:83)
                                                                    at net.sqlcipher.database.SQLiteQuery.<init>(SQLiteQuery.java:49)
                                                                    at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
                                                                    at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1772)
                                                                    at net.sqlcipher.database.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1737)
                                                                    at net.sqlcipher.database.SQLiteDatabase.openDatabaseInternal(SQLiteDatabase.java:2354)
                                                                    at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1101)
                                                                    at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1155)
                                                                    at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1150)
                                                                    at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1135)
                                                                    at net.zetetic.tests.CipherMigrateTest.execute(CipherMigrateTest.java:28)
                                                                    at net.zetetic.tests.SQLCipherTest.run(SQLCipherTest.java:35)
                                                                    at net.zetetic.tests.TestSuiteRunner.runSuite(TestSuiteRunner.java:40)
                                                                    at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:20)
                                                                    at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:12)
                                                                    at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                                    at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                                    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                                    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
                                                                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
                                                                    at java.lang.Thread.run(Thread.java:841)
08-15 15:43:31.537 10177-17577/net.zetetic I/Zetetic: Running test:Get Type from CrossProcessCursorWrapper
08-15 15:43:31.537 10177-17577/net.zetetic I/GetTypeFromCrossProcessCursorWrapperTest: Before prepareDatabaseEnvironment
08-15 15:43:31.537 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:31.537 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:31.537 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:31.537 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:31.537 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Cipher Migrate Test - success:false
08-15 15:43:31.537 10177-17577/net.zetetic I/GetTypeFromCrossProcessCursorWrapperTest: Before getDatabasePath
08-15 15:43:31.537 10177-17577/net.zetetic I/GetTypeFromCrossProcessCursorWrapperTest: Before createDatabase
08-15 15:43:31.537 10177-17577/net.zetetic I/GetTypeFromCrossProcessCursorWrapperTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:31.537 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:31.537 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:31.537 10177-17577/net.zetetic I/GetTypeFromCrossProcessCursorWrapperTest: Before setUp
08-15 15:43:31.987 10177-17577/net.zetetic I/Zetetic: Running test:Invalid Password Test
08-15 15:43:31.987 10177-17577/net.zetetic I/InvalidPasswordTest: Before prepareDatabaseEnvironment
08-15 15:43:31.987 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:31.987 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:31.987 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Get Type from CrossProcessCursorWrapper - success:true
08-15 15:43:31.987 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:31.987 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:31.987 10177-17577/net.zetetic I/InvalidPasswordTest: Before getDatabasePath
08-15 15:43:31.987 10177-17577/net.zetetic I/InvalidPasswordTest: Before createDatabase
08-15 15:43:31.987 10177-17577/net.zetetic I/InvalidPasswordTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:31.987 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:31.987 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:31.997 10177-17577/net.zetetic I/InvalidPasswordTest: Before setUp
08-15 15:43:32.827 10177-17577/net.zetetic E/Database: Failed to setLocale() when constructing, closing the database
                                                       net.sqlcipher.database.SQLiteException: file is encrypted or is not a database: , while compiling: select count(*) from sqlite_master;
                                                           at net.sqlcipher.database.SQLiteCompiledSql.native_compile(Native Method)
                                                           at net.sqlcipher.database.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91)
                                                           at net.sqlcipher.database.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:64)
                                                           at net.sqlcipher.database.SQLiteProgram.<init>(SQLiteProgram.java:83)
                                                           at net.sqlcipher.database.SQLiteQuery.<init>(SQLiteQuery.java:49)
                                                           at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
                                                           at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1772)
                                                           at net.sqlcipher.database.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1737)
                                                           at net.sqlcipher.database.SQLiteDatabase.openDatabaseInternal(SQLiteDatabase.java:2354)
                                                           at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1101)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1155)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1150)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1135)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1171)
                                                           at net.zetetic.tests.InvalidPasswordTest.execute(InvalidPasswordTest.java:24)
                                                           at net.zetetic.tests.SQLCipherTest.run(SQLCipherTest.java:35)
                                                           at net.zetetic.tests.TestSuiteRunner.runSuite(TestSuiteRunner.java:40)
                                                           at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:20)
                                                           at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:12)
                                                           at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                           at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                           at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
                                                           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
                                                           at java.lang.Thread.run(Thread.java:841)

#4

part 2

08-15 15:43:32.837 10177-17577/net.zetetic E/Database: Failed to setLocale() when constructing, closing the database
                                                       net.sqlcipher.database.SQLiteException: file is encrypted or is not a database: , while compiling: select count(*) from sqlite_master;
                                                           at net.sqlcipher.database.SQLiteCompiledSql.native_compile(Native Method)
                                                           at net.sqlcipher.database.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91)
                                                           at net.sqlcipher.database.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:64)
                                                           at net.sqlcipher.database.SQLiteProgram.<init>(SQLiteProgram.java:83)
                                                           at net.sqlcipher.database.SQLiteQuery.<init>(SQLiteQuery.java:49)
                                                           at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
                                                           at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1772)
                                                           at net.sqlcipher.database.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1737)
                                                           at net.sqlcipher.database.SQLiteDatabase.openDatabaseInternal(SQLiteDatabase.java:2354)
                                                           at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1101)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1155)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1150)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1135)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1171)
                                                           at net.zetetic.tests.InvalidPasswordTest.execute(InvalidPasswordTest.java:40)
                                                           at net.zetetic.tests.SQLCipherTest.run(SQLCipherTest.java:35)
                                                           at net.zetetic.tests.TestSuiteRunner.runSuite(TestSuiteRunner.java:40)
                                                           at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:20)
                                                           at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:12)
                                                           at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                           at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                           at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
                                                           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
                                                           at java.lang.Thread.run(Thread.java:841)
08-15 15:43:33.267 10177-17577/net.zetetic I/Zetetic: Running test:Null Query Test
08-15 15:43:33.267 10177-17577/net.zetetic I/NullQueryResultTest: Before prepareDatabaseEnvironment
08-15 15:43:33.267 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:33.267 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:33.267 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Invalid Password Test - success:true
08-15 15:43:33.267 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:33.267 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:33.267 10177-17577/net.zetetic I/NullQueryResultTest: Before getDatabasePath
08-15 15:43:33.267 10177-17577/net.zetetic I/NullQueryResultTest: Before createDatabase
08-15 15:43:33.267 10177-17577/net.zetetic I/NullQueryResultTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:33.267 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:33.267 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:33.277 10177-17577/net.zetetic I/NullQueryResultTest: Before setUp
08-15 15:43:33.767 10177-17577/net.zetetic I/Zetetic: Running test:Custom Cross Process Cursor Test
08-15 15:43:33.767 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Null Query Test - success:true
08-15 15:43:33.767 10177-17577/net.zetetic I/CrossProcessCursorQueryTest: Before prepareDatabaseEnvironment
08-15 15:43:33.767 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:33.767 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:33.767 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:33.767 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:33.767 10177-17577/net.zetetic I/CrossProcessCursorQueryTest: Before getDatabasePath
08-15 15:43:33.767 10177-17577/net.zetetic I/CrossProcessCursorQueryTest: Before createDatabase
08-15 15:43:33.767 10177-17577/net.zetetic I/CrossProcessCursorQueryTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:33.767 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:33.767 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:33.777 10177-17577/net.zetetic I/CrossProcessCursorQueryTest: Before setUp
08-15 15:43:33.777 10177-17577/net.zetetic D/dalvikvm: Trying to load lib /data/app-lib/net.zetetic-1/libsqlcipher.so 0x437f14f0
08-15 15:43:33.777 10177-17577/net.zetetic D/dalvikvm: Shared lib '/data/app-lib/net.zetetic-1/libsqlcipher.so' already loaded in same CL 0x437f14f0
08-15 15:43:33.777 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:33.777 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:33.807 10177-10177/net.zetetic D/dalvikvm: GC_FOR_ALLOC freed 4042K, 34% free 9827K/14756K, paused 17ms, total 17ms
08-15 15:43:33.807 10177-10186/net.zetetic E/Cursor: Finalizing a Cursor that has not been deactivated or closed. database = /data/data/net.zetetic/databases/test.db, table = null, query = select * from t1;
                                                     net.sqlcipher.database.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
                                                         at net.sqlcipher.database.SQLiteCursor.<init>(SQLiteCursor.java:217)
                                                         at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:53)
                                                         at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1772)
                                                         at net.sqlcipher.database.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1737)
                                                         at net.zetetic.tests.TextAsDoubleTest.execute(TextAsDoubleTest.java:11)
                                                         at net.zetetic.tests.SQLCipherTest.run(SQLCipherTest.java:35)
                                                         at net.zetetic.tests.TestSuiteRunner.runSuite(TestSuiteRunner.java:40)
                                                         at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:20)
                                                         at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:12)
                                                         at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                         at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                         at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
                                                         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
                                                         at java.lang.Thread.run(Thread.java:841)
08-15 15:43:33.807 10177-10186/net.zetetic W/SQLiteCompiledSql: Releasing statement in a finalizer. Please ensure that you explicitly call close() on your cursor: insert into t1(a,b) values(?, ?)
                                                                net.sqlcipher.database.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
                                                                    at net.sqlcipher.database.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:62)
                                                                    at net.sqlcipher.database.SQLiteProgram.<init>(SQLiteProgram.java:83)
                                                                    at net.sqlcipher.database.SQLiteStatement.<init>(SQLiteStatement.java:39)
                                                                    at net.sqlcipher.database.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1541)
                                                                    at net.sqlcipher.database.SQLiteDatabase.execSQL(SQLiteDatabase.java:2237)
                                                                    at net.zetetic.tests.InvalidPasswordTest.execute(InvalidPasswordTest.java:56)
                                                                    at net.zetetic.tests.SQLCipherTest.run(SQLCipherTest.java:35)
                                                                    at net.zetetic.tests.TestSuiteRunner.runSuite(TestSuiteRunner.java:40)
                                                                    at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:20)
                                                                    at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:12)
                                                                    at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                                    at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                                    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                                    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
                                                                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
                                                                    at java.lang.Thread.run(Thread.java:841)
08-15 15:43:33.807 10177-10186/net.zetetic W/SQLiteCompiledSql: Releasing statement in a finalizer. Please ensure that you explicitly call close() on your cursor: select count(*) from sqlite_master;
                                                                net.sqlcipher.database.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
                                                                    at net.sqlcipher.database.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:62)
                                                                    at net.sqlcipher.database.SQLiteProgram.<init>(SQLiteProgram.java:83)
                                                                    at net.sqlcipher.database.SQLiteQuery.<init>(SQLiteQuery.java:49)
                                                                    at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
                                                                    at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1772)
                                                                    at net.sqlcipher.database.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1737)
                                                                    at net.sqlcipher.database.SQLiteDatabase.openDatabaseInternal(SQLiteDatabase.java:2354)
                                                                    at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1101)
                                                                    at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1155)
                                                                    at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1150)
                                                                    at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1135)
                                                                    at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1171)
                                                                    at net.zetetic.tests.InvalidPasswordTest.execute(InvalidPasswordTest.java:55)
                                                                    at net.zetetic.tests.SQLCipherTest.run(SQLCipherTest.java:35)
                                                                    at net.zetetic.tests.TestSuiteRunner.runSuite(TestSuiteRunner.java:40)
                                                                    at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:20)
                                                                    at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:12)
                                                                    at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                                    at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                                    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                                    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
                                                                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
                                                                    at java.lang.Thread.run(Thread.java:841)
08-15 15:43:33.807 10177-10186/net.zetetic E/Database: close() was never explicitly called on database '/data/data/net.zetetic/databases/test.db' 
                                                       net.sqlcipher.database.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
                                                           at net.sqlcipher.database.SQLiteDatabase.<init>(SQLiteDatabase.java:2328)
                                                           at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1100)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1155)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1150)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1135)
                                                           at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1171)
                                                           at net.zetetic.tests.InvalidPasswordTest.execute(InvalidPasswordTest.java:55)
                                                           at net.zetetic.tests.SQLCipherTest.run(SQLCipherTest.java:35)
                                                           at net.zetetic.tests.TestSuiteRunner.runSuite(TestSuiteRunner.java:40)
                                                           at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:20)
                                                           at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:12)
                                                           at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                           at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                           at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
                                                           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
                                                           at java.lang.Thread.run(Thread.java:841)
08-15 15:43:33.817 10177-10186/net.zetetic E/Cursor: Finalizing a Cursor that has not been deactivated or closed. database = /data/data/net.zetetic/databases/test.db, table = null, query = select * from t1;
                                                     net.sqlcipher.database.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
                                                         at net.sqlcipher.database.SQLiteCursor.<init>(SQLiteCursor.java:217)
                                                         at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:53)
                                                         at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1772)
                                                         at net.sqlcipher.database.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1737)
                                                         at net.zetetic.tests.TextAsLongTest.execute(TextAsLongTest.java:12)
                                                         at net.zetetic.tests.SQLCipherTest.run(SQLCipherTest.java:35)
                                                         at net.zetetic.tests.TestSuiteRunner.runSuite(TestSuiteRunner.java:40)
                                                         at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:20)
                                                         at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:12)
                                                         at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                         at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                         at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
                                                         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
                                                         at java.lang.Thread.run(Thread.java:841)
08-15 15:43:33.817 10177-10186/net.zetetic E/Cursor: Finalizing a Cursor that has not been deactivated or closed. database = /data/data/net.zetetic/databases/test.db, table = null, query = select * from t1;
                                                     net.sqlcipher.database.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
                                                         at net.sqlcipher.database.SQLiteCursor.<init>(SQLiteCursor.java:217)
                                                         at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:53)
                                                         at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1772)
                                                         at net.sqlcipher.database.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1737)
                                                         at net.zetetic.tests.TextAsIntegerTest.execute(TextAsIntegerTest.java:12)
                                                         at net.zetetic.tests.SQLCipherTest.run(SQLCipherTest.java:35)
                                                         at net.zetetic.tests.TestSuiteRunner.runSuite(TestSuiteRunner.java:40)
                                                         at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:20)
                                                         at net.zetetic.tests.TestSuiteRunner.doInBackground(TestSuiteRunner.java:12)
                                                         at android.os.AsyncTask$2.call(AsyncTask.java:287)
                                                         at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                         at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
                                                         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
                                                         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
                                                         at java.lang.Thread.run(Thread.java:841)
08-15 15:43:34.257 10177-17577/net.zetetic I/Zetetic: Running test:Custom Inter-Process Blob Test
08-15 15:43:34.257 10177-17577/net.zetetic I/InterprocessBlobQueryTest: Before prepareDatabaseEnvironment
08-15 15:43:34.257 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:34.257 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:34.257 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:34.257 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Custom Cross Process Cursor Test - success:true
08-15 15:43:34.267 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:34.267 10177-17577/net.zetetic I/InterprocessBlobQueryTest: Before getDatabasePath
08-15 15:43:34.267 10177-17577/net.zetetic I/InterprocessBlobQueryTest: Before createDatabase
08-15 15:43:34.267 10177-17577/net.zetetic I/InterprocessBlobQueryTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:34.267 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:34.267 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:34.267 10177-17577/net.zetetic I/InterprocessBlobQueryTest: Before setUp
08-15 15:43:34.267 15644-15656/net.zetetic:provider D/dalvikvm: Trying to load lib /data/app-lib/net.zetetic-1/libsqlcipher.so 0x437f6af0
08-15 15:43:34.267 15644-15656/net.zetetic:provider D/dalvikvm: Shared lib '/data/app-lib/net.zetetic-1/libsqlcipher.so' already loaded in same CL 0x437f6af0
08-15 15:43:34.277 15644-15656/net.zetetic:provider I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:34.277 15644-15656/net.zetetic:provider I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:34.747 10177-17577/net.zetetic I/Zetetic: Running test:Looping Query Test
08-15 15:43:34.747 10177-17577/net.zetetic I/LoopingQueryTest: Before prepareDatabaseEnvironment
08-15 15:43:34.747 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:34.747 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:34.747 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:34.747 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Custom Inter-Process Blob Test - success:true
08-15 15:43:34.747 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:34.747 10177-17577/net.zetetic I/LoopingQueryTest: Before getDatabasePath
08-15 15:43:34.747 10177-17577/net.zetetic I/LoopingQueryTest: Before createDatabase
08-15 15:43:34.747 10177-17577/net.zetetic I/LoopingQueryTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:34.747 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:34.747 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:34.757 10177-17577/net.zetetic I/LoopingQueryTest: Before setUp
08-15 15:43:35.657 10177-17577/net.zetetic I/Zetetic: Running test:Looping Count Query Test
08-15 15:43:35.657 10177-17577/net.zetetic I/LoopingCountQueryTest: Before prepareDatabaseEnvironment
08-15 15:43:35.657 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Looping Query Test - success:true
08-15 15:43:35.657 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:35.657 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:35.657 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:35.657 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:35.657 10177-17577/net.zetetic I/LoopingCountQueryTest: Before getDatabasePath
08-15 15:43:35.657 10177-17577/net.zetetic I/LoopingCountQueryTest: Before createDatabase
08-15 15:43:35.657 10177-17577/net.zetetic I/LoopingCountQueryTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:35.657 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:35.657 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:35.657 10177-17577/net.zetetic I/LoopingCountQueryTest: Before setUp
08-15 15:43:36.117 10177-17577/net.zetetic I/Zetetic: Running test:Attach New Database Test
08-15 15:43:36.117 10177-17577/net.zetetic I/AttachNewDatabaseTest: Before prepareDatabaseEnvironment
08-15 15:43:36.117 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Looping Count Query Test - success:true
08-15 15:43:36.117 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:36.117 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:36.117 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:36.117 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:36.117 10177-17577/net.zetetic I/AttachNewDatabaseTest: Before getDatabasePath
08-15 15:43:36.117 10177-17577/net.zetetic I/AttachNewDatabaseTest: Before createDatabase
08-15 15:43:36.117 10177-17577/net.zetetic I/AttachNewDatabaseTest: Before ZeteticApplication.getInstance().createDatabase
08-15 15:43:36.117 10177-17577/net.zetetic I/Zetetic: Entered ZeteticApplication::createDatabase
08-15 15:43:36.117 10177-17577/net.zetetic I/Zetetic: Before SQLiteDatabase.openOrCreateDatabase
08-15 15:43:36.117 10177-17577/net.zetetic I/AttachNewDatabaseTest: Before setUp
08-15 15:43:37.037 10177-17577/net.zetetic I/Zetetic: Running test:Attach Existing Database Test
08-15 15:43:37.037 10177-17577/net.zetetic I/AttachExistingDatabaseTest: Before prepareDatabaseEnvironment
08-15 15:43:37.037 10177-10177/net.zetetic I/net.zetetic.sqlcipher.test: Attach New Database Test - success:true
08-15 15:43:37.037 10177-17577/net.zetetic I/Zetetic: Entered prepareDatabaseEnvironment
08-15 15:43:37.037 10177-17577/net.zetetic I/Zetetic: Before getDatabasePath
08-15 15:43:37.037 10177-17577/net.zetetic I/Zetetic: Before mkdirs on parent of database path
08-15 15:43:37.037 10177-17577/net.zetetic I/Zetetic: Before delete of database file
08-15 15:43:37.037 10177-17577/net.zetetic I/AttachExistingDatabaseTest: Before getDatabasePath
08-15 15:43:37.037 10177-17577/net.zetetic I/AttachExistingDatabaseTest: Before createDatabase
08-15 15:43:37.037 10177-17577/net.zetetic I/AttachExistingDatabaseTest: Before setUp
08-15 15:43:37.047 10177-17577/net.zetetic A/libc: Fatal signal 11 (SIGSEGV) at 0x00000000 (code=128), thread 17577 (AsyncTask #2)

#5

Hi @mplus

Thanks for sharing some of the logs, it appears you are receiving a crash when attempting to run AttachExistingDatabaseTest. Was additional information output to logcat regarding the crash beyond the Fatal signal line? When you run the suite multiple times does the crash occur on the same test? I noticed your original report mentioned a crash on an x86 device utilizing libhoudini for ARM translation, however the test suite was being run on an armeabi-v7a device. Were you able to run the test suite on the x86 device that you received the original crash on?