-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Crash from listOfflineRegions #15403
Comments
We have many such crash clusters: #00 pc 000000000001cf66 /system/lib/libc.so (abort+58) backtrace: backtrace: |
@JRWilding thank you for the report. Could you confirm you are calling |
@tobrun can confirm that we only ever call |
thank you for confirming, the crash originates from the android platform as it lists libc.so as first line in the stacktrace and its limited to only Android 9. The crash occurs when we try invoking the callback as part of our android run loop implementation. Can you share a bit more context on how you are setting up this download. Is this download tied to a specific Activity or a Service? Any other inputs on how we might be able to reproduce this? |
Downloads are managed by a service and are downloaded one at a time (users can queue up multiple regions). We haven't been able to reproduce it locally yet. Looking at all of the crash clusters on Google Play, our initial "crash from listOfflineRegions on Android 9" is a red-herring. Android versions 6-7 experience:
Android version 8:
These 3 lines seem common:
And given that it usually ends in an assert or abort, I'm presuming that something like the As this is happening in native and not throwing exceptions, something like fabric isn't able to pick this up and give more details (like logs). |
I can confirm I am running into this now on mapbox android 8.3.0 attempting to implement this plugin on NativeScript. This appears to be the only issue crashing for me related to the OfflineManager so far. |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
Steps to reproduce
Unknown. This is a report coming in from Google Play console (crash doesn't get to firebase/fabric). I know that this limited information probably isn't actionable for you :(
Expected behavior
No crash, or at least more useful information about what the problem is
Actual behavior
#00 pc 0000000000021dcc /system/lib64/libc.so (abort+124)
#1 pc 000000000035e8c4 /data/data/de.komoot.android/lib-0/libmapbox-gl.so
#2 pc 000000000035d51c /data/data/de.komoot.android/lib-0/libmapbox-gl.so
#3 pc 00000000000605c0 /data/data/de.komoot.android/lib-0/libmapbox-gl.so
#4 pc 000000000012f564 /data/app/de.komoot.android-35UhtYa_FHZMKrC60L70Dg==/oat/arm64/base.odex (com.mapbox.mapboxsdk.offline.OfflineManager.listOfflineRegions [DEDUPED]+180)
#5 pc 000000000003d914 /dev/ashmem/dalvik-jit-code-cache_19651_19651 (deleted)
Configuration
Android versions:
Only Android 9
Device models:
![image](https://user-images.githubusercontent.com/11031099/63183592-47bb9000-c04d-11e9-9970-cfe19604f9d1.png)
Mapbox SDK versions:
v8.2.0
The text was updated successfully, but these errors were encountered: