-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fatal Exception: mapbox::sqlite::Exception unable to open database file #5651
Comments
Seems to be fixed in 3.3.0. |
I am getting this error on Android this morning. E/libc++abi: terminating with uncaught exception of type mapbox::sqlite::Exception: unable to open database file |
I also started getting this error on Android. Maybe a 4.2.0-beta.2 bug? @tobrun |
cc @friedbunny |
@tobrun @friedbunny However, if I fresh install with 4.1.1, the error goes away. If I then upgrade to 4.2.0-beta.2 from 4.1.1, there is no crash. So I'm guessing it has something to do with the way 4.2.0 creates the sqlite database |
The Demo app also continuously crashes on every sample (not just new ones). Not sure if related, but could be |
7.0, Nexus 6P |
@vanshg If you could, please post a stack trace of the Android crash from a fresh 4.2.0-beta.2 install. |
Don't seem to be getting the crash anymore from fresh install of 4.2.0. I'll post one if it happens again. However, the Demo app does still keep crashing |
The original issue in this thread related to iOS and appears to have been resolved, so let’s move Android discussion to #6193. |
Reports of this issue on iOS v3.3.4, so I’m reopening. |
See this issue from commit 4cff0977a0 on iOS |
Any movement on this issue? |
It is possible this issue will also be fixed by #8125 that will be in the next Mapbox iOS SDK release (3.5.0). However, there are still no known repro steps here so we will leave this open for now for tracking. |
I'm also seeing this issue on Mapbox 3.6. Can't reproduce locally, however, we've seen plenty of crashes in fabric due to this exception.
|
Any updates on this? This issue is the second and third top crash, reported by Fabric. It occurs to a very small population (~8-14 users) but has over 1500 crashes reported in one week. Mapbox is linked Dynamically, and we're using Mapbox 3.6.3. |
Fixed in #12224 |
We see another crash which happens very frequently in our app. Maybe it's related to #4841 but it has a different stack trace / error message.
Platform: iOS
Mapbox SDK version: 3.2.3 - 3.3.0-rc.1
I can't reproduce it every time, but it happens 100% when the app is in background (according to crashlytics).
I attempted to fix it by setting the
cache.db
and the containing directory toNSFileProtectionNone
- but that didn't do anything.The text was updated successfully, but these errors were encountered: