-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[iOS] random crash on annotation selection #3284
Comments
/cc @1ec5 |
I haven’t encountered this crash yet, but it seems to indicate that |
The assertion message was using the wrong format specifier. I corrected that in c3fe62f; I think that’ll help us understand (for instance) how many annotations mbgl thinks got added. |
We have the same issue. We can provide steps to recreate in a production app if that helps at all. |
@1ec5 It happens in hitta.se If you zoom in to the hospital in the video, tap the annotation to reveal the callout, long press on the callout to drop a pin and then tap the original annotation it crashes with the same message as the original poster. Video http://s.swic.name/eyb4 |
Steps to reproduce:
|
Handle the case where the currently selected annotation isn’t one of the nearby annotations. This hasn’t come up before on OS X because clicking an annotation while another annotation is selected only dismisses the callout popover. Fixes #3284.
Fixed in #3881. The fix will be included in 3.1.1, which will be out shortly. |
Use the demo app, long press to add dropped annotations. After 3/4 annotations added, a selection went wrong and crashed:
The text was updated successfully, but these errors were encountered: