mapbox-maps-ios icon indicating copy to clipboard operation
mapbox-maps-ios copied to clipboard

Crash on index out of range

Open JenishKananiLime opened this issue 3 years ago • 3 comments

Environment

  • Xcode version:

  • iOS version:

  • Devices affected:

  • Maps SDK Version:

Observed behavior and steps to reproduce

Expected behavior

Notes / preliminary analysis

Additional links and references

Screen Shot 2022-08-04 at 4 01 04 PM

JenishKananiLime avatar Aug 04 '22 20:08 JenishKananiLime

@JenishKananiLime can you provide the following information so that we can attempt to reproduce this behavior on our side?

  • What version of the SDK are you seeing this on?
  • How have you created your annotations object?

ZiZasaurus avatar Aug 09 '22 01:08 ZiZasaurus

10.7, using a serial queue inside a global queue

JenishKananiLime avatar Aug 09 '22 19:08 JenishKananiLime

I think this issue is happening because annotation managers don't react well to being accessed from multiple threads, safe bet would be to update annotations property from the main thread.

evil159 avatar Aug 10 '22 07:08 evil159