[android] Mapbox Android Demo app native crash on a Pixel XL Android P (Beta) #12278
Comments
I think the key here is @Guardiola31337 would you mind rebooting your device and trying again? |
Still the same 馃槗
|
It's working after clearing the storage of the app. It seems that the database was corrupted after updating to |
Disk I/O error isn't an indication of database corruption. Instead, it means that something in the file system layer went wrong that shouldn't have. Other than not crashing, there's nothing Mapbox GL can do when the file system behaves erratic. The crash bug will be fixed by #12224. When the file system returns I/O errors, we will now pretend that the cache database is empty and not writable, effectively disabling the cache. While this isn't ideal, in absence of file I/O being possible, there isn't much else we can do. |
Really great explanation 馃檱 Thanks for clarifying @kkaefer |
@kkaefer I have recently had a similar issue. ( unfortunately unable to reproduce ) In case this is a duplicate ( which i cannot verify ), then I believe the issue is a bit deeper than "something on the system level went wrong". I have seen these crashes a lot in the latest versions of mapbox (6.2.1, 6.3.0) which means it is not an isolated issue but rather something has corrupted the database during a migration or otherwise. After i delete the offline tile cache db file, everything works fine again. |
Noting here that I run into the same native crash in a different app using |
After updating to the latest version of Mapbox Android Demo app (via regular Play Store update) run into the following native 馃挜
Platform: Android P (Beta - Android version: 9) Pixel XL
Mapbox SDK version:
6.2.1
Steps to trigger behavior
Activity
If you want any further testing done, let me know. Happy to help!
cc @langsmith
The text was updated successfully, but these errors were encountered: