I'm writing to see if anyone can help me debug a common crash I see in my crash reports.
Context: My app uses CoreLocation for location tracking and also ARKit. These are both used only while the user is 3D scanning, and otherwise they are not used. We see the crash happening randomly when the user is in 3D scanning mode, also when they are not (when CoreLocation and CoreMotion should not be used at all). This is the most common crash we see in Crashlytics, but there is no reliably way to reproduce and as far as we can tell we are using the frameworks correctly. Does anybody know what's going on or have any suggestions to help debug? Much appreciated
Stack trace:
0 CoreMotion 0x1b5aa4774 CLClientCreateIso6709Notation + 190724
1 CoreMotion 0x1b5a9f69c CLClientCreateIso6709Notation + 170028
2 CoreMotion 0x1b5b4680c CLShouldDisplayEEDUI + 271016
3 IOKit 0x1b5864958 __IOHIDEventSystemClientQueueCallback + 288
4 CoreFoundation 0x1aa90ba5c __CFMachPortPerform + 176
5 CoreFoundation 0x1aa931274 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60
6 CoreFoundation 0x1aa9305f4 __CFRunLoopDoSource1 + 596
7 CoreFoundation 0x1aa92a1d8 __CFRunLoopRun + 2372
8 CoreFoundation 0x1aa929360 CFRunLoopRunSpecific + 600
9 CoreFoundation 0x1aa92a44c CFRunLoopRun + 64
10 CoreMotion 0x1b5aa5c78 CLClientCreateIso6709Notation + 196104
11 libsystem_pthread.dylib 0x1f6630bfc _pthread_start + 320
12 libsystem_pthread.dylib 0x1f6639758 thread_start + 8