-
Notifications
You must be signed in to change notification settings - Fork 575
Description
Expected Behavior
I want to integrate android-database-sqlcipher:4.4.3 into my smart TV app, and it works fine on android 4.4.2.
Actual Behavior
After SQLiteDatabase.loadLibs(mContext) was called, the exception SIGILL (signal SIGILL: illegal instruction) was thrown on an android 4.4.2 TV.
Steps to Reproduce
- Integrate android-database-sqlcipher:4.4.3 into a app;
- Launch the app on android 4.4.2 smart TV.
SQLCipher for Android version:
android-database-sqlcipher:4.4.3
Are you able to reproduce this issue within the SQLCipher for Android test suite?
No, but I meet the follow test failed:
05-28 08:52:12.070 7838-7892/net.zetetic.sqlcipher.test I/Zetetic: Running test:Encrypt Bytes Test
05-28 08:52:12.115 7838-7892/net.zetetic.sqlcipher.test W/dalvikvm: Unable to resolve superclass of Landroidx/room/RoomTrackingLiveData; (904)
05-28 08:52:12.115 7838-7892/net.zetetic.sqlcipher.test W/dalvikvm: Link of class 'Landroidx/room/RoomTrackingLiveData;' failed
05-28 08:52:12.120 7838-7892/net.zetetic.sqlcipher.test E/dalvikvm: Could not find class 'androidx.room.RoomTrackingLiveData', referenced from method androidx.room.InvalidationLiveDataContainer.create
05-28 08:52:12.120 7838-7892/net.zetetic.sqlcipher.test W/dalvikvm: VFY: unable to resolve new-instance 993 (Landroidx/room/RoomTrackingLiveData;) in Landroidx/room/InvalidationLiveDataContainer;
05-28 08:52:12.120 7838-7892/net.zetetic.sqlcipher.test D/dalvikvm: VFY: replacing opcode 0x22 at 0x0000
05-28 08:52:12.125 7838-7892/net.zetetic.sqlcipher.test W/dalvikvm: VFY: unable to find class referenced in signature (Landroidx/lifecycle/LiveData;)
05-28 08:52:12.130 7838-7892/net.zetetic.sqlcipher.test W/dalvikvm: VFY: unable to find class referenced in signature (Landroidx/lifecycle/LiveData;)
05-28 08:52:12.130 7838-7892/net.zetetic.sqlcipher.test W/dalvikvm: Unable to resolve superclass of Landroidx/room/RoomTrackingLiveData; (904)
05-28 08:52:12.130 7838-7892/net.zetetic.sqlcipher.test W/dalvikvm: Link of class 'Landroidx/room/RoomTrackingLiveData;' failed
05-28 08:52:12.135 7838-7892/net.zetetic.sqlcipher.test D/dalvikvm: DexOpt: unable to opt direct call 0x16a9 at 0x09 in Landroidx/room/InvalidationLiveDataContainer;.create
05-28 08:52:12.145 7838-7892/net.zetetic.sqlcipher.test D/dalvikvm: Trying to load lib /data/app-lib/net.zetetic.sqlcipher.test-2/libsqlcipher.so 0x4231b798
05-28 08:52:12.145 7838-7892/net.zetetic.sqlcipher.test D/dalvikvm: Shared lib '/data/app-lib/net.zetetic.sqlcipher.test-2/libsqlcipher.so' already loaded in same CL 0x4231b798
05-28 08:52:16.295 7838-7892/net.zetetic.sqlcipher.test I/Zetetic: java.lang.IllegalStateException: Room cannot verify the data integrity. Looks like you've changed schema but forgot to update the version number. You can simply fix this by increasing the version number.
05-28 08:52:16.295 7838-7892/net.zetetic.sqlcipher.test I/Zetetic: Running test:Encrypted Room Test
Additional information:
My CPU info:
Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 1785.84
processor : 1
BogoMIPS : 1785.84
processor : 2
BogoMIPS : 1785.84
processor : 3
BogoMIPS : 1785.84
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 3
Hardware : Madison
Revision : 0020
Serial : 0000000000000000
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
My log:
05-27 17:47:23.080 24736-24736/com.. W/Settings: Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
05-27 17:47:25.420 24736-24736/com.. D/dalvikvm: Trying to load lib /data/app-lib/com..-1/libsqlcipher.so 0x4202ec78
05-27 17:47:42.560 24736-24741/com.. I/dalvikvm: threadid=3: reacting to signal 3
05-27 17:47:46.840 24736-24736/com.. D/dalvikvm: Added shared lib /data/app-lib/com..-1/libsqlcipher.so 0x4202ec78
05-27 17:47:46.845 24736-24741/com.. I/dalvikvm: Wrote stack traces to '/data/anr/traces.txt'