Crash in connection loader from CFNetwork with stack traces referring to internal Apple SDKs

We found there is a significant crash reports (most of them are from iOS 17, the rest are iOS 16 and 15) comes from network loader from CFNetwork. Apparently it seems there are two types of crashes if we checked from the stack trace, the one we found from both Xcode organizer and 3rd party crash reporter is referring to URLConnectionLoader::loadWithWhatToDo and the other one from our 3rd party crash reporter (didn’t found the report from Xcode organizer) referring to _CFURLResponseCreateFromArchiveList (this one only happened on iOS 17.5 and later devices). It seems that they are both kinda similar which might point to the same root cause.

From what I’ve seen, we never touch the lower level API directly, we usually use the URLSession to manage our API request. The crashed stack trace also didn’t give any indication about which of our app code that triggered the crash, it only shows calls to Apple’s internal SDKs so we are unsure how to approach this issue meanwhile the crash event already reached 800+ in the last 30 days. Unfortunately, we cannot reproduce the issue as the stack trace itself seems unclear to us.

I have submitted a report through feedback assistant with number: FB14679252.

Would appreciate if anyone can give any advice on what we can do to avoid this in the future and probably any hint on why it could happened.

Hereby I attached the crash reports that we found each from Xcode crash report and our 3rd party crash reporter (the report said it crashed on com.apple.CFNetwork.LoaderQ) so you could get a glimpse of the similarity.

Xcode crash report

Incident Identifier: 61DE4074-7FE5-4535-86BF-116425410CD0
Distributor ID:      com.apple.AppStore
Hardware Model:      iPhone11,2
Process:             vidio [558]
Path:                /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/vidio
Identifier:          com.kmk.vidio
Version:             6.33.0 (2174)
AppStoreTools:       15F31e
AppVariant:          1:iPhone11,2:15
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.kmk.vidio [643]

