Closed bartoszj closed 11 years ago
When I set showsUserLocation in MKMapView object to YES application crashes in -clusterize: method in line 323.
showsUserLocation
MKMapView
-clusterize:
Part of the crash log:
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x3298629e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x3a6ae97a objc_exception_throw + 26 2 CoreFoundation 0x32989e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166 3 CoreFoundation 0x3298852c ___forwarding___ + 388 4 CoreFoundation 0x328dff64 _CF_forwarding_prep_0 + 20 5 REMarkerClustererExample 0x00063d94 -[REMarkerClusterer clusterize:] (REMarkerClusterer.m:323) 6 REMarkerClustererExample 0x00064cb6 -[REMarkerClusterer mapView:regionDidChangeAnimated:] (REMarkerClusterer.m:408) 7 MapKit 0x3379f34a -[MKMapView _didChangeRegionMidstream:] + 1026 8 MapKit 0x337b2388 -[MKMapView _userScrollingEnded] + 112 9 MapKit 0x337e6e9e __36-[MKMapGestureController handlePan:]_block_invoke_0107 + 126 10 UIKit 0x3491404c -[_UIDynamicAnimation stop] + 44 11 MapKit 0x33797610 -[MKMapGestureController stopDynamicAnimations] + 100 12 MapKit 0x337a6754 -[MKMapGestureController gestureRecognizer:shouldReceiveTouch:] + 20 13 UIKit 0x3487293e -[UIGestureRecognizer _delegateShouldReceiveTouch:] + 114 14 UIKit 0x347a08b2 -[UITouchesEvent _addGestureRecognizersForView:toTouch:currentTouchMap:newTouchMap:] + 782 15 UIKit 0x347a0394 -[UITouchesEvent _addTouch:forDelayedDelivery:] + 212 16 UIKit 0x347a02ac _AddTouchToEvent + 184 17 UIKit 0x3478e026 _UIApplicationHandleEvent + 5910 18 GraphicsServices 0x364a659e _PurpleEventCallback + 586 19 GraphicsServices 0x364a61ce PurpleEventCallback + 30 20 CoreFoundation 0x3295b16e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 21 CoreFoundation 0x3295b112 __CFRunLoopDoSource1 + 134 22 CoreFoundation 0x32959f94 __CFRunLoopRun + 1380 23 CoreFoundation 0x328cceb8 CFRunLoopRunSpecific + 352 24 CoreFoundation 0x328ccd44 CFRunLoopRunInMode + 100 25 GraphicsServices 0x364a52e6 GSEventRunModal + 70 26 UIKit 0x347e22fc UIApplicationMain + 1116 27 REMarkerClustererExample 0x0005c8d4 main (main.m:16) 28 REMarkerClustererExample 0x0005c85c start + 36
Hi, thank you for reporting this. Fixed in ab4df9a586be3fa6c20a1bb283f78331df2920b2.
When I set
showsUserLocation
inMKMapView
object to YES application crashes in-clusterize:
method in line 323.Part of the crash log: