Redisplaying MKMapAnnotations while MKMapView is still buys drawing MKMapAnnotations causes a crash

Originator:hm.stahl
Number:rdar://36318937 Date Originated:2018-01-05
Status:Open Resolved:
Product:iOS Product Version:11.2.1
Classification: Reproducible:Yes
 
When MapKit is in the process of adding MKMapAnnotations to a MKMapView and the user causes a refresh/redisplay of the same or other MKMapViewAnnotations the App crashes in [MKSpatialCollider insertAnnotationView:]. This happens more often with larger numbers of MKMapAnnotations (in my case between 10 and at most 90).

Steps to Reproduce:

Redisplay MKMapAnnotations

Expected Results:

The MKMapView should stop inserting the first set of MKMapAnnotations and restart with the new set 

Actual Results:

Crash (not always, but often)

Version/Build:

iOS 11.2.1 on iPhone 7 or Simulator
Xcode Version 9.2 (9C40b)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!