Skip to content

Native exception  #599

@kaichunlin

Description

@kaichunlin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions