-
Notifications
You must be signed in to change notification settings - Fork 567
native crash libsqlcipher.so 000c6008 #469
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
Comments
Hi @KSKjust Are you able to run the SQLCipher for Android test suite on that device? Have you tried utilizing the latest build of the library? Currently it is at 4.2.0. |
Thank you for your reply! And I'm wondering if the latest version (4.2.0 as you mentioned) had solved this problem? Because we found this problem on our published app which runs on the online environment, but it is very hard to reproduce the problem. |
Hi @KSKjust Below are a few additional questions that may be helpful in troubleshooting the problem:
|
Thanks,we only use |
Hi @KSKjust You might want to review all the native dependencies that you are bundling with your application and see if you can relax the For example, the SM-A505F which you are reporting a high number of crashes on is an Armv8-A 64-bit CPU, which SQLCipher for Android ships with support for. |
We experienced the same native crash in our app with many users. The crash occurs randomly when writing to the database, although on the LG G2 (LG-D802) with Android 5 it crashes almost every time. I can reproduce it with the Android test suite running the "Support Test Suite". It doesn't always crash in the same test though. Sometimes in the first one, sometimes later.
I'll be happy to provide more output, if helpful. |
@mimiks - is your application also using an |
@sjlombardo - the crash output above is from the "Android test suite" app with default settings (no But our app is also using abiFilters:
|
@developernotes |
I've now managed to get a tombstone. I also attempted to symbolize the stack dump with ndk-stack. In order to be able to symbolize the dump I used a debug version of the sqlcipher library built from scratch instead of the prebuilt version from the repository. Please let me know if you need any more information. |
`Crash type: 'native' backtrace:
./arm-linux-androideabi-addr2line -C -f -e ~/Downloads/android-database-sqlcipher-4.1.3/jni/armeabi-v7a/libsqlcipher.so 000c6008 I hope to help! |
executed cmd 28589 1bcf4: eb02a8c3 bl c6008 <ZNSt9hashtableISt4pairIKijEiSt4hashIiENSt4priv20_UnorderedMapTraitsTIS2_EENS5_10_Select1stIS2_EESt8equal_toIiESaIS2_EE18_M_ins ert_noresizeEjRKS2@@base+0x142c8> |
Where can i find the "SYMBOL TABLE" with the aar version 4.1.3? |
@developernotes @sjlombardo Have you been able to reproduce this native crash? I could mail you our LG G2 for testing if you like. |
Hi @mimiks Would you mind reaching out to us at support@zetetic.net. Since you have a device on hand, we have a beta build of SQLCipher for Android that may address the issue, we would be happy to send it over to test on that device and provide some feedback. 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. |
The issue persists. |
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. |
I have this problem too. --------- beginning of crash |
Hi @saucompeng, What device and Android OS version are you experiencing this issue on? |
LG G2, Android 5.0.2 |
Thanks @saucompeng, would you also check what model variant you have? |
@developernotes LG-D802 |
@developernotes Will you publish any patch? If you send any test tool, I can report data for you. |
@saucompeng we are in the process of acquiring an LG G2 D802 model for local testing. Thank you for the offer of testing, we may reach out. |
@developernotes any news? |
Hello @sirekanyan, @KSKjust, Through our review of this situation, we have identified an issue that appears only on certain devices, mainly those targeting the armeabi-v7a ABI and a limited set of Android operating systems. This issue is specific to OpenSSL when assembly optimization enabled. A potential workaround to address this is to disable assembly optimization when building OpenSSL, however, that would introduce a significant performance impact on devices who are not impacted by this issue. |
why this issue was not happening in "sqlcipher:3.5.9@aar" and started occurring in "sqlcipher:4.3.0@aar"? Do we have any alternate solution for this? in our latest release we have upgraded this library and has impacted thousands of user in India( Oppo Model A37, OS- 5.1) devices is highly used ) Please share some work around solution. |
We provided a recommendation to address the issue for users experiencing this issue above. If your organization is looking for a turnkey solution, please feel free to reach out at support@zetetic.net to discuss options. |
Hello @developernotes We also have the same problem above. |
Hello @yot940 You can find the public information we have shared here. If you organization is looking for a turnkey solution, please feel free to reach out to us at support@zetetic.net. Thanks! |
Expected Behavior
Actual Behavior
Steps to Reproduce
SQLCipher version (can be identified by executing
PRAGMA cipher_version;
):SQLCipher for Android version:
api 'net.zetetic:android-database-sqlcipher:4.1.3'
Note: If you are not posting a specific issue for the SQLCipher library, please consider posting your question to the SQLCipher discuss site. Thanks!
The text was updated successfully, but these errors were encountered: