从后台线程修改自动布局引擎

问题描述 投票:0回答:1

我随机收到以下异常,这会使我的SDK和应用程序崩溃。为了解决这个问题,我无法找到原因。

我添加了一个主线程检查器断点,但仍然无法找到以下崩溃的原因。主要问题是应用程序是旧版SDK,其代码正在更新或修改散布在不同实例中的UI。

我已尝试获取线程回溯,以查找有关该错误的更多信息。但是堆栈跟踪不会指向源代码中使用的任何类。

我的例外

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff23e39f0e __exceptionPreprocess + 350
    1   libobjc.A.dylib                     0x00007fff50ad79b2 objc_exception_throw + 48
    2   Foundation                          0x00007fff25a90175 -[NSISEngine tryToOptimizeReturningMutuallyExclusiveConstraints] + 0
    3   Foundation                          0x00007fff25a8fd63 -[NSISEngine _optimizeWithoutRebuilding] + 54
    4   Foundation                          0x00007fff25a8fc96 -[NSISEngine optimize] + 100
    5   Foundation                          0x00007fff25a8a9b8 -[NSISEngine performPendingChangeNotifications] + 82
    6   UIKitCore                           0x00007fff490c9cd4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 3642
    7   QuartzCore                          0x00007fff2b4ae3f0 -[CALayer layoutSublayers] + 255
    8   UIKitCore                           0x00007fff49023efb -[_UILabelLayer layoutSublayers] + 55
    9   QuartzCore                          0x00007fff2b4b457b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 523
    10  QuartzCore                          0x00007fff2b4bfc12 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 80
    11  QuartzCore                          0x00007fff2b408c84 _ZN2CA7Context18commit_transactionEPNS_11TransactionEd + 324
    12  QuartzCore                          0x00007fff2b43c65f _ZN2CA11Transaction6commitEv + 649
    13  QuartzCore                          0x00007fff2b43d55a _ZN2CA11Transaction14release_threadEPv + 210
    14  libsystem_pthread.dylib             0x00007fff51b39054 _pthread_tsd_cleanup + 551
    15  libsystem_pthread.dylib             0x00007fff51b3b512 _pthread_exit + 70
    16  libsystem_pthread.dylib             0x00007fff51b38ddd _pthread_wqthread_exit + 77

StackTrace

* thread #213, stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
  * frame #0: 0x00007fff51a1fc34 libsystem_c.dylib`__abort + 169
    frame #1: 0x00007fff51a1fb8b libsystem_c.dylib`abort + 135
    frame #2: 0x00007fff4f927858 libc++abi.dylib`abort_message + 231
    frame #3: 0x00007fff4f918cbf libc++abi.dylib`demangling_terminate_handler() + 262
    frame #4: 0x00007fff50ad7c0b libobjc.A.dylib`_objc_terminate() + 96
    frame #5: 0x00007fff4f926c87 libc++abi.dylib`std::__terminate(void (*)()) + 8
    frame #6: 0x00007fff4f92940b libc++abi.dylib`__cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 27
    frame #7: 0x00007fff4f9293d2 libc++abi.dylib`__cxa_throw + 113
    frame #8: 0x00007fff50ad7ad6 libobjc.A.dylib`objc_exception_throw + 340
    frame #9: 0x00007fff25a90175 Foundation`_AssertAutolayoutOnAllowedThreadsOnly + 428
    frame #10: 0x00007fff25a8fd63 Foundation`-[NSISEngine _optimizeWithoutRebuilding] + 54
    frame #11: 0x00007fff25a8fc96 Foundation`-[NSISEngine optimize] + 100
    frame #12: 0x00007fff25a8a9b8 Foundation`-[NSISEngine performPendingChangeNotifications] + 82
    frame #13: 0x00007fff490c9cd4 UIKitCore`-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 3642
    frame #14: 0x00007fff2b4ae3f0 QuartzCore`-[CALayer layoutSublayers] + 255
    frame #15: 0x00007fff49023efb UIKitCore`-[_UILabelLayer layoutSublayers] + 55
    frame #16: 0x00007fff2b4b457b QuartzCore`CA::Layer::layout_if_needed(CA::Transaction*) + 523
    frame #17: 0x00007fff2b4bfc12 QuartzCore`CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 80
    frame #18: 0x00007fff2b408c84 QuartzCore`CA::Context::commit_transaction(CA::Transaction*, double) + 324
    frame #19: 0x00007fff2b43c65f QuartzCore`CA::Transaction::commit() + 649
    frame #20: 0x00007fff2b43d55a QuartzCore`CA::Transaction::release_thread(void*) + 210
    frame #21: 0x00007fff51b39054 libsystem_pthread.dylib`_pthread_tsd_cleanup + 551
    frame #22: 0x00007fff51b3b512 libsystem_pthread.dylib`_pthread_exit + 70
    frame #23: 0x00007fff51b38ddd libsystem_pthread.dylib`_pthread_wqthread_exit + 77
    frame #24: 0x00007fff51b37afc libsystem_pthread.dylib`_pthread_wqthread + 481
    frame #25: 0x00007fff51b36b77 libsystem_pthread.dylib`start_wqthread + 15

