Skip to content
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

Native exception #599

Open
kaichunlin opened this issue Aug 30, 2022 · 2 comments
Open

Native exception #599

kaichunlin opened this issue Aug 30, 2022 · 2 comments

Comments

@kaichunlin
Copy link

We are seeing quite a number of native crashes similar to this:

  #00  pc 0x00000000000a534c  /data/app/~~7iQyW4InSEfqBNSIgjKtQg==/<app>-s-QQmPamI42JEad6zo-x_Q==/lib/arm64/libsqlcipher.so
  #00  pc 0x00000000000a509c  /data/app/~~7iQyW4InSEfqBNSIgjKtQg==/<app>-s-QQmPamI42JEad6zo-x_Q==/lib/arm64/libsqlcipher.so
  #00  pc 0x00000000001cf828  /data/app/~~7iQyW4InSEfqBNSIgjKtQg==/<app>-s-QQmPamI42JEad6zo-x_Q==/lib/arm64/libsqlcipher.so
  #00  pc 0x0000000000183d28  /data/app/~~7iQyW4InSEfqBNSIgjKtQg==/<app>-s-QQmPamI42JEad6zo-x_Q==/oat/arm64/base.odex (art_jni_trampoline)
  #00  pc 0x00000000007909a4  /data/app/~~7iQyW4InSEfqBNSIgjKtQg==/<app>-s-QQmPamI42JEad6zo-x_Q==/oat/arm64/base.odex (net.sqlcipher.database.SQLiteProgram.bindString)
  #00  pc 0x000000000078fbe8  /data/app/~~7iQyW4InSEfqBNSIgjKtQg==/<app>-s-QQmPamI42JEad6zo-x_Q==/oat/arm64/base.odex (net.sqlcipher.database.SQLiteDirectCursorDriver.query)
  #00  pc 0x000000000078f3f8  /data/app/~~7iQyW4InSEfqBNSIgjKtQg==/<app>-s-QQmPamI42JEad6zo-x_Q==/oat/arm64/base.odex (net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory)
  #00  pc 0x000000000078f1c4  /data/app/~~7iQyW4InSEfqBNSIgjKtQg==/<app>-s-QQmPamI42JEad6zo-x_Q==/oat/arm64/base.odex (net.sqlcipher.database.SQLiteDatabase.rawQuery)
  • it happens on all Android versions supported by the app
  • it appears to only happen on arm64 devices, though that's probably just because most/all users are on arm64 devices
  • In the last 30 days there have been 221 instances of this crash affecting 217 users, so the crash appears to be randomly distributed

Expected Behavior

App not crashing

Actual Behavior

App crashed

Steps to Reproduce

Unknown, they are captured by Google Play Console

SQLCipher version (can be identified by executing PRAGMA cipher_version;):
3.4.2

SQLCipher for Android version:
3.5.9

Are you able to reproduce this issue within the SQLCipher for Android test suite?
No

@developernotes
Copy link
Member

Hi @kaichunlin

Sorry for the delayed response. It might be worth determining whether updating the library to the latest version has any impact on your crash rate. This would require that you update to a new major version of SQLCipher, currently at 4.5.2. We have upgrade options detailed here.

@kaichunlin
Copy link
Author

Hi @developernotes
Thanks for the reply, it is the route we are going, fingers crossed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants