-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Unrecognized selector crash when suspending and removing MGLOfflinePack #6092
Comments
Related to #5538. |
Does the crash occur if you only remove the pack instead of canceling it? Removing the pack should cancel it automatically, if asynchronously. |
I tried
Same crash, after a few starting and canceling cycles. When I trie
It seems to work for a little more starting a canceling cycles, but it crashes in the end as well. |
This isn't fixed in any of the latest versions, right? |
#6186 should’ve made this crash less likely to occur; as a stale pointer issue, it’s difficult to say for sure that the crash is fixed. |
I will try to produce the error with the latest version and give you feedback about the result. |
sorry, still seeing this error :( (v. 3.5.0) |
MGLOfflinePack would really benefit from the sort of /cc @boundsj @jfirebaugh |
I have seen this crash as well. I am on Mapbox-iOS-SDK-3.6.4. I've attached a stack trace. The line that crashes is
I have tried suspending the offline pack before removing as well as removing the offline pack without suspending, crashes occur in both cases. Can you help? This is one of the most frequent crashes in our app now. |
This is still happening for me on 3.7.0. Any updates on this? Thanks. |
Platform: iOS 9.3.4
Mapbox SDK version: 3.3.1
Steps to trigger behavior
When I try to cancel the download of an MGLOfflinePack, i get this error:
I am using this code for the task:
It seems similar to #4394, except this issue only seems to happen if i cancel the download, not after successfully completing the download.
Expected behavior
I was hoping to stop the download.
Actual behavior
Crash
The text was updated successfully, but these errors were encountered: