我已经通过Crashlytics报告了这个问题,虽然我一直无法在本地复制它,所以除了下面的堆栈跟踪之外我没什么可去的.不确定堆栈跟踪中是否有对CoreLocation的引用与它有任何关系,但我不确定可能是什么原因.我的项目正在使用ARC.任何线索?
Thread : Crashed: com.apple.CoreLocation.ConnectionClient.0x14eb3510.events
0 CoreFoundation 0x307769a8 CFBasicHashCreateCopy + 712
1 libobjc.A.dylib 0x3afd1a19 object_setClass + 24
2 CoreFoundation 0x30782d0f CFDictionaryCreateMutableCopy + 154
3 CoreLocation 0x30d0a8f3 CLLocationCoordinate2DGetDistanceFrom + 47590
4 CoreLocation 0x30d2d607 CLClientCreateIso6709Notation + 49626
5 CoreFoundation 0x30786d45 __CFDictionaryApplyFunction_block_invoke + 16
6 CoreFoundation 0x30772cd4 CFBasicHashApply + 128
7 CoreFoundation 0x3077be27 CFDictionaryApplyFunction + 154
8 CoreLocation 0x30d2cc25 CLClientCreateIso6709Notation + 47096
9 CoreLocation 0x30d2b625 CLClientCreateIso6709Notation + 41464
10 libxpc.dylib 0x3b5fc3a9 _xpc_connection_call_event_handler + 40
11 libxpc.dylib 0x3b5fee67 do_mach_notify_port_destroyed + 122
12 libxpc.dylib 0x3b5fedd1 …Run Code Online (Sandbox Code Playgroud) 我在我们的生产应用程序的 Apple 的 CoreLocation 线程中遇到了这个崩溃。我无法在我的测试中重现它,也很难弄清楚它的内部 CoreLocation。目前它发生的人口比例很少,但我可以看到它越来越大。
Crashed: com.apple.CoreLocation.ConnectionClient.0x16fcb870.events
0 CoreLocation 0x2aa2db54 CLClientCreateIso6709Notation + 53675
1 CoreLocation 0x2aa2dc7b CLClientCreateIso6709Notation + 53970
2 CoreLocation 0x2aa2de03 CLClientCreateIso6709Notation + 54362
3 CoreLocation 0x2aa2dcfb CLClientCreateIso6709Notation + 54098
4 CoreLocation 0x2aa30f59 CLClientCreateIso6709Notation + 66992
5 CoreLocation 0x2aa31089 CLClientCreateIso6709Notation + 67296
6 CoreFoundation 0x24954699 <redacted> + 16
7 CoreFoundation 0x2493f698 <redacted> + 120
8 CoreFoundation 0x24948575 CFDictionaryApplyFunction + 172
9 CoreLocation 0x2aa3036d CLClientCreateIso6709Notation + 63940
10 CoreLocation 0x2aa2edaf CLClientCreateIso6709Notation + 58374
11 libxpc.dylib 0x247816e5 <redacted> + 40 …Run Code Online (Sandbox Code Playgroud)