-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Crash in mbgl::Buffer when showing an annotation backed by sprite #6484
Comments
For searching purposes:
|
Update Actually, I can reproduce the crash pretty quickly on my device (iPhone 7, iOS 10), too. |
I should add that if I pan left and right slowly I usually don't see the crash. When I continuously flick the map left and right the crash often happens within a few seconds. I'm also noticing a lag when panning quickly that seems worse than I remember (although I'm running a debug build). |
This looks to be similar to or dupe of #6469 |
I added some debug logging and can observe the sequence of GL calls leading up to the crash:
The final call causes |
I had a bug in my logging. The call sequence is fine, the bug is that our state tracking for buffers, introduced in #5620, does not take into account the fact that |
Platform: iOS
Mapbox SDK version:
master
branch as of 9/27/2016Steps to trigger behavior
Expected behavior
No crash.
Actual behavior
Crash with this trace
Additional notes
I'm able to reproduce this 100% of the time with the steps noted above on macOS Sierra, Xcode 8, and iPhone 6 simulator. So far I've been unable to reproduce on a device (I've only tried iPhone 7, iOS 10).
cc @incanus @1ec5 @jfirebaugh
The text was updated successfully, but these errors were encountered: