We experienced a lot of performance and stability issues on some Android devices with the 3.5.6 release, partially resulting in native crashes. According to the description of the users in the developer console, these crashes happen, when the app is performing particularly heavy queries.
Thank you for your report. In the 3.5.5 release we included an adjustment to the CursorWindow allocation routine to allow the window to grow beyond the 1 MB limit. I would be curious if you are able to recreate a crash within the SQLCipher for Android test suite? We would be happy to look into this further. Thanks!
We have not been able to reproduce the crashes on our own test devices, however the developer console was full of them, spanning a wide range of devices from different manufacturers.
I will investigate further and let you know if the crash can be recreated with the test suite.
I was not able to reproduce the crash with the test suite. But then again, we didn’t notice the bug either on our test devices and the emulator before shipping the product and getting hundreds of identical native crashes in the dev console, so I’m not sure what actually triggers it. Some people also reported a general slowdown of the app with SQLCipher 3.5.6.
Please let me know if I can help with more information.
Would it be possible to you to reach out to one of your users who is reporting the issue? Having a reproducible issue in the test suite allows us to narrow down the root cause. Are you currently using the community edition of the library, or do you hold a commercial license? Thanks!
We also experienced a large number of these crashes in our latest release. It seems to effect devices in APAC regions specifically. It doesn’t impact any of our test devices in the US. We had to do an emergency hotfix to rollback to 3.5.3 (which we were using previously).