Date/Time:           2024-08-06 12:57:40.9913 +0700
Launch Time:         2024-08-06 12:41:19.6724 +0700
OS Version:          iPhone OS 17.5.1 (21F90)
Release Type:        User
Baseband Version:    6.00.00
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000bb3d4ced5350 -> 0x0000003d4ced5350 (possible pointer authentication failure)
Exception Codes: 0x0000000000000001, 0x0000bb3d4ced5350
VM Region Info: 0x3d4ced5350 is in 0x1000000000-0x7000000000;  bytes after start: 194564150096  bytes before end: 217752710319
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      commpage (reserved)      fc0000000-1000000000 [  1.0G] ---/--- SM=NUL  reserved VM address space (unallocated)
--->  GPU Carveout (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL  reserved VM address space (unallocated)
      UNUSED SPACE AT END
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [558]

Triggered by Thread:  13



Thread 0:
0   libobjc.A.dylib               	0x00000001883df6a4 0x1883d4000 + 46756
1   libobjc.A.dylib               	0x00000001883df578 objc_autoreleaseReturnValue + 52 (NSObject.mm:2231)
2   FrontBoardServices            	0x00000001a9195564 -[FBSSettings(FBSSceneExtension) valueForProperty:expectedClass:] + 128 (FBSSceneExtension.m:785)
3   FrontBoardServices            	0x00000001a91950a4 -[FBSSceneSettingsCore isForeground] + 52 (FBSSceneSettings.m:112)
4   UIKitCore                     	0x00000001927533b0 _UISceneLifecycleStateIsSEO + 40 (_UISceneLifecycleState.m:15)
5   UIKitCore                     	0x00000001927530d0 +[_UISceneLifecycleMultiplexer _compareLifecycleStateOfScene:toScene:] + 280 (_UISceneLifecycleMultiplexer.m:384)
6   UIKitCore                     	0x0000000192752e38 __75+[_UISceneLifecycleMultiplexer _mostActiveSceneIncludingInternal:withTest:]_block_invoke.10 + 136 (_UISceneLifecycleMultiplexer.m:350)
7   CoreFoundation                	0x00000001904d1b14 __NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__ + 24 (NSArrayHelpers.m:10)
8   CoreFoundation                	0x000000019053b660 -[__NSSingleObjectArrayI enumerateObjectsWithOptions:usingBlock:] + 92 (NSSingleObjectArray.m:53)
9   UIKitCore                     	0x0000000192815304 +[_UISceneLifecycleMultiplexer _mostActiveSceneIncludingInternal:withTest:] + 340 (_UISceneLifecycleMultiplexer.m:343)
10  UIKitCore                     	0x00000001927587cc _UIGetCurrentFallbackTraitCollection + 148 (_UIFallbackEnvironment_NonARC.m:105)
11  UIKitCore                     	0x000000019273f198 +[UITraitCollection _currentTraitCollectionWithFallback:markFallback:] + 192 (UITraitCollection_NonARC.m:2880)
12  UIKitCore                     	0x000000019276c934 _UICurrentImageTraitCollection + 28 (UIImageConfiguration.m:290)
13  UIKitCore                     	0x000000019276c5f8 +[UIImageConfiguration _completeConfiguration:fromConfiguration:] + 88 (UIImageConfiguration.m:244)
14  UIKitCore                     	0x00000001927546b8 -[_UIAssetManager imageNamed:configuration:cachingOptions:attachCatalogImage:] + 148 (_UIAssetManager.m:636)
15  UIKitCore                     	0x0000000192753710 -[_UIAssetManager imageNamed:configuration:] + 196 (_UIAssetManager.m:966)
16  UIKitCore                     	0x0000000192930390 +[UIImage imageNamed:inBundle:withConfiguration:] + 360 (UIImage.m:937)
17  UIKitCore                     	0x00000001929301e8 +[UIImage imageNamed:inBundle:compatibleWithTraitCollection:] + 92 (UIImage.m:917)
18  vidio                         	0x00000001035881b8 @nonobjc UIImage.__allocating_init(named:in:compatibleWith:) + 52 (:0)
19  vidio                         	0x00000001035881b8 ImageResource.callAsFunction(compatibleWith:) + 112
20  vidio                         	0x0000000102deafe8 FluidWatchMyListMenuView.updateState(_:) + 736 (FluidWatchMyListMenuView.swift:45)
21  vidio                         	0x0000000102deacf0 closure #1 in FluidWatchMyListMenuView.setupBinding() + 68 (FluidWatchMyListMenuView.swift:34)
22  Combine                       	0x00000001998f0ecc Subscribers.Sink.receive(_:) + 92 (Sink.swift:128)
23  Combine                       	0x00000001998f0e60 protocol witness for Subscriber.receive(_:) in conformance Subscribers.Sink + 24 (:0)
24  Combine                       	0x00000001998f0b48 closure #1 in Publishers.ReceiveOn.Inner.receive(_:) + 284 (ReceiveOn.swift:169)
25  BindingCombine                	0x00000001045234d0 UIScheduler.schedule(options:_:) + 36 (UIScheduler.swift:37)
26  BindingCombine                	0x00000001045234d0 protocol witness for Scheduler.schedule(options:_:) in conformance UIScheduler + 68 (:35)
27  Combine                       	0x00000001998f0440 Publishers.ReceiveOn.Inner.receive(_:) + 976 (ReceiveOn.swift:160)
28  Combine                       	0x00000001998f0064 protocol witness for Subscriber.receive(_:) in conformance Publishers.ReceiveOn.Inner + 24 (:0)
29  Combine                       	0x00000001998ef8dc CurrentValueSubject.Conduit.request(_:) + 1480 (CurrentValueSubject.swift:204)
30  Combine                       	0x00000001998f1064 protocol witness for Subscription.request(_:) in conformance ConduitBase + 56 (:0)
31  Combine                       	0x00000001998f0ff8 Publishers.ReceiveOn.Inner.request(_:) + 196 (ReceiveOn.swift:122)
32  Combine                       	0x00000001998f0f28 protocol witness for Subscription.request(_:) in conformance Publishers.ReceiveOn.Inner + 24 (:0)
33  Combine                       	0x00000001998f07c4 Subscribers.Sink.receive(subscription:) + 308 (Sink.swift:121)
34  Combine                       	0x00000001998f0f04 protocol witness for Subscriber.receive(subscription:) in conformance Subscribers.Sink + 24 (:0)
35  Combine                       	0x00000001998f0664 Publishers.ReceiveOn.Inner.receive(subscription:) + 448 (ReceiveOn.swift:148)
36  Combine                       	0x00000001998ee7cc protocol witness for Subscriber.receive(subscription:) in conformance Publishers.ReceiveOn.Inner + 24 (:0)
37  Combine                       	0x00000001998ee294 CurrentValueSubject.receive<a>(subscriber:) + 780 (CurrentValueSubject.swift:78)
38  Combine                       	0x00000001998edf7c protocol witness for Publisher.receive</a><a>(subscriber:) in conformance CurrentValueSubject + 24 (:0)
39  Combine                       	0x00000001998e8c7c Publishers.ReceiveOn.receive</a><a>(subscriber:) + 664 (ReceiveOn.swift:83)
40  Combine                       	0x00000001998e8d5c PublisherBox.receive</a><a>(subscriber:) + 108 (AnyPublisher.swift:38)
41  Combine                       	0x00000001998e8ce4 AnyPublisher.receive</a><a>(subscriber:) + 64 (AnyPublisher.swift:80)
42  Combine                       	0x00000001998e8e74 Publisher<>.sink(receiveValue:) + 252 (Sink.swift:75)
43  vidio                         	0x0000000102dea58c FluidWatchMyListMenuView.setupBinding() + 164 (FluidWatchMyListMenuView.swift:34)
44  vidio                         	0x0000000102dea324 FluidWatchMyListMenuView.init(frame:) + 268 (FluidWatchMyListMenuView.swift:17)
45  vidio                         	0x0000000102dea6fc @objc FluidWatchMyListMenuView.init(frame:) + 20 (:0)
46  vidio                         	0x0000000102e561a8 @nonobjc UIView.init() + 12 (:0)
47  vidio                         	0x0000000102e561a8 UIView.__allocating_init() + 20 (FluidWatchMyListMenu.swift:28)
48  vidio                         	0x0000000102e561a8 FluidWatchMyListMenu.make(context:trackOnTap:) + 124
49  vidio                         	0x00000001034f3018 closure #1 in FluidWatchEngagementBarView.onUpdate(component:savedState:) + 212 (FluidWatchEngagementBarView.swift:52)
50  vidio                         	0x00000001034f3f28 partial apply for closure #1 in FluidWatchEngagementBarView.onUpdate(component:savedState:) + 16 (:0)
51  vidio                         	0x000000010336fd20 specialized Sequence.compactMap</a><a>(_:) + 220 (:0)
52  vidio                         	0x00000001034f2cf8 FluidWatchEngagementBarView.onUpdate(component:savedState:) + 128 (FluidWatchEngagementBarView.swift:51)
53  vidio                         	0x00000001034f3b3d vtable thunk for FluidWatchComponentBaseView.onUpdate(component:savedState:) dispatching to FluidWatchEngagementBarView.onUpdate(component:savedState:) + 1 (:0)
54  vidio                         	0x00000001034a86d5 protocol witness for FluidWatchComponentView.onUpdate(component:savedState:) in conformance FluidWatchComponentBaseView</a><a> + 1
55  vidio                         	0x0000000103111445 specialized FluidWatchCell.onUpdate(component:row:params:) + 1 (FluidWatchView+TableCell.swift:65)
56  vidio                         	0x000000010311059d closure #1 in closure #1 in FluidWatchDataViewContract.dequeuer(for:) + 1 (FluidWatchView+TableCell.swift:135)
57  vidio                         	0x0000000103110aad partial apply for closure #1 in closure #1 in FluidWatchDataViewContract.dequeuer(for:) + 1 (:0)
58  vidio                         	0x00000001031f60a1 specialized thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A) + 1 (:0)
59  vidio                         	0x0000000102dbc9c5 partial apply for specialized thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A) + 1 (:0)
60  libswift_Concurrency.dylib    	0x000000019b87a775 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1 (Task.cpp:463)