详细堆栈跟踪

thread #1, queue = 'com.apple.main-thread'
    frame #0: 0x00007fff51a89dfa libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff51a8a170 libsystem_kernel.dylib`mach_msg + 60
    frame #2: 0x00007fff23d9d715 CoreFoundation`__CFRunLoopServiceMachPort + 165
    frame #3: 0x00007fff23d98347 CoreFoundation`__CFRunLoopRun + 1383
    frame #4: 0x00007fff23d97ac4 CoreFoundation`CFRunLoopRunSpecific + 404
    frame #5: 0x00007fff38b2fc1a GraphicsServices`GSEventRunModal + 139
    frame #6: 0x00007fff48bc7f80 UIKitCore`UIApplicationMain + 1605
    frame #7: 0x00000001087ff470 VMAX`main(argc=1, argv=0x00007ffee746cca0) at main.m:14:20
    frame #8: 0x00007fff519521fd libdyld.dylib`start + 1
  thread #5, name = 'com.apple.uikit.eventfetch-thread'
    frame #0: 0x00007fff51a89dfa libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff51a8a170 libsystem_kernel.dylib`mach_msg + 60
    frame #2: 0x00007fff23d9d715 CoreFoundation`__CFRunLoopServiceMachPort + 165
    frame #3: 0x00007fff23d98347 CoreFoundation`__CFRunLoopRun + 1383
    frame #4: 0x00007fff23d97ac4 CoreFoundation`CFRunLoopRunSpecific + 404
    frame #5: 0x00007fff25924d71 Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 211
    frame #6: 0x00007fff25924fe0 Foundation`-[NSRunLoop(NSRunLoop) runUntilDate:] + 72
    frame #7: 0x00007fff48c74db7 UIKitCore`-[UIEventFetcher threadMain] + 138
    frame #8: 0x00007fff2593aaeb Foundation`__NSThread__start__ + 1047
    frame #9: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #10: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #9, name = 'com.apple.NSURLConnectionLoader'
    frame #0: 0x00007fff51a89dfa libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff51a8a170 libsystem_kernel.dylib`mach_msg + 60
    frame #2: 0x00007fff23d9d715 CoreFoundation`__CFRunLoopServiceMachPort + 165
    frame #3: 0x00007fff23d98347 CoreFoundation`__CFRunLoopRun + 1383
    frame #4: 0x00007fff23d97ac4 CoreFoundation`CFRunLoopRunSpecific + 404
    frame #5: 0x00007fff23158c93 CFNetwork`___lldb_unnamed_symbol11344$$CFNetwork + 182
    frame #6: 0x00007fff2593aaeb Foundation`__NSThread__start__ + 1047
    frame #7: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #8: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #15, name = 'WebThread'
    frame #0: 0x00007fff51a89dfa libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff51a8a170 libsystem_kernel.dylib`mach_msg + 60
    frame #2: 0x00007fff23d9d715 CoreFoundation`__CFRunLoopServiceMachPort + 165
    frame #3: 0x00007fff23d98347 CoreFoundation`__CFRunLoopRun + 1383
    frame #4: 0x00007fff23d97ac4 CoreFoundation`CFRunLoopRunSpecific + 404
    frame #5: 0x00007fff4bac7955 WebCore`RunWebThread(void*) + 565
    frame #6: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #7: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #24, name = 'com.apple.audio.IOThread.client'
    frame #0: 0x00007fff51a89dfa libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff51a8a170 libsystem_kernel.dylib`mach_msg + 60
    frame #2: 0x00007fff238f0363 CoreAudio`___ZN19HALC_ProxyIOContextC2Ejj_block_invoke + 3146
    frame #3: 0x00007fff2390ce8c CoreAudio`HALB_IOThread::Entry(void*) + 72
    frame #4: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #5: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #26, name = 'com.apple.coreaudio.AQClient'
    frame #0: 0x00007fff51a89dfa libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff51a8a170 libsystem_kernel.dylib`mach_msg + 60
    frame #2: 0x00007fff23d9d715 CoreFoundation`__CFRunLoopServiceMachPort + 165
    frame #3: 0x00007fff23d98347 CoreFoundation`__CFRunLoopRun + 1383
    frame #4: 0x00007fff23d97ac4 CoreFoundation`CFRunLoopRunSpecific + 404
    frame #5: 0x00007fff22802b96 AudioToolbox`GenericRunLoopThread::Entry(void*) + 166
    frame #6: 0x00007fff4e2e26dd libAudioToolboxUtility.dylib`CAPThread::Entry(CAPThread*) + 77
    frame #7: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #8: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #27
    frame #0: 0x00007fff51a89e36 libsystem_kernel.dylib`semaphore_wait_trap + 10
    frame #1: 0x00007fff4d8e5d48 caulk`caulk::mach::semaphore::wait() + 16
    frame #2: 0x00007fff4d8e12f2 caulk`caulk::semaphore::timed_wait(double) + 106
    frame #3: 0x00007fff4d8e49d4 caulk`caulk::concurrent::details::worker_thread::run() + 30
    frame #4: 0x00007fff4d8e4b24 caulk`void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 45
    frame #5: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #6: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #28, name = 'AMCP Logging Spool'
    frame #0: 0x00007fff51a89e36 libsystem_kernel.dylib`semaphore_wait_trap + 10
    frame #1: 0x00007fff4d8e5d48 caulk`caulk::mach::semaphore::wait() + 16
    frame #2: 0x00007fff4d8e12f2 caulk`caulk::semaphore::timed_wait(double) + 106
    frame #3: 0x00007fff4d8e49d4 caulk`caulk::concurrent::details::worker_thread::run() + 30
    frame #4: 0x00007fff4d8e4b24 caulk`void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 45
    frame #5: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #6: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #56
    frame #0: 0x00007fff51a8b4ce libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff51b37aa1 libsystem_pthread.dylib`_pthread_wqthread + 390
    frame #2: 0x00007fff51b36b77 libsystem_pthread.dylib`start_wqthread + 15
