Hello,
I work on a video streaming app, and I have been working on this crash that we are seeing quite frequently (it is our #2 crasher at the moment). The stack trace indicates that an AVPictureInPictureController is being deallocated on a background thread. This leads to dangling AutoLayout constraints getting cleaned up, further resulting in an exception being thrown from the framework about the layout engine being accessed from a background thread.
We have internal analytics which indicate that the crash occurs after the user comes back to the app after putting it in the background, and switches playback from Picture in Picture mode back to the app's regular playback UI.
What has me puzzled here is that, as I'm sure you know, we have no control over the PIP UI. It is entirely system-provided, and there is none of our app's code in the stack trace. The whole process is even initiated by a KVO on an AVPlayerController property, and our app doesn't use that class directly anywhere. So how did we manage to cause this process to happen on a background thread?
Add to this the fact that the bug only appeared once we switched to compiling with Xcode 16, and is overwhelmingly present only on devices running iOS 18.
These factors lead me to believe that this is probably an OS issue. But before I go to file a feedback, I thought I would post here in case anyone has any ideas. I have attached an instance of the crash log to this post.
Incident Identifier: 62AA4615-BBBE-4901-B056-4F8B986AE51C Distributor ID: com.apple.AppStore Hardware Model: iPhone13,4 Process: SpectrumTV [97175] Path: /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/SpectrumTV Identifier: com.timewarnercable.simulcast Version: 9.31 (157172469) AppStoreTools: 16C5031b AppVariant: 1:iPhone13,4:18 Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.timewarnercable.simulcast [7624] Date/Time: 2025-01-08 17:32:45.7003 -0800 Launch Time: 2025-01-08 17:19:35.2699 -0800 OS Version: iPhone OS 18.2 (22C152) Release Type: User Baseband Version: 5.20.03 Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: SIGNAL 6 Abort trap: 6 Terminating Process: SpectrumTV [97175] Triggered by Thread: 13 Last Exception Backtrace: 0 CoreFoundation 0x19e3815ec __exceptionPreprocess + 164 (NSException.m:249) 1 libobjc.A.dylib 0x19b8fd244 objc_exception_throw + 88 (objc-exception.mm:356) 2 CoreAutoLayout 0x1c1c4aac8 _AssertAutoLayoutOnAllowedThreadsOnly + 320 (NSISEngine.m:0) 3 CoreAutoLayout 0x1c1c5251c -[NSISEngine withBehaviors:performModifications:] + 36 (NSISEngine.m:1982) 4 UIKitCore 0x1a0c5bcd8 -[UIView(UIConstraintBasedLayout) removeConstraints:] + 176 (NSLayoutConstraint_UIKitAdditions.m:1311) 5 UIKitCore 0x1a0ba4a6c -[UIView(AdditionalLayoutSupport) _snipDangliesWithForce:repairIfPossibleForViewThatMoved:newSuperview:oldSuperview:] + 608 (NSLayoutConstraint_UIKitAdditions.m:5744) 6 UIKitCore 0x1a0ba41ec _UIViewRemoveConstraintsMadeDanglyByChangingSuperview + 600 (NSLayoutConstraint_UIKitAdditions.m:5664) 7 UIKitCore 0x1a0b9fbcc __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 56 (UIView.m:13746) 8 UIKitCore 0x1a0b9b5e0 -[UIView _postMovedFromSuperview:] + 492 (UIView.m:13741) 9 UIKitCore 0x1a0c0cce0 __UIViewWasRemovedFromSuperview + 136 (UIView.m:13049) 10 UIKitCore 0x1a0c0caec -[UIView(Hierarchy) removeFromSuperview] + 248 (UIView.m:13105) 11 AVKit 0x1cbdc560c -[AVPictureInPicturePlayerLayerView detachPlayerLayer] + 64 (AVPictureInPicturePlayerLayerView.m:60) 12 AVKit 0x1cbe49454 -[AVPlayerLayer(AVPictureInPictureContentSource) avkit_stopRoutingVideoToPictureInPictureViewController:] + 360 (AVPlayerLayer_AVPictureInPictureContentSourceAdditions.m:76) 13 AVKit 0x1cbe44fd4 -[AVPictureInPictureController dealloc] + 92 (AVPictureInPictureController.m:303) 14 Foundation 0x19d0f1b94 _NSKVOPerformWithDeallocatingObservable + 180 (NSKeyValueObserving.m:2827) 15 Foundation 0x19d0f18a8 NSKVODeallocate + 180 (NSKeyValueObserverNotifying.m:466) 16 Foundation 0x19cfa0c08 NSKeyValueWillChangeWithPerThreadPendingNotifications + 640 (NSKeyValueObserving.m:1209) 17 Foundation 0x19d1271bc NSKVOForwardInvocation + 148 (NSKeyValueObserverNotifying.m:574) 18 CoreFoundation 0x19e384364 ___forwarding___ + 964 (NSForwarding.m:3654) 19 CoreFoundation 0x19e383ee0 _CF_forwarding_prep_0 + 96 (:-1) 20 AVKit 0x1cbeaeb48 __64-[AVPlayerController _observeValueForKeyPath:oldValue:newValue:]_block_invoke + 88 (AVPlayerController.m:1119) 21 libdispatch.dylib 0x1a6106248 _dispatch_call_block_and_release + 32 (init.c:1549) 22 libdispatch.dylib 0x1a6107fa8 _dispatch_client_callout + 20 (object.m:576) 23 libdispatch.dylib 0x1a610f5cc _dispatch_lane_serial_drain + 768 (queue.c:3934) 24 libdispatch.dylib 0x1a6110124 _dispatch_lane_invoke + 380 (queue.c:4025) 25 libdispatch.dylib 0x1a611b38c _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193) 26 libdispatch.dylib 0x1a611abd8 _dispatch_workloop_worker_thread + 540 (queue.c:6787) 27 libsystem_pthread.dylib 0x228f9b680 _pthread_wqthread + 288 (pthread.c:2696) 28 libsystem_pthread.dylib 0x228f99474 start_wqthread + 8 (:-1) Thread 0 name: Thread 0: 0 libsystem_kernel.dylib 0x00000001ef9b2788 mach_msg2_trap + 8 (:-1) 1 libsystem_kernel.dylib 0x00000001ef9b5e98 mach_msg2_internal + 80 (mach_msg.c:201) 2 libsystem_kernel.dylib 0x00000001ef9b5db0 mach_msg_overwrite + 424 (mach_msg.c:0) 3 libsystem_kernel.dylib 0x00000001ef9b5bfc mach_msg + 24 (mach_msg.c:323) 4 CoreFoundation 0x000000019e3ca7f4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2637) 5 CoreFoundation 0x000000019e3c9ea0 __CFRunLoopRun + 1212 (CFRunLoop.c:3021) 6 CoreFoundation 0x000000019e41c274 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434) 7 GraphicsServices 0x00000001eb5954c0 GSEventRunModal + 164 (GSEvent.c:2196) 8 UIKitCore 0x00000001a0f6277c -[UIApplication _run] + 816 (UIApplication.m:3846) 9 UIKitCore 0x00000001a0b88e64 UIApplicationMain + 340 (UIApplication.m:5503) 10 SpectrumTV 0x000000010354d3a0 main + 64 (AppDelegate.swift:31) 11 dyld 0x00000001c45f0de8 start + 2724 (dyldMain.cpp:1338) Thread 1 name: Thread 1: 0 libsystem_kernel.dylib 0x00000001ef9b2788 mach_msg2_trap + 8 (:-1) 1 libsystem_kernel.dylib 0x00000001ef9b5e98 mach_msg2_internal + 80 (mach_msg.c:201) 2 libsystem_kernel.dylib 0x00000001ef9b5db0 mach_msg_overwrite + 424 (mach_msg.c:0) 3 libsystem_kernel.dylib 0x00000001ef9b5bfc mach_msg + 24 (mach_msg.c:323) 4 CoreFoundation 0x000000019e3ca7f4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2637) 5 CoreFoundation 0x000000019e3c9ea0 __CFRunLoopRun + 1212 (CFRunLoop.c:3021) 6 CoreFoundation 0x000000019e41c274 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434) 7 Foundation 0x000000019cf82b48 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373) 8 Foundation 0x000000019d0df6f4 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420) 9 UIKitCore 0x00000001a0ff5b80 -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1351) 10 Foundation 0x000000019d06ea54 __NSThread__start__ + 724 (NSThread.m:991) 11 libsystem_pthread.dylib 0x0000000228f997d0 _pthread_start + 136 (pthread.c:931) 12 libsystem_pthread.dylib 0x0000000228f99480 thread_start + 8 (:-1) Thread 2 name: Thread 2: 0 libsystem_kernel.dylib 0x00000001ef9b2788 mach_msg2_trap + 8 (:-1) 1 libsystem_kernel.dylib 0x00000001ef9b5e98 mach_msg2_internal + 80 (mach_msg.c:201) 2 libsystem_kernel.dylib 0x00000001ef9b5db0 mach_msg_overwrite + 424 (mach_msg.c:0) 3 libsystem_kernel.dylib 0x00000001ef9b5bfc mach_msg + 24 (mach_msg.c:323) 4 FirebaseCrashlytics 0x00000001052a74ac FIRCLSMachExceptionReadMessage + 56 (FIRCLSMachException.c:196) 5 FirebaseCrashlytics 0x00000001052a74ac FIRCLSMachExceptionServer + 104 (FIRCLSMachException.c:172) 6 libsystem_pthread.dylib 0x0000000228f997d0 _pthread_start + 136 (pthread.c:931) 7 libsystem_pthread.dylib 0x0000000228f99480 thread_start + 8 (:-1) Thread 3 name: Thread 3: 0 libsystem_kernel.dylib 0x00000001ef9b2788 mach_msg2_trap + 8 (:-1) 1 libsystem_kernel.dylib 0x00000001ef9b5e98 mach_msg2_internal + 80 (mach_msg.c:201) 2 libsystem_kernel.dylib 0x00000001ef9b5db0 mach_msg_overwrite + 424 (mach_msg.c:0) 3 libsystem_kernel.dylib 0x00000001ef9b5bfc mach_msg + 24 (mach_msg.c:323) 4 CoreFoundation 0x000000019e3ca7f4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2637) 5 CoreFoundation 0x000000019e3c9ea0 __CFRunLoopRun + 1212 (CFRunLoop.c:3021) 6 CoreFoundation 0x000000019e41c274 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434) 7 CFNetwork 0x000000019f93b020 +[__CFN_CoreSchedulingSetRunnable _run:] + 416 (CoreSchedulingSet.mm:1473) 8 Foundation 0x000000019d06ea54 __NSThread__start__ + 724 (NSThread.m:991) 9 libsystem_pthread.dylib 0x0000000228f997d0 _pthread_start + 136 (pthread.c:931) 10 libsystem_pthread.dylib 0x0000000228f99480 thread_start + 8 (:-1) Thread 4: 0 libsystem_kernel.dylib 0x00000001ef9b2788 mach_msg2_trap + 8 (:-1) 1 libsystem_kernel.dylib 0x00000001ef9b5e98 mach_msg2_internal + 80 (mach_msg.c:201) 2 libsystem_kernel.dylib 0x00000001ef9b5db0 mach_msg_overwrite + 424 (mach_msg.c:0) 3 libsystem_kernel.dylib 0x00000001ef9b5bfc mach_msg + 24 (mach_msg.c:323) 4 CoreFoundation 0x000000019e3ca7f4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2637) 5 CoreFoundation 0x000000019e3c9ea0 __CFRunLoopRun + 1212 (CFRunLoop.c:3021) 6 CoreFoundation 0x000000019e41c274 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434) 7 Foundation 0x000000019cf82b48 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373) 8 SpectrumTV 0x0000000103770750 -[GCKBackgroundThread main] + 192 (GCKBackgroundThread.m:14) 9 Foundation 0x000000019d06ea54 __NSThread__start__ + 724 (NSThread.m:991) 10 libsystem_pthread.dylib 0x0000000228f997d0 _pthread_start + 136 (pthread.c:931) 11 libsystem_pthread.dylib 0x0000000228f99480 thread_start + 8 (:-1) Thread 5 name: Thread 5: 0 libsystem_kernel.dylib 0x00000001ef9ba334 __select + 8 (:-1) 1 CoreFoundation 0x000000019e49c4b4 __CFSocketManager + 704 (CFSocket.c:1341) 2 libsystem_pthread.dylib 0x0000000228f997d0 _pthread_start + 136 (pthread.c:931) 3 libsystem_pthread.dylib 0x0000000228f99480 thread_start + 8 (:-1) Thread 6: 0 libsystem_kernel.dylib 0x00000001ef9b2788 mach_msg2_trap + 8 (:-1) 1 libsystem_kernel.dylib 0x00000001ef9b5e98 mach_msg2_internal + 80 (mach_msg.c:201) 2 libsystem_kernel.dylib 0x00000001ef9b5db0 mach_msg_overwrite + 424 (mach_msg.c:0) 3 libsystem_kernel.dylib 0x00000001ef9b5bfc mach_msg + 24 (mach_msg.c:323) 4 CoreFoundation 0x000000019e3ca7f4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2637) 5 CoreFoundation 0x000000019e3c9ea0 __CFRunLoopRun + 1212 (CFRunLoop.c:3021) 6 CoreFoundation 0x000000019e41c274 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434) 7 CoreFoundation 0x000000019e42f814 CFRunLoopRun + 64 (CFRunLoop.c:3460) 8 NielsenAppApi 0x00000001058fea34 0x1058c8000 + 223796 9 Foundation 0x000000019d06ea54 __NSThread__start__ + 724 (NSThread.m:991) 10 libsystem_pthread.dylib 0x0000000228f997d0 _pthread_start + 136 (pthread.c:931) 11 libsystem_pthread.dylib 0x0000000228f99480 thread_start + 8 (:-1) Thread 7: 0 libsystem_pthread.dylib 0x0000000228f9946c start_wqthread + 0 (:-1) Thread 8: 0 libsystem_pthread.dylib 0x0000000228f9946c start_wqthread + 0 (:-1) Thread 9 name: Thread 9: 0 libsystem_kernel.dylib 0x00000001ef9b271c semaphore_timedwait_trap + 8 (:-1) 1 libdispatch.dylib 0x00000001a61085c0 _dispatch_sema4_timedwait + 64 (lock.c:154) 2 libdispatch.dylib 0x00000001a6108bc0 _dispatch_semaphore_wait_slow + 76 (semaphore.c:116) 3 NielsenAppApi 0x000000010590cf9c 0x1058c8000 + 282524 4 NielsenAppApi 0x00000001058ea43c 0x1058c8000 + 140348 5 NielsenAppApi 0x00000001058eb8b8 0x1058c8000 + 145592 6 NielsenAppApi 0x00000001058ec2d8 0x1058c8000 + 148184 7 NielsenAppApi 0x00000001058eae2c 0x1058c8000 + 142892 8 NielsenAppApi 0x00000001058d49a4 0x1058c8000 + 51620 9 libdispatch.dylib 0x00000001a6106248 _dispatch_call_block_and_release + 32 (init.c:1549) 10 libdispatch.dylib 0x00000001a6107fa8 _dispatch_client_callout + 20 (object.m:576) 11 libdispatch.dylib 0x00000001a610f5cc _dispatch_lane_serial_drain + 768 (queue.c:3934) 12 libdispatch.dylib 0x00000001a6110124 _dispatch_lane_invoke + 380 (queue.c:4025) 13 libdispatch.dylib 0x00000001a611b38c _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193) 14 libdispatch.dylib 0x00000001a611abd8 _dispatch_workloop_worker_thread + 540 (queue.c:6787) 15 libsystem_pthread.dylib 0x0000000228f9b680 _pthread_wqthread + 288 (pthread.c:2696) 16 libsystem_pthread.dylib 0x0000000228f99474 start_wqthread + 8 (:-1) Thread 10: 0 libsystem_pthread.dylib 0x0000000228f9946c start_wqthread + 0 (:-1) Thread 11: 0 libsystem_pthread.dylib 0x0000000228f9946c start_wqthread + 0 (:-1) Thread 12 name: Thread 12: 0 libsystem_kernel.dylib 0x00000001ef9b271c semaphore_timedwait_trap + 8 (:-1) 1 libdispatch.dylib 0x00000001a61085c0 _dispatch_sema4_timedwait + 64 (lock.c:154) 2 libdispatch.dylib 0x00000001a6108bc0 _dispatch_semaphore_wait_slow + 76 (semaphore.c:116) 3 libdispatch.dylib 0x00000001a6119c94 _dispatch_worker_thread + 324 (queue.c:7509) 4 libsystem_pthread.dylib 0x0000000228f997d0 _pthread_start + 136 (pthread.c:931) 5 libsystem_pthread.dylib 0x0000000228f99480 thread_start + 8 (:-1) Thread 13 name: Thread 13 Crashed: 0 libsystem_kernel.dylib 0x00000001ef9bd2d4 __pthread_kill + 8 (:-1) 1 libsystem_pthread.dylib 0x0000000228fa059c pthread_kill + 268 (pthread.c:1721) 2 libsystem_c.dylib 0x00000001a61c1b9c __abort + 136 (abort.c:163) 3 libsystem_c.dylib 0x00000001a61c1b14 abort + 140 (abort.c:130) 4 libc++abi.dylib 0x0000000228ec65b8 abort_message + 132 (abort_message.cpp:78) 5 libc++abi.dylib 0x0000000228eb4bac demangling_terminate_handler() + 348 (cxa_default_handlers.cpp:77) 6 libobjc.A.dylib 0x000000019b8ff2c4 _objc_terminate() + 156 (objc-exception.mm:496) 7 FirebaseCrashlytics 0x000000010529e4f4 FIRCLSTerminateHandler() + 340 (FIRCLSException.mm:463) 8 libc++abi.dylib 0x0000000228ec587c std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59) 9 libc++abi.dylib 0x0000000228ec5820 std::terminate() + 108 (cxa_handlers.cpp:88) 10 libdispatch.dylib 0x00000001a6107fbc _dispatch_client_callout + 40 (object.m:579) 11 libdispatch.dylib 0x00000001a610f5cc _dispatch_lane_serial_drain + 768 (queue.c:3934) 12 libdispatch.dylib 0x00000001a6110124 _dispatch_lane_invoke + 380 (queue.c:4025) 13 libdispatch.dylib 0x00000001a611b38c _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193) 14 libdispatch.dylib 0x00000001a611abd8 _dispatch_workloop_worker_thread + 540 (queue.c:6787) 15 libsystem_pthread.dylib 0x0000000228f9b680 _pthread_wqthread + 288 (pthread.c:2696) 16 libsystem_pthread.dylib 0x0000000228f99474 start_wqthread + 8 (:-1) Thread 14 name: Thread 14: 0 libsystem_kernel.dylib 0x00000001ef9b271c semaphore_timedwait_trap + 8 (:-1) 1 libdispatch.dylib 0x00000001a61085c0 _dispatch_sema4_timedwait + 64 (lock.c:154) 2 libdispatch.dylib 0x00000001a6108bc0 _dispatch_semaphore_wait_slow + 76 (semaphore.c:116) 3 libdispatch.dylib 0x00000001a6119c94 _dispatch_worker_thread + 324 (queue.c:7509) 4 libsystem_pthread.dylib 0x0000000228f997d0 _pthread_start + 136 (pthread.c:931) 5 libsystem_pthread.dylib 0x0000000228f99480 thread_start + 8 (:-1) Thread 15 name: Thread 15: 0 libsystem_kernel.dylib 0x00000001ef9b271c semaphore_timedwait_trap + 8 (:-1) 1 libdispatch.dylib 0x00000001a61085c0 _dispatch_sema4_timedwait + 64 (lock.c:154) 2 libdispatch.dylib 0x00000001a6108bc0 _dispatch_semaphore_wait_slow + 76 (semaphore.c:116) 3 libdispatch.dylib 0x00000001a6119c94 _dispatch_worker_thread + 324 (queue.c:7509) 4 libsystem_pthread.dylib 0x0000000228f997d0 _pthread_start + 136 (pthread.c:931) 5 libsystem_pthread.dylib 0x0000000228f99480 thread_start + 8 (:-1) Thread 16 name: Thread 16: 0 libsystem_kernel.dylib 0x00000001ef9b8090 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x0000000228f9bf98 _pthread_cond_wait + 1204 (pthread_cond.c:862) 2 JavaScriptCore 0x00000001b5089034 scavenger_thread_main + 1524 (pas_scavenger.c:347) 3 libsystem_pthread.dylib 0x0000000228f997d0 _pthread_start + 136 (pthread.c:931) 4 libsystem_pthread.dylib 0x0000000228f99480 thread_start + 8 (:-1) Thread 17: 0 libsystem_pthread.dylib 0x0000000228f9946c start_wqthread + 0 (:-1) Thread 18: 0 libsystem_pthread.dylib 0x0000000228f9946c start_wqthread + 0 (:-1) Thread 19 name: Thread 19: 0 libsystem_kernel.dylib 0x00000001ef9b271c semaphore_timedwait_trap + 8 (:-1) 1 libdispatch.dylib 0x00000001a61085c0 _dispatch_sema4_timedwait + 64 (lock.c:154) 2 libdispatch.dylib 0x00000001a6108bc0 _dispatch_semaphore_wait_slow + 76 (semaphore.c:116) 3 libdispatch.dylib 0x00000001a6119c94 _dispatch_worker_thread + 324 (queue.c:7509) 4 libsystem_pthread.dylib 0x0000000228f997d0 _pthread_start + 136 (pthread.c:931) 5 libsystem_pthread.dylib 0x0000000228f99480 thread_start + 8 (:-1) Thread 20: 0 libsystem_pthread.dylib 0x0000000228f9946c start_wqthread + 0 (:-1) Thread 21 name: Thread 21: 0 libsystem_kernel.dylib 0x00000001ef9b271c semaphore_timedwait_trap + 8 (:-1) 1 libdispatch.dylib 0x00000001a61085c0 _dispatch_sema4_timedwait + 64 (lock.c:154) 2 libdispatch.dylib 0x00000001a6108bc0 _dispatch_semaphore_wait_slow + 76 (semaphore.c:116) 3 Pegasus 0x00000001d0e2f98c __PG_dispatch_async_with_timeout_block_invoke + 248 (PGUtilities.m:31) 4 libdispatch.dylib 0x00000001a6106248 _dispatch_call_block_and_release + 32 (init.c:1549) 5 libdispatch.dylib 0x00000001a6107fa8 _dispatch_client_callout + 20 (object.m:576) 6 libdispatch.dylib 0x00000001a611a094 _dispatch_root_queue_drain + 860 (queue.c:7331) 7 libdispatch.dylib 0x00000001a611a6c4 _dispatch_worker_thread2 + 156 (queue.c:7399) 8 libsystem_pthread.dylib 0x0000000228f9b644 _pthread_wqthread + 228 (pthread.c:2709) 9 libsystem_pthread.dylib 0x0000000228f99474 start_wqthread + 8 (:-1) Thread 22: 0 libsystem_pthread.dylib 0x0000000228f9946c start_wqthread + 0 (:-1) Thread 23: 0 libsystem_pthread.dylib 0x0000000228f9946c start_wqthread + 0 (:-1) Thread 24: 0 libsystem_pthread.dylib 0x0000000228f9946c start_wqthread + 0 (:-1) Thread 25 name: Thread 25: 0 libsystem_kernel.dylib 0x00000001ef9b7140 socket + 8 1 IFConfig 0x00000001054a4048 isTemporaryIPv6 + 72 (tempIPv6.c:162) 2 IFConfig 0x00000001054a89b4 IFAddr.init(addr:getIPAddress:) + 212 (IFAddr.swift:59) 3 IFConfig 0x00000001054a89b4 specialized IFConfig.getAddrs(where:getifaddrs:freeifaddrs:getIPAddress:) + 616 (IFConfig.swift:63) 4 IFConfig 0x00000001054a79fc IFConfig.getAddrs(where:getifaddrs:freeifaddrs:getIPAddress:) + 56 (IFConfig.swift:32) 5 IFConfig 0x00000001054a79fc IFConfig.getAddrs(where:) + 56 (/:0) 6 IFConfig 0x00000001054a79fc protocol witness for IFConfiging.getAddrs(where:) in conformance IFConfig + 188 7 CMAirlytics 0x0000000104f6d654 NetworkingDataService.getDataUsage(where:) + 324 (NetworkingDataService.swift:117) 8 CMAirlytics 0x0000000104f6da50 closure #1 in NetworkingDataService.wifiDataUsageReading.getter + 44 (NetworkingDataService.swift:136) 9 CMAirlytics 0x0000000104f5a034 partial apply for closure #1 in NetworkingDataService.wifiDataUsageReading.getter + 16 (/:0) 10 libswiftDispatch.dylib 0x00000001a7761dd4 partial apply for thunk for @callee_guaranteed () -> (@out A, @error @owned Error) + 28 (:0) 11 libswiftDispatch.dylib 0x00000001a7761db0 thunk for @callee_guaranteed () -> (@out A, @error @owned Error)partial apply + 16 (:-1) 12 libswiftDispatch.dylib 0x00000001a7761d18 closure #1 in closure #1 in OS_dispatch_queue._syncHelper<a>(fn:execute:rescue:) + 192 (Queue.swift:403) 13 libswiftDispatch.dylib 0x00000001a7761c3c partial apply for thunk for @callee_guaranteed () -> () + 28 (:0) 14 libswiftDispatch.dylib 0x00000001a7761c14 thunk for @escaping @callee_guaranteed () -> () + 28 (:0) 15 libdispatch.dylib 0x00000001a6107fa8 _dispatch_client_callout + 20 (object.m:576) 16 libdispatch.dylib 0x00000001a61177fc _dispatch_lane_barrier_sync_invoke_and_complete + 56 (queue.c:1104) 17 libswiftDispatch.dylib 0x00000001a77636b0 implicit closure #2 in implicit closure #1 in OS_dispatch_queue.asyncAndWait</a><a>(execute:) + 192 (:-1) 18 libswiftDispatch.dylib 0x00000001a77635e8 partial apply for implicit closure #2 in implicit closure #1 in OS_dispatch_queue.sync</a><a>(execute:) + 76 (:0) 19 libswiftDispatch.dylib 0x00000001a7763468 OS_dispatch_queue._syncHelper</a><a>(fn:execute:rescue:) + 404 (Queue.swift:400) 20 libswiftDispatch.dylib 0x00000001a77632a4 OS_dispatch_queue.asyncAndWait</a><a>(execute:) + 140 (:-1) 21 libswiftDispatch.dylib 0x00000001a7763210 OS_dispatch_queue.sync</a><a>(execute:) + 64 (:-1) 22 CMAirlytics 0x0000000104f595d0 NetworkingDataService.wifiDataUsageReading.getter + 48 (NetworkingDataService.swift:135) 23 CMAirlytics 0x0000000104f595d0 protocol witness for INetworkingDataSource.wifiDataUsageReading.getter in conformance NetworkingDataService + 52 (/:134) 24 CMAirlytics 0x0000000104f595d0 EventAggregator.getUserInfoConnection(event:signalStrength:) + 724 (EventAggregator.swift:358) 25 CMAirlytics 0x0000000104f57164 EventAggregator.getUserInfo(event:signalStrength:location:scanResult:wifiThroughput:latency:) + 104 (EventAggregator.swift:302) 26 CMAirlytics 0x0000000104f57034 closure #1 in closure #1 in EventAggregator.postWifiInfo(location:scanResultList:) + 872 (EventAggregator.swift:172) 27 CMAirlytics 0x0000000104f40ad8 thunk for @escaping @callee_guaranteed @Sendable () -> () + 28 (/:0) 28 libdispatch.dylib 0x00000001a6106248 _dispatch_call_block_and_release + 32 (init.c:1549) 29 libdispatch.dylib 0x00000001a6107fa8 _dispatch_client_callout + 20 (object.m:576) 30 libdispatch.dylib 0x00000001a610f5cc _dispatch_lane_serial_drain + 768 (queue.c:3934) 31 libdispatch.dylib 0x00000001a6110124 _dispatch_lane_invoke + 380 (queue.c:4025) 32 libdispatch.dylib 0x00000001a611b38c _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193) 33 libdispatch.dylib 0x00000001a611abd8 _dispatch_workloop_worker_thread + 540 (queue.c:6787) 34 libsystem_pthread.dylib 0x0000000228f9b680 _pthread_wqthread + 288 (pthread.c:2696) 35 libsystem_pthread.dylib 0x0000000228f99474 start_wqthread + 8 (:-1) Thread 26: 0 libsystem_pthread.dylib 0x0000000228f9946c start_wqthread + 0 (:-1) Thread 27 name: Thread 27: 0 libsystem_kernel.dylib 0x00000001ef9b271c semaphore_timedwait_trap + 8 (:-1) 1 libdispatch.dylib 0x00000001a61085c0 _dispatch_sema4_timedwait + 64 (lock.c:154) 2 libdispatch.dylib 0x00000001a6108bc0 _dispatch_semaphore_wait_slow + 76 (semaphore.c:116) 3 libdispatch.dylib 0x00000001a6119c94 _dispatch_worker_thread + 324 (queue.c:7509) 4 libsystem_pthread.dylib 0x0000000228f997d0 _pthread_start + 136 (pthread.c:931) 5 libsystem_pthread.dylib 0x0000000228f99480 thread_start + 8 (:-1) Thread 13 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x0000000000000000 x5: 0x0000000000989680 x6: 0x000000000000006e x7: 0x0000000000000000 x8: 0x8b166bff1539b5c4 x9: 0x8b166bfe783305c4 x10: 0x00000000000003e8 x11: 0x000000000000000b x12: 0x000000000000000b x13: 0x000000019e8019ac x14: 0x00000000001ff800 x15: 0x00000000000007fb x16: 0x0000000000000148 x17: 0x000000016d0ab000 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x0000000000000e1f x21: 0x000000016d0ab0e0 x22: 0x0000000000000007 x23: 0x00000001052cd1c7 x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0x000000016d0ab0e0 x27: 0x0000000300799e80 x28: 0x0000000000000000 fp: 0x000000016d0aa6d0 lr: 0x0000000228fa059c sp: 0x000000016d0aa6b0 pc: 0x00000001ef9bd2d4 cpsr: 0x40001000 esr: 0x56000080 Address size fault Binary Images: 0x102ef4000 - 0x103a73fff SpectrumTV arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/SpectrumTV 0x103d48000 - 0x103d5ffff AirlyticsProtocols arm64 <561545d4a994388aa1369fadce8f38f2> /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/AirlyticsProtocols.framework/AirlyticsProtocols 0x103db0000 - 0x103dbbfff AppleSecurityUtilities arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/AppleSecurityUtilities.framework/AppleSecurityUtilities 0x103dd0000 - 0x103dd7fff FirebaseCoreExtension arm64 <4354006e68243eadb5bd53d1d42026cf> /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/FirebaseCoreExtension.framework/FirebaseCoreExtension 0x103e80000 - 0x103e8ffff FBLPromises arm64 <31612fcb36ef38239ebcca3d991797e6> /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/FBLPromises.framework/FBLPromises 0x103eb0000 - 0x103ebbfff FirebaseRemoteConfigInterop arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/FirebaseRemoteConfigInterop.framework/FirebaseRemoteConfigInterop 0x103ffc000 - 0x1040dbfff Airlytics arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/Airlytics.framework/Airlytics 0x104248000 - 0x104283fff AppleClientAnalytics arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/AppleClientAnalytics.framework/AppleClientAnalytics 0x1042b8000 - 0x10469ffff AppleClientFoundation arm64 <39992dce95a13a5eb3cf2e5128758f16> /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/AppleClientFoundation.framework/AppleClientFoundation 0x104e10000 - 0x104e57fff AppleClientPlayer arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/AppleClientPlayer.framework/AppleClientPlayer 0x104ec8000 - 0x104eebfff CAPEAgent arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/CAPEAgent.framework/CAPEAgent 0x104f30000 - 0x104fb7fff CMAirlytics arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/CMAirlytics.framework/CMAirlytics 0x105098000 - 0x10511ffff CMAirlyticsBU arm64 <913785e5fc433c6196d441e0b6d18f86> /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/CMAirlyticsBU.framework/CMAirlyticsBU 0x105204000 - 0x105217fff FirebaseCore arm64 <609300ace44d3990a5921dcc2d5aa236> /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/FirebaseCore.framework/FirebaseCore 0x105238000 - 0x105253fff FirebaseCoreInternal arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/FirebaseCoreInternal.framework/FirebaseCoreInternal 0x105290000 - 0x1052dffff FirebaseCrashlytics arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/FirebaseCrashlytics.framework/FirebaseCrashlytics 0x10535c000 - 0x105373fff FirebaseInstallations arm64 <80b2910f24303778a53d9059dcbc6454> /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/FirebaseInstallations.framework/FirebaseInstallations 0x10539c000 - 0x1053b7fff FirebaseSessions arm64 <7d6fbcfcda4e3bb09f1ced2d7c23b289> /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/FirebaseSessions.framework/FirebaseSessions 0x1053f4000 - 0x10541bfff GoogleDataTransport arm64 <03f4a29e87613574bc45d78d94f5b2a4> /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/GoogleDataTransport.framework/GoogleDataTransport 0x105458000 - 0x105477fff GoogleUtilities arm64 <47ec3b943bf93e9c9f77ee6e53ad9943> /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/GoogleUtilities.framework/GoogleUtilities 0x1054a0000 - 0x1054b3fff IFConfig arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/IFConfig.framework/IFConfig 0x1054d4000 - 0x10555ffff Kite arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/Kite.framework/Kite 0x1056c4000 - 0x1056dbfff KiteIcons arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/KiteIcons.framework/KiteIcons 0x1056f0000 - 0x10576bfff KochavaCore arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/KochavaCore.framework/KochavaCore 0x1057d4000 - 0x10585ffff KochavaTracker arm64 <042e60eb9cd7364f8a2b624405083c22> /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/KochavaTracker.framework/KochavaTracker 0x1058c8000 - 0x1059cffff NielsenAppApi arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/NielsenAppApi.framework/NielsenAppApi 0x105a7c000 - 0x105a8ffff Promises arm64 <6c04c82b37aa366294fc832066489be6> /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/Promises.framework/Promises 0x105ab4000 - 0x105afffff Protobuf arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/Protobuf.framework/Protobuf 0x105b80000 - 0x105c1ffff QuantumAnalytics arm64 /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/QuantumAnalytics.framework/QuantumAnalytics 0x105cc0000 - 0x105cc7fff nanopb arm64 <2dacfe35d3de35f4831a20b1870275a3> /private/var/containers/Bundle/Application/38250919-A977-42B0-9A7D-61671B179B40/SpectrumTV.app/Frameworks/nanopb.framework/nanopb 0x106640000 - 0x10664bfff libobjc-trampolines.dylib arm64e /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib 0x19b8cc000 - 0x19b91cccf libobjc.A.dylib arm64e <3ed8b852087d3b6ea36fceafed8e93ae> /usr/lib/libobjc.A.dylib 0x19cf59000 - 0x19dc89fff Foundation arm64e <7274dde368d634a08e677726e1265e80> /System/Library/Frameworks/Foundation.framework/Foundation 0x19e354000 - 0x19e897fff CoreFoundation arm64e <6a60be13e6573beca9acba239ae29862> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x19f849000 - 0x19fc0dfff CFNetwork arm64e <9987879240643260b5b2779a99b9f64e> /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x1a0b74000 - 0x1a2a89fff UIKitCore arm64e /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x1a6104000 - 0x1a6149fff libdispatch.dylib arm64e <8ce3afb96d8434468fd4e5f798d98403> /usr/lib/system/libdispatch.dylib 0x1a614a000 - 0x1a61c9ffb libsystem_c.dylib arm64e <8d425c7257c93e54a1e1e243cbdfc446> /usr/lib/system/libsystem_c.dylib 0x1a775f000 - 0x1a7775ff8 libswiftDispatch.dylib arm64e <688df6ad15ec319d9e9099adea17d06f> /usr/lib/swift/libswiftDispatch.dylib 0x1b4f8c000 - 0x1b67bdfdf JavaScriptCore arm64e /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore 0x1c1c46000 - 0x1c1c8ffff CoreAutoLayout arm64e /System/Library/PrivateFrameworks/CoreAutoLayout.framework/CoreAutoLayout 0x1c45c1000 - 0x1c464413f dyld arm64e <4eb7459fe23738ce82403f3e2e1ce5ab> /usr/lib/dyld 0x1cbd7b000 - 0x1cbf73fff AVKit arm64e <8d66d30d4aec308ca17786e9ba4025a0> /System/Library/Frameworks/AVKit.framework/AVKit 0x1d0e09000 - 0x1d0e70fff Pegasus arm64e <747c2ce61fd231b8b45d501c29b2f3c5> /System/Library/PrivateFrameworks/Pegasus.framework/Pegasus 0x1eb594000 - 0x1eb59cfff GraphicsServices arm64e /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices 0x1ef9b1000 - 0x1ef9eafe3 libsystem_kernel.dylib arm64e /usr/lib/system/libsystem_kernel.dylib 0x1ffee1000 - 0x200221fff libANGLE-shared.dylib arm64e <9b00d3e0329b3af9980e0eacb45a0c97> /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libANGLE-shared.dylib 0x228eb3000 - 0x228ecdfff libc++abi.dylib arm64e <355dab547c2030eba6bad22f6d42537a> /usr/lib/libc++abi.dylib 0x228f98000 - 0x228fa4ff3 libsystem_pthread.dylib arm64e /usr/lib/system/libsystem_pthread.dylib EOF </a>
Hello @ElFrijol,
I think you should go ahead and file that bug report using Feedback Assistant. (Please post your FB# back on this thread once you file)
If you have a focused sample that can reliably reproduce the issue, be sure to include that in your report.
-- Greg