Thread 1:
0   libsystem_kernel.dylib        	0x00000001d95e0808 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001d95e4008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001d95e3f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001d95e3d60 mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x0000000190500f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5   CoreFoundation                	0x0000000190500600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x00000001904ffcd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7   Foundation                    	0x000000018f420e4c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8   Foundation                    	0x000000018f420c9c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9   UIKitCore                     	0x0000000192b4c640 -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1207)
10  Foundation                    	0x000000018f437718 __NSThread__start__ + 732 (NSThread.m:991)
11  libsystem_pthread.dylib       	0x00000001ed38906c _pthread_start + 136 (pthread.c:931)
12  libsystem_pthread.dylib       	0x00000001ed3840d8 thread_start + 8 (:-1)

Thread 2:
0   libsystem_kernel.dylib        	0x00000001d95e61cc __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001ed3866e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2   libc++.1.dylib                	0x00000001a08e6598 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock&, std::__1::chrono::time_point::Run::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, ... + 260
4   VidioKmm                      	0x0000000109352f84 void* std::__1::__thread_proxy>, void (*)(kotlin::ScopedThread::attributes, void ... + 112
5   libsystem_pthread.dylib       	0x00000001ed38906c _pthread_start + 136 (pthread.c:931)
6   libsystem_pthread.dylib       	0x00000001ed3840d8 thread_start + 8 (:-1)

Thread 3:
0   libsystem_kernel.dylib        	0x00000001d95e61cc __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001ed3866e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2   libc++.1.dylib                	0x00000001a08e6504 std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 (condition_variable.cpp:45)
3   VidioKmm                      	0x000000010934d64c std::__1::invoke_result::type kotlin::S... + 112
4   VidioKmm                      	0x000000010934d72c void* std::__1::__thread_proxy>, void (*)(kotlin::ScopedThread::attributes, kotli... + 104
5   libsystem_pthread.dylib       	0x00000001ed38906c _pthread_start + 136 (pthread.c:931)
6   libsystem_pthread.dylib       	0x00000001ed3840d8 thread_start + 8 (:-1)

Thread 4:
0   libsystem_kernel.dylib        	0x00000001d95e4e5c write + 8 (:-1)
1   vidio                         	0x0000000103806d30 FIRCLSSDKFileLog + 316
2   vidio                         	0x000000010380890c FIRCLSMachExceptionServer + 968
3   libsystem_pthread.dylib       	0x00000001ed38906c _pthread_start + 136 (pthread.c:931)
4   libsystem_pthread.dylib       	0x00000001ed3840d8 thread_start + 8 (:-1)

Thread 5:
0   libsystem_kernel.dylib        	0x00000001d95e0808 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001d95e4008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001d95e3f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001d95e3d60 mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x0000000190500f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5   CoreFoundation                	0x0000000190500600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x00000001904ffcd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7   CFNetwork                     	0x00000001916e0c90 +[__CFN_CoreSchedulingSetRunnable _run:] + 384 (CoreSchedulingSet.mm:1473)
8   Foundation                    	0x000000018f437718 __NSThread__start__ + 732 (NSThread.m:991)
9   libsystem_pthread.dylib       	0x00000001ed38906c _pthread_start + 136 (pthread.c:931)
10  libsystem_pthread.dylib       	0x00000001ed3840d8 thread_start + 8 (:-1)

Thread 6:
0   libsystem_kernel.dylib        	0x00000001d95e0808 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001d95e4008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001d95e3f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001d95e3d60 mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x0000000190500f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5   CoreFoundation                	0x0000000190500600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x00000001904ffcd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7   CoreFoundation                	0x000000019056df04 CFRunLoopRun + 64 (CFRunLoop.c:3446)
8   VidioKmm                      	0x00000001093529b0 kotlin::gc::FinalizerProcessor, kotlin::alloc::FinalizerQueueTraits>::ProcessingLoopWithCFImpl::body() + 64
9   VidioKmm                      	0x0000000109350898 std::__1::invoke_result, kotlin::alloc::FinalizerQueueTraits>::StartFinalizerThreadIfNone()::'lambda'()>::t... + 124
10  VidioKmm                      	0x000000010935092c void* std::__1::__thread_proxy>, void (*)(kotlin::ScopedThread::attributes, kotli... + 104
11  libsystem_pthread.dylib       	0x00000001ed38906c _pthread_start + 136 (pthread.c:931)
12  libsystem_pthread.dylib       	0x00000001ed3840d8 thread_start + 8 (:-1)

Thread 7:
0   libsystem_kernel.dylib        	0x00000001d95e61cc __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001ed3866e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2   VidioKmm                      	0x000000010935d5f0 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*) + 68
3   VidioKmm                      	0x000000010935c6d8 Worker::processQueueElement(bool) + 752
4   VidioKmm                      	0x000000010935c344 (anonymous namespace)::workerRoutine(void*) + 104
5   libsystem_pthread.dylib       	0x00000001ed38906c _pthread_start + 136 (pthread.c:931)
6   libsystem_pthread.dylib       	0x00000001ed3840d8 thread_start + 8 (:-1)

Thread 8:
0   libsystem_kernel.dylib        	0x00000001d95e0808 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001d95e4008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001d95e3f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001d95e3d60 mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x0000000190500f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5   CoreFoundation                	0x0000000190500600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x00000001904ffcd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7   Foundation                    	0x000000018f420e4c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8   GoogleCast                    	0x000000010540292c -[GCKBackgroundThread main] + 192
9   Foundation                    	0x000000018f437718 __NSThread__start__ + 732 (NSThread.m:991)
10  libsystem_pthread.dylib       	0x00000001ed38906c _pthread_start + 136 (pthread.c:931)
11  libsystem_pthread.dylib       	0x00000001ed3840d8 thread_start + 8 (:-1)

Thread 9:
0   libsystem_kernel.dylib        	0x00000001d95e8474 __select + 8 (:-1)
1   CoreFoundation                	0x000000019056bb7c __CFSocketManager + 640 (CFSocket.c:1340)
2   libsystem_pthread.dylib       	0x00000001ed38906c _pthread_start + 136 (pthread.c:931)
3   libsystem_pthread.dylib       	0x00000001ed3840d8 thread_start + 8 (:-1)

Thread 10:
0   libsystem_pthread.dylib       	0x00000001ed3840c4 start_wqthread + 0 (:-1)

Thread 11:
0   libsystem_pthread.dylib       	0x00000001ed3840c4 start_wqthread + 0 (:-1)

Thread 12:
0   libsystem_pthread.dylib       	0x00000001ed3840c4 start_wqthread + 0 (:-1)

Thread 13 Crashed:
0   libdispatch.dylib             	0x00000001983eaeac _dispatch_source_set_runloop_timer_4CF + 976 (source.c:1409)
1   CFNetwork                     	0x000000019162af38 URLConnectionLoader::loadWithWhatToDo(NSURLRequest*, _CFCachedURLResponse const*, long, URLConnectionLoader::WhatToDo) + 976 (URLConnectionLoader.cpp:1783)
2   CFNetwork                     	0x00000001916b9c90 invocation function for block in URLConnectionLoader::continueWithCacheLookupResult(NSURLRequest*, _CFCachedURLResponse const*, NSURLRequestCachePolicy) + 100 (URLConnectionLoader.cpp:1708)
3   CFNetwork                     	0x00000001916b3b78 invocation function for block in URLConnectionLoader::withExistingProtocolAsync(void (URLProtocol*) block_pointer) const + 40 (URLConnectionLoader.cpp:1201)
4   CFNetwork                     	0x00000001916b3604 invocation function for block in QCoreSchedulingSet::performAsync(void () block_pointer) const + 60 (CoreSchedulingSet.mm:156)
5   libdispatch.dylib             	0x00000001983d413c _dispatch_call_block_and_release + 32 (init.c:1530)
6   libdispatch.dylib             	0x00000001983d5dd4 _dispatch_client_callout + 20 (object.m:576)
7   libdispatch.dylib             	0x00000001983dd400 _dispatch_lane_serial_drain + 748 (queue.c:3900)
8   libdispatch.dylib             	0x00000001983ddf64 _dispatch_lane_invoke + 432 (queue.c:3991)
9   libdispatch.dylib             	0x00000001983df284 _dispatch_workloop_invoke + 1756 (queue.c:4570)
10  libdispatch.dylib             	0x00000001983e8cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
11  libdispatch.dylib             	0x00000001983e8528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
12  libsystem_pthread.dylib       	0x00000001ed387934 _pthread_wqthread + 288 (pthread.c:2696)
13  libsystem_pthread.dylib       	0x00000001ed3840cc start_wqthread + 8 (:-1)

Thread 14:
0   libsystem_pthread.dylib       	0x00000001ed3840c4 start_wqthread + 0 (:-1)

Thread 15:
0   libsystem_kernel.dylib        	0x00000001d95e61cc __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001ed3866e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2   JavaScriptCore                	0x00000001a7bb2fe0 scavenger_thread_main + 1316 (pas_scavenger.c:359)
3   libsystem_pthread.dylib       	0x00000001ed38906c _pthread_start + 136 (pthread.c:931)
4   libsystem_pthread.dylib       	0x00000001ed3840d8 thread_start + 8 (:-1)

Thread 16:
0   libsystem_pthread.dylib       	0x00000001ed3840c4 start_wqthread + 0 (:-1)

Thread 17:
0   libsystem_pthread.dylib       	0x00000001ed3840c4 start_wqthread + 0 (:-1)

Thread 18:
0   libsystem_pthread.dylib       	0x00000001ed3840c4 start_wqthread + 0 (:-1)

Thread 19:
0   libsystem_pthread.dylib       	0x00000001ed3840c4 start_wqthread + 0 (:-1)

Thread 13 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x00000000ba000836   x2: 0x0000000000000020   x3: 0x0000000000000001
    x4: 0x0000000000000004   x5: 0x00000000000006a0   x6: 0x0000000000000017   x7: 0x0000000000000000
    x8: 0x0000000303ea71e8   x9: 0x7fffffffffffffff  x10: 0x0000000000000002  x11: 0x0000000000000020
   x12: 0x0000000301256340  x13: 0x00000000001ff800  x14: 0x00000000000007fb  x15: 0x00000000ba000836
   x16: 0x0000bb3d4ced5300  x17: 0x6ae1000303ea5300  x18: 0x0000000000000000  x19: 0x0000000303ea5300
   x20: 0x000000030108c6a0  x21: 0x0000000000000000  x22: 0x7fffffffffffffff  x23: 0x00000000016e3600
   x24: 0x5555555555555554  x25: 0x0000000303ea7180  x26: 0x0000000000000000  x27: 0x0000000300aa5f00
   x28: 0x0000000000000000   fp: 0x000000016d0de690   lr: 0x411fa601983eab28
    sp: 0x000000016d0de650   pc: 0x00000001983eaeac cpsr: 0x80000000
   esr: 0x92000004 (Data Abort) byte read Translation fault


Binary Images:
        0x102da8000 -         0x103fdbfff vidio arm64  <20cbb041fad3329fa086bbdb95e052e5> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/vidio
        0x104508000 -         0x10450ffff RxRelay arm64  <0de5230629633c3db4194c7b3a1e95e6> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/RxRelay.framework/RxRelay
        0x10451c000 -         0x10452bfff BindingCombine arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/BindingCombine.framework/BindingCombine
        0x104544000 -         0x10454ffff VidioHTTPClientInterop arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/VidioHTTPClientInterop.framework/VidioHTTPClientInterop
        0x104564000 -         0x10456ffff Binding arm64  <13113348ac9e3de483853350e99da274> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/Binding.framework/Binding
        0x104584000 -         0x10458bfff NotificationDependencies arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/NotificationDependencies.framework/NotificationDependencies
        0x10459c000 -         0x1045a7fff DataStore_171A8F8EE36AD090_PackageProduct arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/DataStore_171A8F8EE36AD090_PackageProduct.framework/DataStore_171A8F8EE36AD090_PackageProduct
        0x1045cc000 -         0x1045e3fff WidgetEngine arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/WidgetEngine.framework/WidgetEngine
        0x1045fc000 -         0x104603fff MoEngageRichNotification_-4B0523C5FDF09378_PackageProduct arm64  <26a778c6992b3a839d61a5ffddb4b61a> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MoEngageRichNotification_-4B0523C5FDF09378_PackageProduct.framework/MoEngageRichNotification_-4B0523C5FDF09378_PackageProduct
        0x104628000 -         0x10463bfff MUXSDKStats arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MUXSDKStats.framework/MUXSDKStats
        0x104660000 -         0x10469ffff UserInfo arm64  <3e4d00f23ed83b2493e60de29c4afac2> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/UserInfo.framework/UserInfo
        0x1047a4000 -         0x1047affff libobjc-trampolines.dylib arm64e  <2e2c05f8377a30899ad91926d284dd03> /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib
        0x104b6c000 -         0x104c1ffff Subscription arm64  <2efc52d5495a309281b508237aa168f7> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/Subscription.framework/Subscription
        0x104c80000 -         0x104cf7fff RxCocoa arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/RxCocoa.framework/RxCocoa
        0x104d58000 -         0x104d8ffff WebSocket arm64  <7605f945d62533e4bffe517754049d85> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/WebSocket.framework/WebSocket
        0x104db8000 -         0x104dd7fff Common arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/Common.framework/Common
        0x104df0000 -         0x104e53fff VidiKit arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/VidiKit.framework/VidiKit
        0x104e8c000 -         0x104eabfff Player arm64  <413f44adb9773dcc9473ebf06abdb5ba> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/Player.framework/Player
        0x104ec8000 -         0x104eeffff MuxCore arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MuxCore.framework/MuxCore
        0x104f2c000 -         0x104f3bfff FBSDKCoreKit_Basics arm64  <0785efe8ccf6323799654b5e3e1bfdda> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics
        0x104f54000 -         0x104f5bfff MoEngageSDK arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MoEngageSDK.framework/MoEngageSDK
        0x104f7c000 -         0x104ff3fff Engagement arm64  <35d8e466398c3d77adb82c91f67cd2e2> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/Engagement.framework/Engagement
        0x105038000 -         0x105053fff OMSDK_Vidio arm64  <646bb4f95bfa3702b8201bab73f5bbba> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/OMSDK_Vidio.framework/OMSDK_Vidio
        0x10507c000 -         0x10508ffff MoEngageObjCUtils arm64  <7b9e19550d6d3d67bdc4a6632cf1337c> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MoEngageObjCUtils.framework/MoEngageObjCUtils
        0x1050cc000 -         0x1050fbfff MoEngageMessaging arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MoEngageMessaging.framework/MoEngageMessaging
        0x105140000 -         0x1051f7fff Content arm64  <0d5ea7f874343369817db749a54fa1c5> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/Content.framework/Content
        0x105258000 -         0x105297fff FBAEMKit arm64  <22d394a176793da4a39504185458f4aa> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/FBAEMKit.framework/FBAEMKit
        0x10534c000 -         0x105543fff GoogleCast arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/GoogleCast.framework/GoogleCast
        0x105944000 -         0x10595ffff PlentyCore arm64  <706c6d8e0c4a368a96bf2dbbf13e3364> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/PlentyCore.framework/PlentyCore
        0x105978000 -         0x1062bbfff SharedDependencies arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/SharedDependencies.framework/SharedDependencies
        0x1067a4000 -         0x106807fff MoEngageAnalytics arm64  <20063f92ce5337c29da77bbacb8e728e> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MoEngageAnalytics.framework/MoEngageAnalytics
        0x106838000 -         0x106857fff MoEngageSecurity arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MoEngageSecurity.framework/MoEngageSecurity
        0x106894000 -         0x1068ebfff FBSDKLoginKit arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit
        0x106994000 -         0x106a7bfff GoogleInteractiveMediaAds arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds
        0x106b84000 -         0x106bb7fff MoEngageTriggerEvaluator arm64  <6f1a179434963baa8be0e032be445797> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MoEngageTriggerEvaluator.framework/MoEngageTriggerEvaluator
        0x106bd4000 -         0x106bfffff MoEngageRealTimeTrigger arm64  <9ac73d9fcbf23c2e9e918915ca5231dc> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MoEngageRealTimeTrigger.framework/MoEngageRealTimeTrigger
        0x106c1c000 -         0x106c3bfff MoEngageRichNotification arm64  <9428ceff4991355599c59e0d8f392ac6> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MoEngageRichNotification.framework/MoEngageRichNotification
        0x106c58000 -         0x106c73fff VidioHTTPClient arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/VidioHTTPClient.framework/VidioHTTPClient
        0x106cac000 -         0x106d5bfff MoEngageInApps arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MoEngageInApps.framework/MoEngageInApps
        0x106ddc000 -         0x106f9ffff Lottie arm64  <4c5219a480bf3b5fa4f4c38d50491047> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/Lottie.framework/Lottie
        0x10704c000 -         0x10712ffff MoEngageCore arm64  <5eae6c5eea643af2b5d3397b5e4d3f01> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MoEngageCore.framework/MoEngageCore
        0x1071a0000 -         0x1071b7fff Whisper arm64  <8378738d79fe397ca61af411b6d04cbb> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/Whisper.framework/Whisper
        0x1071f8000 -         0x10722ffff MoEngageInbox arm64  <063930184d45383e815109dc7548045b> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/MoEngageInbox.framework/MoEngageInbox
        0x1073a8000 -         0x1074dffff FBSDKCoreKit arm64  <9f28496682773a5fa96eec844fc20d57> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit
        0x10770c000 -         0x1077cffff RxSwift arm64   /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/RxSwift.framework/RxSwift
        0x107830000 -         0x1078a3fff gelatik2 arm64  <0e0b6bee0c043aacb5ae17819e42f024> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/gelatik2.framework/gelatik2
        0x108bc0000 -         0x1094dbfff VidioKmm arm64  <0fed99950b123c90bffeb0a2735205d4> /private/var/containers/Bundle/Application/53EACE95-5006-4FDF-85AF-5F2ECD238B9E/vidio.app/Frameworks/VidioKmm.framework/VidioKmm
        0x1883d4000 -         0x188421f43 libobjc.A.dylib arm64e  <53115e1fe35330d99e8a4e6e73489f05> /usr/lib/libobjc.A.dylib
        0x18f359000 -         0x18fecefff Foundation arm64e  <3d3a12e3f5e9361fb00a4a5e8861aa55> /System/Library/Frameworks/Foundation.framework/Foundation
        0x1904ad000 -         0x1909dafff CoreFoundation arm64e  <00e76a98210c3cb5930bf236807ff24c> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
        0x1915e3000 -         0x1919bffff CFNetwork arm64e   /System/Library/Frameworks/CFNetwork.framework/CFNetwork
        0x19272e000 -         0x19424efff UIKitCore arm64e  <1741fa374e53371e8daed611aab0043d> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
        0x1983d2000 -         0x198418fff libdispatch.dylib arm64e  <81d355df266a3010bab8113b76a206c1> /usr/lib/system/libdispatch.dylib
        0x198419000 -         0x198496ff3 libsystem_c.dylib arm64e   /usr/lib/system/libsystem_c.dylib
        0x1998e6000 -         0x199a23ff7 Combine arm64e  <03d83067fcef3641a54ec8a9b5fc3e69> /System/Library/Frameworks/Combine.framework/Combine
        0x19b825000 -         0x19b890ff3 libswift_Concurrency.dylib arm64e   /usr/lib/swift/libswift_Concurrency.dylib
        0x1a08d9000 -         0x1a0962fff libc++.1.dylib arm64e   /usr/lib/libc++.1.dylib
        0x1a6658000 -         0x1a7d88f3f JavaScriptCore arm64e  <52d2aba5f8113d4fb077afae7e6f44cc> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
        0x1a9193000 -         0x1a9257fff FrontBoardServices arm64e   /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices
        0x1b6dff000 -         0x1b6e23ffb libdyld.dylib arm64e  <7bc9209c96fc3a4cb6d89838317fc65d> /usr/lib/system/libdyld.dylib
        0x1d95df000 -         0x1d9618fef libsystem_kernel.dylib arm64e  <13b5134e819c3baab3004856112114cb> /usr/lib/system/libsystem_kernel.dylib
        0x1ed2ce000 -         0x1ed2d4ff3 libsystem_platform.dylib arm64e   /usr/lib/system/libsystem_platform.dylib
        0x1ed383000 -         0x1ed38fff3 libsystem_pthread.dylib arm64e  <1196b6c3333d3450818ff3663484b8eb> /usr/lib/system/libsystem_pthread.dylib
        0x1fff54000 -         0x2010cffe7 libLAPACK.dylib arm64e  <11ae005c2cb832249f4f5ae397b6fa4e> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib

EOF
</a>

3rd party crash report

# Crashlytics - Stack trace
# Application: com.kmk.vidio
# Platform: apple
# Version: 6.33.0 (2174)
# Issue: 7fed05b10a07058e0a12a6fa2ca0d3e6
# Session: 1cfde892ba6844a48df40853bbd186ab_DNE_0_v2
# Date: Tue Aug 06 2024 12:14:44 GMT+0700 (Western Indonesia Time)

com.apple.main-thread
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  GraphicsServices               0x11a8 GSEventRunModal + 164
8  UIKitCore                      0x40a90c -[UIApplication _run] + 888
9  UIKitCore                      0x4be9d0 UIApplicationMain + 340
10 vidio                          0x8090 main + 12 (main.swift:12)
11 ???                            0x1c34e9e4c (Missing)

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  Foundation                     0xc7e4c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0xc7c9c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x41e640 -[UIEventFetcher threadMain] + 420
10 Foundation                     0xde718 __NSThread__start__ + 732
11 libsystem_pthread.dylib        0x606c _pthread_start + 136
12 libsystem_pthread.dylib        0x10d8 thread_start + 8

GC Timer thread
0  libsystem_kernel.dylib         0x71cc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x36e4 _pthread_cond_wait + 1228
2  libc++.1.dylib                 0xd598 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock&, std::__1::chrono::time_point > >) + 100
3  VidioKmm                       0x792cfc void kotlin::RepeatedTimer::Run::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function)::'lambda'()>(kotlin::gcScheduler::internal::GCSchedulerDataAdaptive::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function)::'lambda'()&&) + 260
4  VidioKmm                       0x792f84 void* std::__1::__thread_proxy>, void (*)(kotlin::ScopedThread::attributes, void (kotlin::RepeatedTimer::*&&)(kotlin::gcScheduler::internal::GCSchedulerDataAdaptive::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function)::'lambda'()&&) noexcept, kotlin::RepeatedTimer*&&, kotlin::gcScheduler::internal::GCSchedulerDataAdaptive::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function)::'lambda'()&&), kotlin::ScopedThread::attributes, void (kotlin::RepeatedTimer::*)(kotlin::gcScheduler::internal::GCSchedulerDataAdaptive::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function)::'lambda'()&&) noexcept, kotlin::RepeatedTimer*, kotlin::gcScheduler::internal::GCSchedulerDataAdaptive::GCSchedulerDataAdaptive(kotlin::gcScheduler::GCSchedulerConfig&, std::__1::function)::'lambda'()>>(void*) + 112
5  libsystem_pthread.dylib        0x606c _pthread_start + 136
6  libsystem_pthread.dylib        0x10d8 thread_start + 8

