My application uses ARKit to capture faces in real time, there are two occasional crashes during use, I can not reproduce it, the following is the crash stack, These are all system API calls. I have no clue, any suggestions to fix it? Thank you so much!
Additional information: BUG IN CLIENT OF LIBPLATFORM: Trying to recursively lock an os_unfair_lock
the first kind:
EXC_BREAKPOINT 0x00000001f6d2d20c
0 libsystem_platform.dylib _os_unfair_lock_recursive_abort + 36
1 libsystem_platform.dylib _os_unfair_lock_lock_slow + 284
2 SceneKit C3DTransactionGetStack + 160
3 SceneKit _commitImplicitTransaction + 36
4 CoreFoundation CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 36
5 CoreFoundation __CFRunLoopDoObservers + 548
6 CoreFoundation __CFRunLoopRun + 1028
7 CoreFoundation CFRunLoopRunSpecific + 608
8 Foundation -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
9 Foundation -[NSRunLoop(NSRunLoop) run] + 64
10 UIKitCore __66-[UIViewInProcessAnimationManager startAdvancingAnimationManager:]_block_invoke_7 + 108
11 Foundation NSThread__start + 732
12 libsystem_pthread.dylib _pthread_start + 136
13 libsystem_pthread.dylib thread_start + 8
the second kind:
已崩溃:com.apple.arkit.ardisplaylink.0x28083bd80 EXC_BREAKPOINT 0x00000001fe43920c
0 libsystem_platform.dylib _os_unfair_lock_recursive_abort + 36
1 libsystem_platform.dylib _os_unfair_lock_lock_slow + 284
2 SceneKit C3DTransactionGetStack + 160
3 SceneKit _commitImplicitTransaction + 36
4 CoreFoundation CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 36
5 CoreFoundation __CFRunLoopDoObservers + 548
6 CoreFoundation __CFRunLoopRun + 1028
7 CoreFoundation CFRunLoopRunSpecific + 608
8 CoreFoundation CFRunLoopRun + 64
9 ARKitCore -[ARRunLoop _startThread] + 616
10 Foundation NSThread__start + 732
11 libsystem_pthread.dylib _pthread_start + 136
12 libsystem_pthread.dylib thread_start + 8