* thread #65, stop reason = breakpoint 1.1 2.1 5.1
  * frame #0: 0x00007fff50ad7982 libobjc.A.dylib`objc_exception_throw
    frame #1: 0x00007fff25a90175 Foundation`_AssertAutolayoutOnAllowedThreadsOnly + 428
    frame #2: 0x00007fff25a8fd63 Foundation`-[NSISEngine _optimizeWithoutRebuilding] + 54
    frame #3: 0x00007fff25a8fc96 Foundation`-[NSISEngine optimize] + 100
    frame #4: 0x00007fff25a8a9b8 Foundation`-[NSISEngine performPendingChangeNotifications] + 82
    frame #5: 0x00007fff490c9cd4 UIKitCore`-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 3642
    frame #6: 0x00007fff2b4ae3f0 QuartzCore`-[CALayer layoutSublayers] + 255
    frame #7: 0x00007fff49023efb UIKitCore`-[_UILabelLayer layoutSublayers] + 55
    frame #8: 0x00007fff2b4b457b QuartzCore`CA::Layer::layout_if_needed(CA::Transaction*) + 523
    frame #9: 0x00007fff2b4bfc12 QuartzCore`CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 80
    frame #10: 0x00007fff2b408c84 QuartzCore`CA::Context::commit_transaction(CA::Transaction*, double) + 324
    frame #11: 0x00007fff2b43c65f QuartzCore`CA::Transaction::commit() + 649
    frame #12: 0x00007fff2b43d55a QuartzCore`CA::Transaction::release_thread(void*) + 210
    frame #13: 0x00007fff51b39054 libsystem_pthread.dylib`_pthread_tsd_cleanup + 551
    frame #14: 0x00007fff51b3b512 libsystem_pthread.dylib`_pthread_exit + 70
    frame #15: 0x00007fff51b38ddd libsystem_pthread.dylib`_pthread_wqthread_exit + 77
    frame #16: 0x00007fff51b37afc libsystem_pthread.dylib`_pthread_wqthread + 481
    frame #17: 0x00007fff51b36b77 libsystem_pthread.dylib`start_wqthread + 15
  thread #78
    frame #0: 0x00007fff51a8b4ce libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff51b37aa1 libsystem_pthread.dylib`_pthread_wqthread + 390
    frame #2: 0x00007fff51b36b77 libsystem_pthread.dylib`start_wqthread + 15
  thread #83
    frame #0: 0x00007fff51a89e4e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
    frame #1: 0x000000010afd7507 libdispatch.dylib`_dispatch_sema4_timedwait + 76
    frame #2: 0x000000010afd7960 libdispatch.dylib`_dispatch_semaphore_wait_slow + 58
    frame #3: 0x000000010afe81bc libdispatch.dylib`_dispatch_worker_thread + 326
    frame #4: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #5: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #84
    frame #0: 0x00007fff51a89e4e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
    frame #1: 0x000000010afd7507 libdispatch.dylib`_dispatch_sema4_timedwait + 76
    frame #2: 0x000000010afd7960 libdispatch.dylib`_dispatch_semaphore_wait_slow + 58
    frame #3: 0x000000010afe81bc libdispatch.dylib`_dispatch_worker_thread + 326
    frame #4: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #5: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #86
    frame #0: 0x00007fff51a8b4ce libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff51b37aa1 libsystem_pthread.dylib`_pthread_wqthread + 390
    frame #2: 0x00007fff51b36b77 libsystem_pthread.dylib`start_wqthread + 15
  thread #87
    frame #0: 0x00007fff51b36b68 libsystem_pthread.dylib`start_wqthread
  thread #88
    frame #0: 0x00007fff51a89e4e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
    frame #1: 0x000000010afd7507 libdispatch.dylib`_dispatch_sema4_timedwait + 76
    frame #2: 0x000000010afd7960 libdispatch.dylib`_dispatch_semaphore_wait_slow + 58
    frame #3: 0x000000010afe81bc libdispatch.dylib`_dispatch_worker_thread + 326
    frame #4: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #5: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #89
    frame #0: 0x00007fff51a8b4ce libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff51b37aa1 libsystem_pthread.dylib`_pthread_wqthread + 390
    frame #2: 0x00007fff51b36b77 libsystem_pthread.dylib`start_wqthread + 15
  thread #90
    frame #0: 0x00007fff51a89e4e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
    frame #1: 0x000000010afd7507 libdispatch.dylib`_dispatch_sema4_timedwait + 76
    frame #2: 0x000000010afd7960 libdispatch.dylib`_dispatch_semaphore_wait_slow + 58
    frame #3: 0x000000010afe81bc libdispatch.dylib`_dispatch_worker_thread + 326
    frame #4: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #5: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #91
    frame #0: 0x00007fff51a89e4e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
    frame #1: 0x000000010afd7507 libdispatch.dylib`_dispatch_sema4_timedwait + 76
    frame #2: 0x000000010afd7960 libdispatch.dylib`_dispatch_semaphore_wait_slow + 58
    frame #3: 0x000000010afe81bc libdispatch.dylib`_dispatch_worker_thread + 326
    frame #4: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #5: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #92
    frame #0: 0x00007fff51a89e4e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
    frame #1: 0x000000010afd7507 libdispatch.dylib`_dispatch_sema4_timedwait + 76
    frame #2: 0x000000010afd7960 libdispatch.dylib`_dispatch_semaphore_wait_slow + 58
    frame #3: 0x000000010afe81bc libdispatch.dylib`_dispatch_worker_thread + 326
    frame #4: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #5: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #93, name = 'Heap Helper Thread'
    frame #0: 0x00007fff51a8c882 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff51b3b425 libsystem_pthread.dylib`_pthread_cond_wait + 698
    frame #2: 0x00007fff26a7fc8a JavaScriptCore`WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 122
    frame #3: 0x00007fff26a62112 JavaScriptCore`WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2226
    frame #4: 0x00007fff26a37935 JavaScriptCore`bool WTF::Condition::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 165
    frame #5: 0x00007fff26a37c4a JavaScriptCore`WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 186
    frame #6: 0x00007fff26a7d076 JavaScriptCore`WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 166
    frame #7: 0x00007fff26a7f5c9 JavaScriptCore`WTF::wtfThreadEntryPoint(void*) + 9
    frame #8: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #9: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #94, name = 'Heap Helper Thread'
    frame #0: 0x00007fff51a8c882 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff51b3b425 libsystem_pthread.dylib`_pthread_cond_wait + 698
    frame #2: 0x00007fff26a7fc8a JavaScriptCore`WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 122
    frame #3: 0x00007fff26a62112 JavaScriptCore`WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2226
    frame #4: 0x00007fff26a37935 JavaScriptCore`bool WTF::Condition::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 165
    frame #5: 0x00007fff26a37c4a JavaScriptCore`WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 186
    frame #6: 0x00007fff26a7d076 JavaScriptCore`WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 166
    frame #7: 0x00007fff26a7f5c9 JavaScriptCore`WTF::wtfThreadEntryPoint(void*) + 9
    frame #8: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #9: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #95
    frame #0: 0x00007fff51a8b4ce libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff51b37aa1 libsystem_pthread.dylib`_pthread_wqthread + 390
    frame #2: 0x00007fff51b36b77 libsystem_pthread.dylib`start_wqthread + 15
  thread #96, name = 'com.apple.coremedia.audioqueue.source'
    frame #0: 0x00007fff51a8c882 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff51b3b425 libsystem_pthread.dylib`_pthread_cond_wait + 698
    frame #2: 0x00007fff24de75ce CoreMedia`WaitOnCondition + 11
    frame #3: 0x00007fff24de72c1 CoreMedia`FigSemaphoreWaitRelative + 145
    frame #4: 0x00007fff27dc2419 MediaToolbox`faq_enqueueSourceDataThread + 28
    frame #5: 0x00007fff24de7e6a CoreMedia`figThreadMain + 276
    frame #6: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #7: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
  thread #97, name = 'com.apple.coremedia.audiomentor'
    frame #0: 0x00007fff51a8c882 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff51b3b425 libsystem_pthread.dylib`_pthread_cond_wait + 698
    frame #2: 0x00007fff24de75ce CoreMedia`WaitOnCondition + 11
    frame #3: 0x00007fff24de72c1 CoreMedia`FigSemaphoreWaitRelative + 145
    frame #4: 0x00007fff27e8621a MediaToolbox`audioMentorThread + 4109
    frame #5: 0x00007fff24de7e6a CoreMedia`figThreadMain + 276
    frame #6: 0x00007fff51b3b109 libsystem_pthread.dylib`_pthread_start + 148
    frame #7: 0x00007fff51b36b8b libsystem_pthread.dylib`thread_start + 15
ios objective-c swift cocoa-touch
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.