-
Notifications
You must be signed in to change notification settings - Fork 568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ANR while SQLiteDatabase.loadLibs #519
Comments
Hi @arvifox If you remove your ABI filter, does the same behavior occur? |
Hi @developernotes
|
Hello @arvifox The next step is to isolate your application and logic from the library to verify that integration usage isn't the cause. Would you try recreating the issue in isolation within the SQLCipher for Android test suite. We would be happy to review a reproduction case. |
Hello @developernotes
Then I created new ContentProvider, just copypasted from
to OnCreate method. |
Hi @arvifox Since you are only able to reproduce it on a Samsung s20, would you modify the content provider in the test suite to call this before you call
|
Hi @developernotes , I tried your last approach and face the same issue. App stucks at System.loadLibrary("sqlcipher");.
|
Hi @arvifox, @andreas-schmidt-07, Thank you for your follow-up. Due to the nature of the issue you are experiencing, it would be helpful for you to reach out to us directly at support@zetetic.net to discuss resolution options. Thanks! |
Hello, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "bug", "enhancement", or "security" and I will leave it open. Thank you for your contributions. |
We are facing the same issue with the ANR in the exact same phones mentioned here? Any updates on this one @developernotes ? |
We are facing the same issue on the same set of devices and only after system reboot. Might this be due to |
Expected Behavior
Actual Behavior
I get an ANR during SQLiteDatabase.loadLibs(context).
I use ContentProvider to initialize the database and sqlcipher because my application works in background.
I call the loadLibs() method in the ContentProvider.
The ANR happens only on Samsung S20, S20+, S20 Ultra on Andoroid 10 (OneUI 2.5) and only after reboot of a phone.
If user starts the application manually everything works well.
Also I use
ndk.abiFilters 'armeabi-v7a', 'arm64-v8a'
Please help me
Steps to Reproduce
SQLCipher version (can be identified by executing
PRAGMA cipher_version;
):SQLCipher for Android version: 4.4.0
The text was updated successfully, but these errors were encountered: