Skip to content

App is killed when using this sqlcipher 4.* lib on Android 5.0.2 and Qualcomm Snapdragon 410 (MSM8916) #480

@kuFEAR

Description

@kuFEAR

Expected Behavior

Works well.

Actual Behavior

I don't see any logs in logcat with crash, but app is unexpected silently quit when called net.sqlcipher.database.SQLiteDatabase#loadLibs(android.content.Context, java.io.File) when were loading native library "sqlciphet.so"

Steps to Reproduce

Create a simple App with androidx.Room and com.commonsware.cwac:saferoom.x:1.0.0 or up to 1.2.0
and configure it like this:

Room.databaseBuilder(context, SecureDatabase::class.java, "mydb")
        .openHelperFactory(SafeHelperFactory("myPassCode".toCharArray()))
        .build()

It crashes only on Android 5.0.2 and Qualcomm Snapdragon 410 (MSM8916) devices (Lenovo s90-a, Asus ZenFone 2 Lazer, and other with the same configuration)

SQLCipher version:
4.2.0

Note: If you are not posting a specific issue for the SQLCipher library, please consider posting your question to the SQLCipher discuss site. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThis issue lacks recent activity.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions