Hello Guys,
My application getting crashes most of the time while we using self.mapView.userTrackingMode
Please let me know How can i resolve the crash issue?
Crashed: com.apple.main-thread
0 libsystem_malloc.dylib 0x199070d74 default_zone_malloc + 102
1 CoreFoundation 0x19932ddd4 __CFStrAllocateMutableContents + 96
2 CoreFoundation 0x19932d624 __CFStringChangeSizeMultiple + 608
3 CoreFoundation 0x199328218 __CFStringAppendBytes + 612
4 CoreFoundation 0x19931a2e4 __CFStringAppendFormatCore + 12820
5 CoreFoundation 0x19931a65c _CFStringCreateWithFormatAndArgumentsAux2 + 152
6 CoreFoundation 0x19931a730 CFStringCreateWithFormat + 60
7 CoreFoundation 0x199277e8c -[_CFXPreferences(PlistSourceAdditions) withManagedSourceForIdentifier:user:perform:] + 104
8 CoreFoundation 0x19927d84c -[_CFXPreferences appValueIsForcedForKey:appIdentifier:] + 160
9 CoreFoundation 0x1993b0e08 CFPreferencesAppValueIsForced + 104
10 GeoServices 0x19edc86e4 ___getValue_block_invoke.llvm.7478192230168857876 + 180
11 MapKit 0x1a6b28834 MapKitConfig_GetPropertiesForKey + 2912
12 GeoServices 0x19edc6e54 GEOConfigGetPropertiesForKey + 84
13 GeoServices 0x19edc85bc _getValue.llvm.7478192230168857876 + 180
14 GeoServices 0x19edc65f0 GEOConfigGetInteger + 28
15 MapKit 0x1a69a7cac -[MKMapView _canShowControls] + 92
16 MapKit 0x1a6986704 -[MKMapView _showOrHideScaleIfNecessary:] + 48
17 MapKit 0x1a697d1a8 -[MKMapView _didChangeRegionMidstream:] + 256
18 MapKit 0x1a69aa420 -[MKMapView mapLayerDidChangeVisibleRegion] + 56
19 VectorKit 0x1a76cd9d4 __77-[VKMapAnnotationTrackingCameraController _rotateToHeadingAnimated:duration:]_block_invoke + 948
20 VectorKit 0x1a76cd5c8 -[VKMapAnnotationTrackingCameraController _rotateToHeadingAnimated:duration:] + 664
21 VectorKit 0x1a733cbac -[VKAnnotationTrackingCameraController startTrackingAnnotation:trackHeading:animated:] + 572
22 MapKit 0x1a69a5464 -[MKMapView _setUserTrackingMode:animated:fromTrackingButton:] + 836
23 lineinspectionSTG 0x10301a7dc specialized BeginInspectionVC.mapView(_:regionDidChangeAnimated:) + 4298926044 (<compiler-generated>:4298926044)
24 lineinspectionSTG 0x103015704 @objc BeginInspectionVC.mapView(_:regionDidChangeAnimated:) + 4298905348 (<compiler-generated>:4298905348)
25 MapKit 0x1a697d4c0 -[MKMapView _didChangeRegionMidstream:] + 1048
26 MapKit 0x1a69aa5a4 -[MKMapView mapLayerDidChangeRegionAnimated:] + 64
27 VectorKit 0x1a76cd5f4 -[VKMapAnnotationTrackingCameraController _rotateToHeadingAnimated:duration:] + 708
28 VectorKit 0x1a733cbac -[VKAnnotationTrackingCameraController startTrackingAnnotation:trackHeading:animated:] + 572
29 MapKit 0x1a69a5464 -[MKMapView _setUserTrackingMode:animated:fromTrackingButton:] + 836
30 lineinspectionSTG 0x10301a7dc specialized BeginInspectionVC.mapView(_:regionDidChangeAnimated:) + 4298926044 (<compiler-generated>:4298926044)
31 lineinspectionSTG 0x103015704 @objc BeginInspectionVC.mapView(_:regionDidChangeAnimated:) + 4298905348 (<compiler-generated>:4298905348)
32 MapKit 0x1a697d4c0 -[MKMapView _didChangeRegionMidstream:] + 1048
33 MapKit 0x1a69aa5a4 -[MKMapView mapLayerDidChangeRegionAnimated:] + 64
34 VectorKit 0x1a76cdaa4 __77-[VKMapAnnotationTrackingCameraController _rotateToHeadingAnimated:duration:]_block_invoke.102 + 708
35 VectorKit 0x1a722d780 -[VKAnimation stopAnimation:] + 572
36 VectorKit 0x1a722db48 -[VKTimedAnimation stopAnimation:] + 836
37 VectorKit 0x1a722dc44 -[VKTimedAnimation onTimerFired:] + 4298926044
38 VectorKit 0x1a71a1ef8 md::AnimationManager::onTimerFired(double) + 4298905348
39 VectorKit 0x1a71a2b5c md::InteractiveAnimationManager::onTimerFired(double) + 1048
40 VectorKit 0x1a74a4ef8 md::MapEngine::layoutScene(double, bool) + 64
41 VectorKit 0x1a74a0938 -[_MapEngineRenderQueueSource renderQueueForTimestamp:] + 708
42 VectorKit 0x1a75b1470 -[MDDisplayLayer _renderQueueForTimestamp:prepareHandler:] + 572
43 VectorKit 0x1a75b1440 -[MDDisplayLayer renderQueueForTimestamp:] + 836
44 VectorKit 0x1a771c8f8 -[MetalLayer _onTimerFired:withPresent:] + 4298926044
45 VectorKit 0x1a74a5938 md::MapEngine::renderScene(double, std::__1::function<void ()>) + 4298905348
46 VectorKit 0x1a74a365c md::MapEngine::onRenderTimerFired(double) + 1048
47 VectorKit 0x1a7716580 ggl::DisplayLink::onTimerFired(double) + 64
48 VectorKit 0x1a77160e0 -[_GGLDisplayLinkTarget displayLinkFired:] + 708
49 QuartzCore 0x19fbbe514 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 572
50 IOKit 0x19a2b1eb0 IODispatchCalloutFromCFMessage + 836
51 CoreFoundation 0x1992cd6d4 __CFMachPortPerform + 4298926044
52 CoreFoundation 0x1992f6e5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 4298905348
53 CoreFoundation 0x1992f6588 __CFRunLoopDoSource1 + 1048
54 CoreFoundation 0x1992f145c __CFRunLoopRun + 64
55 CoreFoundation 0x1992f08bc CFRunLoopRunSpecific + 708
56 GraphicsServices 0x1a315c328 GSEventRunModal + 572
57 UIKitCore 0x19d3866d4 UIApplicationMain + 836
58 lineinspectionSTG 0x102e71724 main + 21 (AppDelegate.swift:21)
59 libdyld.dylib 0x19917b460 start + 4298905348