Main GC thread
0  libsystem_kernel.dylib         0x71cc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x36e4 _pthread_cond_wait + 1228
2  libc++.1.dylib                 0xd504 std::__1::condition_variable::wait(std::__1::unique_lock&) + 28
3  VidioKmm                       0x78d64c std::__1::invoke_result::type kotlin::ScopedThread::Run(char const*, kotlin::gc::ParallelMarkConcurrentSweep::ParallelMarkConcurrentSweep(kotlin::alloc::Allocator&, kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1&&)::'lambda'()>(kotlin::ScopedThread::attributes, kotlin::gc::ParallelMarkConcurrentSweep::ParallelMarkConcurrentSweep(kotlin::alloc::Allocator&, kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1&&) + 112
4  VidioKmm                       0x78d72c void* std::__1::__thread_proxy>, void (*)(kotlin::ScopedThread::attributes, kotlin::ScopedThread (anonymous namespace)::createGCThread(char const*, kotlin::gc::ParallelMarkConcurrentSweep::ParallelMarkConcurrentSweep(kotlin::alloc::Allocator&, kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1&&)::'lambda'()&&), kotlin::ScopedThread::attributes, kotlin::ScopedThread (anonymous namespace)::createGCThread(char const*, kotlin::gc::ParallelMarkConcurrentSweep::ParallelMarkConcurrentSweep(kotlin::alloc::Allocator&, kotlin::gcScheduler::GCScheduler&, bool, unsigned long)::$_1&&)::'lambda'()>>(void*) + 104
5  libsystem_pthread.dylib        0x606c _pthread_start + 136
6  libsystem_pthread.dylib        0x10d8 thread_start + 8

com.google.firebase.crashlytics.MachExceptionServer
0  vidio                          0xa668b0 FIRCLSProcessRecordAllThreads + 4320274608
1  vidio                          0xa66c90 FIRCLSProcessRecordAllThreads + 4320275600
2  vidio                          0xa5df3c FIRCLSHandler + 4320239420
3  vidio                          0xa607f4 FIRCLSMachExceptionServer + 4320249844
4  libsystem_pthread.dylib        0x606c _pthread_start + 136
5  libsystem_pthread.dylib        0x10d8 thread_start + 8

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  CFNetwork                      0xfdc90 _CFHostIsDomainTopLevel + 108176
8  Foundation                     0xde718 __NSThread__start__ + 732
9  libsystem_pthread.dylib        0x606c _pthread_start + 136
10 libsystem_pthread.dylib        0x10d8 thread_start + 8

GC finalizer processor
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  CoreFoundation                 0xc0f04 CFRunLoopRun + 64
8  VidioKmm                       0x7929b0 kotlin::gc::FinalizerProcessor, kotlin::alloc::FinalizerQueueTraits>::ProcessingLoopWithCFImpl::body() + 64
9  VidioKmm                       0x790898 std::__1::invoke_result, kotlin::alloc::FinalizerQueueTraits>::StartFinalizerThreadIfNone()::'lambda'()>::type kotlin::ScopedThread::Run, kotlin::alloc::FinalizerQueueTraits>::StartFinalizerThreadIfNone()::'lambda'()>(kotlin::ScopedThread::attributes, kotlin::gc::FinalizerProcessor, kotlin::alloc::FinalizerQueueTraits>::StartFinalizerThreadIfNone()::'lambda'()&&) + 124
10 VidioKmm                       0x79092c void* std::__1::__thread_proxy>, void (*)(kotlin::ScopedThread::attributes, kotlin::gc::FinalizerProcessor, kotlin::alloc::FinalizerQueueTraits>::StartFinalizerThreadIfNone()::'lambda'()&&), kotlin::ScopedThread::attributes, kotlin::gc::FinalizerProcessor, kotlin::alloc::FinalizerQueueTraits>::StartFinalizerThreadIfNone()::'lambda'()>>(void*) + 104
11 libsystem_pthread.dylib        0x606c _pthread_start + 136
12 libsystem_pthread.dylib        0x10d8 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x71cc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x36e4 _pthread_cond_wait + 1228
2  VidioKmm                       0x79d5f0 (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*) + 68
3  VidioKmm                       0x79c6d8 Worker::processQueueElement(bool) + 752
4  VidioKmm                       0x79c344 (anonymous namespace)::workerRoutine(void*) + 104
5  libsystem_pthread.dylib        0x606c _pthread_start + 136
6  libsystem_pthread.dylib        0x10d8 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  CoreFoundation                 0x53f5c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53600 __CFRunLoopRun + 1208
6  CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
7  Foundation                     0xc7e4c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  GoogleCast                     0xb692c -[GCKBackgroundThread main] + 192
9  Foundation                     0xde718 __NSThread__start__ + 732
10 libsystem_pthread.dylib        0x606c _pthread_start + 136
11 libsystem_pthread.dylib        0x10d8 thread_start + 8

com.apple.CFSocket.private
0  libsystem_kernel.dylib         0x9474 select$DARWIN_EXTSN + 8
1  libsystem_kernel.dylib         0x9474 __select + 8
2  CoreFoundation                 0xbeb7c __CFSocketManager + 640
3  libsystem_pthread.dylib        0x606c _pthread_start + 136
4  libsystem_pthread.dylib        0x10d8 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1590 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4980 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x10cc start_wqthread + 8

com.apple.coremedia.sharedRootQueue.47
0  libsystem_kernel.dylib         0x179c semaphore_timedwait_trap + 8
1  libdispatch.dylib              0x43ec _dispatch_sema4_timedwait + 64
2  libdispatch.dylib              0x49e8 _dispatch_semaphore_wait_slow + 76
3  libdispatch.dylib              0x15668 _dispatch_worker_thread + 328
4  libsystem_pthread.dylib        0x606c _pthread_start + 136
5  libsystem_pthread.dylib        0x10d8 thread_start + 8

JavaScriptCore libpas scavenger
0  libsystem_kernel.dylib         0x71cc __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x36e4 _pthread_cond_wait + 1228
2  JavaScriptCore                 0x155afe0 scavenger_thread_main + 1316
3  libsystem_pthread.dylib        0x606c _pthread_start + 136
4  libsystem_pthread.dylib        0x10d8 thread_start + 8

com.apple.coremedia.sharedRootQueue.47
0  libsystem_kernel.dylib         0x179c semaphore_timedwait_trap + 8
1  libdispatch.dylib              0x43ec _dispatch_sema4_timedwait + 64
2  libdispatch.dylib              0x49e8 _dispatch_semaphore_wait_slow + 76
3  libdispatch.dylib              0x15668 _dispatch_worker_thread + 328
4  libsystem_pthread.dylib        0x606c _pthread_start + 136
5  libsystem_pthread.dylib        0x10d8 thread_start + 8

com.apple.root.user-initiated-qos.cooperative
0  libsystem_kernel.dylib         0x1808 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x5008 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4f20 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0x4d60 mach_msg + 24
4  libdispatch.dylib              0x1eb18 _dispatch_mach_send_and_wait_for_reply + 544
5  libdispatch.dylib              0x1eeb8 dispatch_mach_send_with_result_and_wait_for_reply + 60
6  libxpc.dylib                   0x10ac8 xpc_connection_send_message_with_reply_sync + 264
7  Security                       0x20bf4 security_fw_send_message_with_reply_sync_inner + 92
8  Security                       0x20578 securityd_send_sync_and_do + 88
9  Security                       0x20514 cftype_to_bool_cftype_error_request + 160
10 Security                       0x421a0 __SecItemAdd_block_invoke_2 + 768
11 Security                       0x20110 __SecItemAuthDoQuery_block_invoke + 532
12 Security                       0x1f3d4 SecItemAuthDoQuery + 1312
13 Security                       0x23180 __SecItemAdd_block_invoke + 140
14 Security                       0x1e634 SecOSStatusWith + 56
15 Security                       0x4338c SecItemAdd + 288
16 SharedDependencies             0xc05a8 Keychain.set(_:key:ignoringAttributeSynchronizable:) + 739 (Keychain.swift:739)
17 SharedDependencies             0xbfd94 Keychain.set(_:key:ignoringAttributeSynchronizable:) + 669 (Keychain.swift:669)
18 SharedDependencies             0xc12d8 Keychain.subscript.setter + 760 (Keychain.swift:760)
19 vidio                          0x6e12d4 specialized ServiceTokenStoreProtocol.overwriteTokens(newTokens:) + 25 (KeychainStore.swift:25)
20 vidio                          0x6e0fd0 JWTServiceTokenManager.refreshTokenFromApi(serviceName:) + 45 (ServiceTokenManager.swift:45)
21 libswift_Concurrency.dylib     0x4d764 swift::runJobInEstablishedExecutorContext(swift::Job*) + 436
22 libswift_Concurrency.dylib     0x4e9c8 swift_job_runImpl(swift::Job*, swift::ExecutorRef) + 72
23 libdispatch.dylib              0x15894 _dispatch_root_queue_drain + 392
24 libdispatch.dylib              0x1609c _dispatch_worker_thread2 + 156
25 libsystem_pthread.dylib        0x48f8 _pthread_wqthread + 228
26 libsystem_pthread.dylib        0x10cc start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x1590 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4980 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x10cc start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x1590 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4980 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x10cc start_wqthread + 8

com.apple.coremedia.rootQueue.fP-45.mP-47
0  libsystem_kernel.dylib         0x179c semaphore_timedwait_trap + 8
1  libdispatch.dylib              0x43ec _dispatch_sema4_timedwait + 64
2  libdispatch.dylib              0x49e8 _dispatch_semaphore_wait_slow + 76
3  libdispatch.dylib              0x15668 _dispatch_worker_thread + 328
4  libsystem_pthread.dylib        0x606c _pthread_start + 136
5  libsystem_pthread.dylib        0x10d8 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1590 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4980 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x10cc start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x1590 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4980 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x10cc start_wqthread + 8

com.apple.coremedia.sharedRootQueue.47
0  libsystem_kernel.dylib         0x179c semaphore_timedwait_trap + 8
1  libdispatch.dylib              0x43ec _dispatch_sema4_timedwait + 64
2  libdispatch.dylib              0x49e8 _dispatch_semaphore_wait_slow + 76
3  libdispatch.dylib              0x15668 _dispatch_worker_thread + 328
4  libsystem_pthread.dylib        0x606c _pthread_start + 136
5  libsystem_pthread.dylib        0x10d8 thread_start + 8

Crashed: com.apple.CFNetwork.LoaderQ
0  libdispatch.dylib              0x1a260 _dispatch_source_wakeup + 8
1  CFNetwork                      0x47f38 _CFURLResponseCreateFromArchiveList + 225876
2  CFNetwork                      0xd6c90 CFHostCreateWithName + 167568
3  CFNetwork                      0xd0b78 CFHostCreateWithName + 142712
4  CFNetwork                      0xd0604 CFHostCreateWithName + 141316
5  libdispatch.dylib              0x213c _dispatch_call_block_and_release + 32
6  libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
7  libdispatch.dylib              0xb400 _dispatch_lane_serial_drain + 748
8  libdispatch.dylib              0xbf64 _dispatch_lane_invoke + 432
9  libdispatch.dylib              0xd284 _dispatch_workloop_invoke + 1756
10 libdispatch.dylib              0x16cb4 _dispatch_root_queue_drain_deferred_wlh + 288
11 libdispatch.dylib              0x16528 _dispatch_workloop_worker_thread + 404
12 libsystem_pthread.dylib        0x4934 _pthread_wqthread + 288
13 libsystem_pthread.dylib        0x10cc start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0x10c4 start_wqthread + 8536178882
Answered by DTS Engineer in 799040022
Written by edysudarto in 799053022
We also never call CFNetwork APIs directly either.

Understood. It’s likely that you call URLSession, or something layered on top of that, like WKWebView. CFNetwork is where most of the implementation for URLSession actually resides.

Notably, I don’t expect that implementation to use CFHost because that DNS work is done by an even lower level, the code that forms the backing for Network framework.

Filing a bug about this is probably your best path forward here, and you’ve already done that (FB14679252), so thanks!

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Do you have any JSON crash reports for this? That is, any .ips files. If you do, please post one here, or add it to your bug report and let me know here.

This crash is very similar to the one discussed here. Unfortunately, that thread doesn’t have a great resolution. We’ve definitely fixed some bugs that result in crashes like this, but that’s obviously not the full story.

Your third-party crash report references CFHost. Are you calling that directly?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Do you have any JSON crash reports for this? That is, any .ips files. If you do, please post one here, or add it to your bug report and let me know here.

Unfortunately, we don't.

This crash is very similar to the one discussed here. Unfortunately, that thread doesn’t have a great resolution. We’ve definitely fixed some bugs that result in crashes like this, but that’s obviously not the full story.

I see, so something similar did happen in the past already.

Your third-party crash report references CFHost. Are you calling that directly?

No, I've checked and found no reference to CFHost in our codebase. We also never call CFNetwork APIs directly either.

Accepted Answer
Written by edysudarto in 799053022
We also never call CFNetwork APIs directly either.

Understood. It’s likely that you call URLSession, or something layered on top of that, like WKWebView. CFNetwork is where most of the implementation for URLSession actually resides.

Notably, I don’t expect that implementation to use CFHost because that DNS work is done by an even lower level, the code that forms the backing for Network framework.

Filing a bug about this is probably your best path forward here, and you’ve already done that (FB14679252), so thanks!

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Ahh, thanks for sharing that !

Well, I guess it's clear now that we can only wait for the update on our bug report or see if future iOS version will include the fix.

I appreciate the help given, thanks !

Crash in connection loader from CFNetwork with stack traces referring to internal Apple SDKs
 
 
Q