# SQLCipher 3.5.9 native crash after application upgrade

**URL:** <https://discuss.zetetic.net/t/sqlcipher-3-5-9-native-crash-after-application-upgrade/3967>\
**Category:** SQLCipher\
**Created:** [October 6, 2019, 2:21pm UTC](https://discuss.zetetic.net/t/sqlcipher-3-5-9-native-crash-after-application-upgrade/3967 "2019-10-06T14:21:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [October 7, 2019, 1:21pm UTC](https://discuss.zetetic.net/t/sqlcipher-3-5-9-native-crash-after-application-upgrade/3967/2 "2019-10-07T13:21:10Z")

</div>

Hi @raiym

Unfortunately, it is difficult to troubleshoot without additional information regarding the crash. For example, the following information would be helpful to better understand your situation:

- What Android device presented the crash?
- What is the Android OS version on that device?
- What code was executing with regard to the database library just prior to the crash?
- Were you performing a schema migration?
- Did the database file exist on this device prior to the execution that caused the crash?

That said, the 3.5.9 release is almost 2 years old. It might be worth evaluating whether to update the SQLCipher library for your application. The update includes a major version change, so reviewing the upgrade documentation below is important:

> [@Upgrading to SQLCipher 4](https://discuss.zetetic.net/t/upgrading-to-sqlcipher-4/3283):
>
> The recent release of [SQLCipher 4](https://www.zetetic.net/blog/2018/11/30/sqlcipher-400-release/) introduces many new performance and security enhancements for applications that use SQLCipher for secure local data storage. However, the introduction of new default algorithms, increased KDF iterations and a larger page size means that SQLCipher 4 will not open older databases by default. This document provides guidance on the upgrade options available to applications that have previously integrated SQLCipher versions 1 through 3. Option 1: Database File Migr…

---

_[View the full topic](https://discuss.zetetic.net/t/sqlcipher-3-5-9-native-crash-after-application-upgrade/3967)._
