My application uses ARKit to detect faces and depth data. I noticed a crash I can't reproduce in person, but it happens on production. I'm not calling directly any API mentioned in a log.
OS Version: iOS 15.1 (19B74)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: BUS_NOOP at 0x0000c6fb91131270
Crashed Thread: 20
Application Specific Information:
anchors > dictionary > identifier > lastUpdateTimestamp > objectForKey: > referenceOriginChanged > referenceOriginDelta > referenceOriginTransformUpdated > relocalizationDeltaTransform > removeObjectForKey: > setObject:forKey: > setReferenceTransform: > transform >
Attempted to dereference garbage pointer 0xc6fb91131270.
Thread 20 Crashed:
0 libobjc.A.dylib 0x3318d55e0 objc_msgSend
1 ARKitCore 0x369671f3c -[ARSession _updateAnchorsForFrame:resultDatas:context:addedAnchors:updatedAnchors:removedAnchors:externalAnchors:]
2 ARKitCore 0x36966fa40 -[ARSession technique:didOutputResultData:timestamp:context:]
3 ARKitCore 0x36966c718 -[ARParentTechnique _submitResultsForTimestamp:context:]
4 ARKitCore 0x369660bb0 -[ARParentTechnique technique:didOutputResultData:timestamp:context:onTechniques:]
5 ARKitCore 0x369660418 -[ARParentTechnique technique:didOutputResultData:timestamp:context:]
6 ARKitCore 0x36978c24c -[ARFaceLightEstimationTechnique requestResultDataAtTimestamp:context:]
7 ARKitCore 0x369660b8c -[ARParentTechnique technique:didOutputResultData:timestamp:context:onTechniques:]
8 ARKitCore 0x369660418 -[ARParentTechnique technique:didOutputResultData:timestamp:context:]
9 ARKitCore 0x36966162c -[ARWorldAlignmentTechnique requestResultDataAtTimestamp:context:]
10 ARKitCore 0x369660b8c -[ARParentTechnique technique:didOutputResultData:timestamp:context:onTechniques:]
11 ARKitCore 0x369660418 -[ARParentTechnique technique:didOutputResultData:timestamp:context:]
12 ARKitCore 0x36966c718 -[ARParentTechnique _submitResultsForTimestamp:context:]
13 libdispatch.dylib 0x3004f665c _dispatch_client_callout
14 libdispatch.dylib 0x3004f9b30 _dispatch_continuation_pop
15 libdispatch.dylib 0x30050cc34 _dispatch_source_invoke
16 libdispatch.dylib 0x3004fdcb8 _dispatch_lane_serial_drain
17 libdispatch.dylib 0x3004fe988 _dispatch_lane_invoke
18 libdispatch.dylib 0x3004ffc70 _dispatch_workloop_invoke
19 libdispatch.dylib 0x3005091a4 _dispatch_workloop_worker_thread
20 libsystem_pthread.dylib 0x3e11570f0 _pthread_wqthread
Any suggestion I should look into?