CFNetwork crash on iOS 16 devices

Hello, I am getting crashes on iOS 16 devices only regarding CFNetwork. Below is the full crash report. I am not able to reproduce it on my end. I've attached the .txt crash log below and also posted it below.

Crashed: com.apple.NSXPCConnection.m-user.com.apple.nsurlsessiond
EXC_BREAKPOINT 0x00000001cfbbecec

7  Foundation                     0x42054 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0x41f3c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x4d66a4 -[UIEventFetcher threadMain] + 436
10 Foundation                     0x5b518 __NSThread__start__ + 716
11 libsystem_pthread.dylib        0x16cc _pthread_start + 148
12 libsystem_pthread.dylib        0xba4 thread_start + 8

com.google.firebase.crashlytics.MachExceptionServer
0  App                    	  0x387cfc FIRCLSProcessRecordAllThreads + 393 (FIRCLSProcess.c:393)
1  App                   	  0x3880dc FIRCLSProcessRecordAllThreads + 424 (FIRCLSProcess.c:424)
2  App                    	  0x395be0 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  App                     	  0x396400 FIRCLSMachExceptionServer + 521 (FIRCLSMachException.c:521)
4  libsystem_pthread.dylib        0x16cc _pthread_start + 148
5  libsystem_pthread.dylib        0xba4 thread_start + 8

GAIThread
0  libsystem_kernel.dylib         0xda8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x13a1c mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x13c5c mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x12ec mach_msg + 24
4  CoreFoundation                 0x7aac4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd08 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80eb0 CFRunLoopRunSpecific + 612
7  Foundation                     0x42054 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0x41ee8 -[NSRunLoop(NSRunLoop) run] + 64
9  App                   	  0x563d00 +[GAI threadMain:] + 64
10 Foundation                     0x5b518 __NSThread__start__ + 716
11 libsystem_pthread.dylib        0x16cc _pthread_start + 148
12 libsystem_pthread.dylib        0xba4 thread_start + 8

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0xda8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x13a1c mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x13c5c mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x12ec mach_msg + 24
4  CoreFoundation                 0x7aac4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd08 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80eb0 CFRunLoopRunSpecific + 612
7  CFNetwork                      0x257ff0 _CFURLStorageSessionDisableCache + 61088
8  Foundation                     0x5b518 __NSThread__start__ + 716
9  libsystem_pthread.dylib        0x16cc _pthread_start + 148
10 libsystem_pthread.dylib        0xba4 thread_start + 8

CommandHandler
0  libsystem_kernel.dylib         0xda8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x13a1c mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x13c5c mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x12ec mach_msg + 24
4  CaptiveNetwork                 0x9d78 ConnectionGetCommandInfo + 160
5  CaptiveNetwork                 0x7c54 __add_signal_port_source_block_invoke_2 + 244
6  libdispatch.dylib              0x3f88 _dispatch_client_callout + 20
7  libdispatch.dylib              0x7418 _dispatch_continuation_pop + 504
8  libdispatch.dylib              0x1aa58 _dispatch_source_invoke + 1588
9  libdispatch.dylib              0xb518 _dispatch_lane_serial_drain + 376
10 libdispatch.dylib              0xc18c _dispatch_lane_invoke + 384
11 libdispatch.dylib              0x16e10 _dispatch_workloop_worker_thread + 652
12 libsystem_pthread.dylib        0xdf8 _pthread_wqthread + 288
13 libsystem_pthread.dylib        0xb98 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x12b0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0xe44 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0xb98 start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0xb90 start_wqthread + 254

Crashed: com.apple.NSXPCConnection.m-user.com.apple.nsurlsessiond
0  libobjc.A.dylib                0x6cec objc_opt_respondsToSelector + 48
1  libsystem_trace.dylib          0x6480 _os_log_fmt_flatten_object + 248
2  libsystem_trace.dylib          0x41a0 _os_log_impl_flatten_and_send + 1864
3  libsystem_trace.dylib          0x21bc _os_log + 152
4  libsystem_trace.dylib          0x7840 _os_log_impl + 24
5  CFNetwork                      0x10dc08 _CFURLConnectionCopyTimingData + 34880
6  Foundation                     0x64b620 message_handler_error + 360
7  libxpc.dylib                   0x1179c _xpc_connection_call_event_handler + 152
8  libxpc.dylib                   0x11be8 _xpc_connection_mach_event + 1020
9  libdispatch.dylib              0x4048 _dispatch_client_callout4 + 20
10 libdispatch.dylib              0x24104 _dispatch_mach_cancel_invoke + 128
11 libdispatch.dylib              0x21720 _dispatch_mach_invoke + 916
12 libdispatch.dylib              0xb518 _dispatch_lane_serial_drain + 376
13 libdispatch.dylib              0xc1c0 _dispatch_lane_invoke + 436
14 libdispatch.dylib              0x16e10 _dispatch_workloop_worker_thread + 652
15 libsystem_pthread.dylib        0xdf8 _pthread_wqthread + 288
16 libsystem_pthread.dylib        0xb98 start_wqthread + 8

Any help is appreciated, thank you!

Crashed: com.apple.NSXPCConnection.m-user.com.apple.nsurlsessiond
EXC_BREAKPOINT 0x00000001cfbbecec

7  Foundation                     0x42054 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0x41f3c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x4d66a4 -[UIEventFetcher threadMain] + 436
10 Foundation                     0x5b518 __NSThread__start__ + 716
11 libsystem_pthread.dylib        0x16cc _pthread_start + 148
12 libsystem_pthread.dylib        0xba4 thread_start + 8

com.google.firebase.crashlytics.MachExceptionServer
0  App                    	  0x387cfc FIRCLSProcessRecordAllThreads + 393 (FIRCLSProcess.c:393)
1  App                   	  0x3880dc FIRCLSProcessRecordAllThreads + 424 (FIRCLSProcess.c:424)
2  App                    	  0x395be0 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  App                     	  0x396400 FIRCLSMachExceptionServer + 521 (FIRCLSMachException.c:521)
4  libsystem_pthread.dylib        0x16cc _pthread_start + 148
5  libsystem_pthread.dylib        0xba4 thread_start + 8

GAIThread
0  libsystem_kernel.dylib         0xda8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x13a1c mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x13c5c mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x12ec mach_msg + 24
4  CoreFoundation                 0x7aac4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd08 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80eb0 CFRunLoopRunSpecific + 612
7  Foundation                     0x42054 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0x41ee8 -[NSRunLoop(NSRunLoop) run] + 64
9  App                   	  0x563d00 +[GAI threadMain:] + 64
10 Foundation                     0x5b518 __NSThread__start__ + 716
11 libsystem_pthread.dylib        0x16cc _pthread_start + 148
12 libsystem_pthread.dylib        0xba4 thread_start + 8

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0xda8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x13a1c mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x13c5c mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x12ec mach_msg + 24
4  CoreFoundation                 0x7aac4 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x7bd08 __CFRunLoopRun + 1232
6  CoreFoundation                 0x80eb0 CFRunLoopRunSpecific + 612
7  CFNetwork                      0x257ff0 _CFURLStorageSessionDisableCache + 61088
8  Foundation                     0x5b518 __NSThread__start__ + 716
9  libsystem_pthread.dylib        0x16cc _pthread_start + 148
10 libsystem_pthread.dylib        0xba4 thread_start + 8

CommandHandler
0  libsystem_kernel.dylib         0xda8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x13a1c mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x13c5c mach_msg_overwrite + 388
3  libsystem_kernel.dylib         0x12ec mach_msg + 24
4  CaptiveNetwork                 0x9d78 ConnectionGetCommandInfo + 160
5  CaptiveNetwork                 0x7c54 __add_signal_port_source_block_invoke_2 + 244
6  libdispatch.dylib              0x3f88 _dispatch_client_callout + 20
7  libdispatch.dylib              0x7418 _dispatch_continuation_pop + 504
8  libdispatch.dylib              0x1aa58 _dispatch_source_invoke + 1588
9  libdispatch.dylib              0xb518 _dispatch_lane_serial_drain + 376
10 libdispatch.dylib              0xc18c _dispatch_lane_invoke + 384
11 libdispatch.dylib              0x16e10 _dispatch_workloop_worker_thread + 652
12 libsystem_pthread.dylib        0xdf8 _pthread_wqthread + 288
13 libsystem_pthread.dylib        0xb98 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x12b0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0xe44 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0xb98 start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0xb90 start_wqthread + 254

Crashed: com.apple.NSXPCConnection.m-user.com.apple.nsurlsessiond
0  libobjc.A.dylib                0x6cec objc_opt_respondsToSelector + 48
1  libsystem_trace.dylib          0x6480 _os_log_fmt_flatten_object + 248
2  libsystem_trace.dylib          0x41a0 _os_log_impl_flatten_and_send + 1864
3  libsystem_trace.dylib          0x21bc _os_log + 152
4  libsystem_trace.dylib          0x7840 _os_log_impl + 24
5  CFNetwork                      0x10dc08 _CFURLConnectionCopyTimingData + 34880
6  Foundation                     0x64b620 message_handler_error + 360
7  libxpc.dylib                   0x1179c _xpc_connection_call_event_handler + 152
8  libxpc.dylib                   0x11be8 _xpc_connection_mach_event + 1020
9  libdispatch.dylib              0x4048 _dispatch_client_callout4 + 20
10 libdispatch.dylib              0x24104 _dispatch_mach_cancel_invoke + 128
11 libdispatch.dylib              0x21720 _dispatch_mach_invoke + 916
12 libdispatch.dylib              0xb518 _dispatch_lane_serial_drain + 376
13 libdispatch.dylib              0xc1c0 _dispatch_lane_invoke + 436
14 libdispatch.dylib              0x16e10 _dispatch_workloop_worker_thread + 652
15 libsystem_pthread.dylib        0xdf8 _pthread_wqthread + 288
16 libsystem_pthread.dylib        0xb98 start_wqthread + 8

Do you have an Apple crash report for this? If so, please post it here. See Posting a Crash Report for advice on how to do that.

Share and Enjoy

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

Hi @eskimo, I was able to find an Apple crash report similar to the crashed thread above. I've attached it below, thanks!

Incident Identifier: 5C12B1B9-BAF8-469C-A6BF-34D41F4822CC
Hardware Model:      iPhone12,1
Process:             WwwwwwVvvvvvv [1576]
Path:                /private/var/containers/Bundle/Application/C0370591-7F5F-4107-80C2-EF1BFC141C0F/WwwwwwVvvvvvv.app/WwwwwwVvvvvvv
Identifier:          com.eeeeeee.wwwwwwvvvvvvv
Version:             3.7.3 (2840)
AppStoreTools:       14C17
AppVariant:          1:iPhone12,1:15
Code Type:           ARM-64 (Native)
Role:                Non UI
Parent Process:      launchd [1]
Coalition:           com.eeeeeee.wwwwwwvvvvvvv [393]

Date/Time:           2023-04-03 21:42:36.4184 -0400
Launch Time:         2023-04-03 10:19:07.6485 -0400
OS Version:          iPhone OS 16.3.1 (20D67)
Release Type:        User
Baseband Version:    4.00.00
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000018f39ecec
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [1576]

Triggered by Thread:  10


Thread 0 name:
Thread 0:
0   libsystem_kernel.dylib        	0x00000001d3d2cda8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001d3d3fa1c mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001d3d3fc5c mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001d3d2d2ec mach_msg + 24 (mach_msg.c:323)
4   CaptiveNetwork                	0x00000001f5d6f4b4 ConnectionProcessControl + 180 (cnsserverUser.c:3217)
5   CaptiveNetwork                	0x00000001f5d6c8c4 ServerConnectionProcessControl + 124 (ServerConnection.c:580)
6   CaptiveNetwork                	0x00000001f5d6a444 __CNPluginCopySupportedInterfaces_block_invoke + 48 (CNPlugin.c:458)
7   libdispatch.dylib             	0x000000019d830f88 _dispatch_client_callout + 20 (object.m:560)
8   libdispatch.dylib             	0x000000019d840574 _dispatch_lane_barrier_sync_invoke_and_complete + 56 (queue.c:1023)
9   CaptiveNetwork                	0x00000001f5d6a358 CNPluginCopySupportedInterfaces + 264 (CNPlugin.c:457)
10  NetworkExtension              	0x00000001ad29edc4 +[NEHotspotHelper supportedNetworkInterfaces] + 32 (NEHotspotHelper.m:557)
11  WwwwwwVvvvvvv            		0x0000000102209b9c -[NetworkHandlerWrapper currentNetworkByInterfaces] + 60 (NetworkHandlerWrapper.m:40)
12  WwwwwwVvvvvvv            		0x000000010225c13c -[ReachabilityManager handleReachabilityIndication] + 96 (ReachabilityManager.m:271)
13  WwwwwwVvvvvvv            		0x000000010225ae98 -[ReachabilityManager reachabilityIndication] + 48 (ReachabilityManager.m:102)
14  WwwwwwVvvvvvv            		0x000000010220c308 -[NEHotspotHelperManager handleNewHotspot:] + 652 (NEHotspotHelperManager.m:113)
15  WwwwwwVvvvvvv            		0x000000010220bee0 __34-[NEHotspotHelperManager activate]_block_invoke + 664 (NEHotspotHelperManager.m:0)
16  NetworkExtension              	0x00000001ad29ef9c __53+[NEHotspotHelper registerWithOptions:queue:handler:]_block_invoke + 140 (NEHotspotHelper.m:522)
17  CaptiveNetwork                	0x00000001f5d6a6bc __CNPluginHandleCommandInfo_block_invoke + 444 (CNPlugin.c:178)
18  libdispatch.dylib             	0x000000019d82f460 _dispatch_call_block_and_release + 32 (init.c:1518)
19  libdispatch.dylib             	0x000000019d830f88 _dispatch_client_callout + 20 (object.m:560)
20  libdispatch.dylib             	0x000000019d83f7f4 _dispatch_main_queue_drain + 928 (inline_internal.h:2632)
21  libdispatch.dylib             	0x000000019d83f444 _dispatch_main_queue_callback_4CF + 44 (queue.c:7917)
22  CoreFoundation                	0x00000001962a96c8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1780)
23  CoreFoundation                	0x000000019628b02c __CFRunLoopRun + 2036 (CFRunLoop.c:3147)
24  CoreFoundation                	0x000000019628feb0 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
25  GraphicsServices              	0x00000001d0485368 GSEventRunModal + 164 (GSEvent.c:2196)
26  UIKitCore                     	0x0000000198785668 -[UIApplication _run] + 888 (UIApplication.m:3758)
27  UIKitCore                     	0x00000001987852cc UIApplicationMain + 340 (UIApplication.m:5348)
28  WwwwwwVvvvvvv                   0x00000001001434d0 main + 68 (AppDelegate.swift:73)
29  dyld                          	0x00000001b4b88960 start + 2528 (dyldMain.cpp:1170)

Thread 1 name:
Thread 1:
0   libsystem_kernel.dylib        	0x00000001d3d2cda8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001d3d3fa1c mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001d3d3fc5c mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001d3d2d2ec mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x0000000196289ac4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                	0x000000019628ad08 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                	0x000000019628feb0 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   Foundation                    	0x00000001905c4054 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8   Foundation                    	0x00000001905c3f3c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9   UIKitCore                     	0x00000001988ba6a4 -[UIEventFetcher threadMain] + 436 (UIEventFetcher.m:1385)
10  Foundation                    	0x00000001905dd518 __NSThread__start__ + 716 (NSThread.m:963)
11  libsystem_pthread.dylib       	0x00000001e44916cc _pthread_start + 148 (pthread.c:893)
12  libsystem_pthread.dylib       	0x00000001e4490ba4 thread_start + 8 (:-1)

Thread 2 name:
Thread 2:
0   libsystem_kernel.dylib        	0x00000001d3d2cda8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001d3d3fa1c mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001d3d3fc5c mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001d3d2d2ec mach_msg + 24 (mach_msg.c:323)
4   WwwwwwVvvvvvv                   0x00000001004ce4fc FIRCLSMachExceptionReply + 100 (FIRCLSMachException.c:258)
5   WwwwwwVvvvvvv                   0x00000001004ce4fc FIRCLSMachExceptionServer + 940 (FIRCLSMachException.c:176)
6   libsystem_pthread.dylib       	0x00000001e44916cc _pthread_start + 148 (pthread.c:893)
7   libsystem_pthread.dylib       	0x00000001e4490ba4 thread_start + 8 (:-1)

Thread 3 name:
Thread 3:
0   libsystem_kernel.dylib        	0x00000001d3d2cda8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001d3d3fa1c mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001d3d3fc5c mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001d3d2d2ec mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x0000000196289ac4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                	0x000000019628ad08 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                	0x000000019628feb0 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   Foundation                    	0x00000001905c4054 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8   Foundation                    	0x00000001905c3ee8 -[NSRunLoop(NSRunLoop) run] + 64 (NSRunLoop.m:398)
9   WwwwwwVvvvvvv                   0x000000010069bd00 +[GAI threadMain:] + 64
10  Foundation                    	0x00000001905dd518 __NSThread__start__ + 716 (NSThread.m:963)
11  libsystem_pthread.dylib       	0x00000001e44916cc _pthread_start + 148 (pthread.c:893)
12  libsystem_pthread.dylib       	0x00000001e4490ba4 thread_start + 8 (:-1)

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib        	0x00000001d3d2cda8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001d3d3fa1c mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001d3d3fc5c mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001d3d2d2ec mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x0000000196289ac4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                	0x000000019628ad08 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                	0x000000019628feb0 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   CFNetwork                     	0x00000001975faff0 +[__CFN_CoreSchedulingSetRunnable _run:] + 392 (CoreSchedulingSet.mm:1372)
8   Foundation                    	0x00000001905dd518 __NSThread__start__ + 716 (NSThread.m:963)
9   libsystem_pthread.dylib       	0x00000001e44916cc _pthread_start + 148 (pthread.c:893)
10  libsystem_pthread.dylib       	0x00000001e4490ba4 thread_start + 8 (:-1)

Thread 5:
0   libsystem_pthread.dylib       	0x00000001e4490b90 start_wqthread + 0 (:-1)

Thread 6:
0   libsystem_pthread.dylib       	0x00000001e4490b90 start_wqthread + 0 (:-1)

Thread 7:
0   libsystem_pthread.dylib       	0x00000001e4490b90 start_wqthread + 0 (:-1)

Thread 8 name:
Thread 8:
0   libsystem_kernel.dylib        	0x00000001d3d3098c __channel_sync + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001d3d451f0 os_channel_packet_alloc + 716 (os_channel.c:1725)
2   Network                       	0x0000000197137b60 nw_channel_get_output_frames(nw_protocol*, nw_protocol*, unsigned int, unsigned int, unsigned int, nw_frame_array_s*) + 876 (channel.cpp:1894)
3   Network                       	0x000000019711e078 nw_protocol_ipv4_get_output_frames(nw_protocol*, nw_protocol*, unsigned int, unsigned int, unsigned int, nw_frame_array_s*) + 180 (protocol_ip.cpp:671)
4   libusrtcp.dylib               	0x00000001f8576c58 tcp_output + 9560 (tcp_output.c:2117)
5   libusrtcp.dylib               	0x00000001f85825ec tcp_trigger_connect + 180 (user_socket.c:1280)
6   libusrtcp.dylib               	0x00000001f854de28 nw_protocol_tcp_connected + 224 (protocol_tcp.c:2153)
7   Network                       	0x000000019711cc84 nw_protocol_ipv4_connected(nw_protocol*, nw_protocol*) + 248 (protocol_ip.cpp:1122)
8   Network                       	0x000000019713671c nw_channel_connect(nw_protocol*, nw_protocol*) + 128 (channel.cpp:749)
9   libusrtcp.dylib               	0x00000001f854f5c4 nw_protocol_tcp_connect + 208 (protocol_tcp.c:2102)
10  libboringssl.dylib            	0x00000001bfdb3d6c nw_protocol_boringssl_connect + 488 (protocol_boringssl.m:1421)
11  CFNetwork                     	0x00000001975eff30 ConnectionProtocolConnect(nw_protocol*, nw_protocol*) + 1144 (ConnectionProtocol.cpp:279)
12  Network                       	0x00000001970440d4 nw_endpoint_flow_connect + 164 (endpoint_flow.m:3037)
13  Network                       	0x000000019703eef4 nw_endpoint_flow_setup_protocols + 5524 (endpoint_flow.m:3590)
14  Network                       	0x000000019703b6b0 nw_endpoint_flow_setup_channel + 1828 (endpoint_flow.m:3810)
15  Network                       	0x0000000197037520 -[NWConcrete_nw_endpoint_flow updatePathWithHandler:] + 2200 (endpoint_flow.m:421)
16  Network                       	0x0000000196a89f24 nw_endpoint_handler_path_change + 10708 (endpoint_handler.m:0)
17  Network                       	0x0000000196a85b20 __nw_endpoint_handler_initialize_association_block_invoke + 148 (endpoint_handler.m:926)
18  Network                       	0x0000000197102830 __nw_association_update_paths_block_invoke_2 + 88 (association.m:340)
19  Network                       	0x0000000196e793a4 nw_hash_table_apply + 164 (hash_table.cpp:408)
20  Network                       	0x0000000197101ec8 nw_association_update_paths + 468 (association.m:335)
21  Network                       	0x0000000196f2643c nw_path_necp_update_evaluator + 1900 (path_evaluation.m:1128)
22  Network                       	0x0000000196f252b0 nw_path_necp_check_for_updates + 1268 (path_evaluation.m:1250)
23  Network                       	0x0000000196f3db08 nw_path_evaluator_force_update + 124 (path_evaluation.m:6051)
24  Network                       	0x0000000197109ee8 nw_association_force_update + 104 (association.m:647)
25  Network                       	0x000000019703cf14 nw_endpoint_flow_setup_channel + 8072 (endpoint_flow.m:3836)
26  Network                       	0x000000019705e698 -[NWConcrete_nw_endpoint_flow startWithHandler:] + 5736 (endpoint_flow.m:247)
27  Network                       	0x0000000196a8abf4 nw_endpoint_handler_path_change + 13988 (endpoint_handler.m:0)
28  Network                       	0x0000000196a92600 nw_endpoint_handler_start + 1032 (endpoint_handler.m:979)
29  Network                       	0x0000000196a6fbf4 nw_endpoint_resolver_start_next_child + 3860 (endpoint_resolver.m:740)
30  libdispatch.dylib             	0x000000019d82f460 _dispatch_call_block_and_release + 32 (init.c:1518)
31  libdispatch.dylib             	0x000000019d830f88 _dispatch_client_callout + 20 (object.m:560)
32  libdispatch.dylib             	0x000000019d83a5cc _dispatch_workloop_invoke + 2076 (inline_internal.h:2632)
33  libdispatch.dylib             	0x000000019d843e10 _dispatch_workloop_worker_thread + 652 (queue.c:6876)
34  libsystem_pthread.dylib       	0x00000001e4490df8 _pthread_wqthread + 288 (pthread.c:2618)
35  libsystem_pthread.dylib       	0x00000001e4490b98 start_wqthread + 8 (:-1)

Thread 9:
0   libsystem_pthread.dylib       	0x00000001e4490b90 start_wqthread + 0 (:-1)

Thread 10 name:
Thread 10 Crashed:
0   libobjc.A.dylib               	0x000000018f39ecec objc_opt_respondsToSelector + 48 (objc-object.h:237)
1   libsystem_trace.dylib         	0x00000001ad119480 _os_log_fmt_flatten_object + 248 (format.m:308)
2   libsystem_trace.dylib         	0x00000001ad1171a0 _os_log_impl_flatten_and_send + 1864 (format.c:835)
3   libsystem_trace.dylib         	0x00000001ad1151bc _os_log + 152 (log.c:2371)
4   libsystem_trace.dylib         	0x00000001ad11a840 _os_log_impl + 24 (log.c:2389)
5   CFNetwork                     	0x00000001974b0c08 __46-[__NSURLBackgroundSession setupXPCConnection]_block_invoke_2.23 + 212 (BackgroundSession.mm:0)
6   Foundation                    	0x0000000190bcd620 message_handler_error + 360 (NSXPCConnection.m:855)
7   libxpc.dylib                  	0x00000001e44e579c _xpc_connection_call_event_handler + 152 (connection.c:834)
8   libxpc.dylib                  	0x00000001e44e5be8 _xpc_connection_mach_event + 1020 (connection.c:2283)
9   libdispatch.dylib             	0x000000019d831048 _dispatch_client_callout4 + 20 (object.m:600)
10  libdispatch.dylib             	0x000000019d851104 _dispatch_mach_cancel_invoke + 128 (mach.c:2628)
11  libdispatch.dylib             	0x000000019d84e720 _dispatch_mach_invoke + 916 (mach.c:2849)
12  libdispatch.dylib             	0x000000019d838518 _dispatch_lane_serial_drain + 376 (inline_internal.h:0)
13  libdispatch.dylib             	0x000000019d8391c0 _dispatch_lane_invoke + 436 (queue.c:3940)
14  libdispatch.dylib             	0x000000019d843e10 _dispatch_workloop_worker_thread + 652 (queue.c:6876)
15  libsystem_pthread.dylib       	0x00000001e4490df8 _pthread_wqthread + 288 (pthread.c:2618)
16  libsystem_pthread.dylib       	0x00000001e4490b98 start_wqthread + 8 (:-1)

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

Thread 12 name:
Thread 12:
0   libsystem_kernel.dylib        	0x00000001d3d2cd3c semaphore_timedwait_trap + 8 (:-1)
1   libdispatch.dylib             	0x000000019d8315a0 _dispatch_sema4_timedwait + 64 (lock.c:154)
2   libdispatch.dylib             	0x000000019d831ba0 _dispatch_semaphore_wait_slow + 76 (semaphore.c:116)
3   libdispatch.dylib             	0x000000019d842840 _dispatch_worker_thread + 324 (queue.c:7192)
4   libsystem_pthread.dylib       	0x00000001e44916cc _pthread_start + 148 (pthread.c:893)
5   libsystem_pthread.dylib       	0x00000001e4490ba4 thread_start + 8 (:-1)

Thread 13 name:
Thread 13:
0   libsystem_kernel.dylib        	0x00000001d3d2cd3c semaphore_timedwait_trap + 8 (:-1)
1   libdispatch.dylib             	0x000000019d8315a0 _dispatch_sema4_timedwait + 64 (lock.c:154)
2   libdispatch.dylib             	0x000000019d831ba0 _dispatch_semaphore_wait_slow + 76 (semaphore.c:116)
3   libdispatch.dylib             	0x000000019d842840 _dispatch_worker_thread + 324 (queue.c:7192)
4   libsystem_pthread.dylib       	0x00000001e44916cc _pthread_start + 148 (pthread.c:893)
5   libsystem_pthread.dylib       	0x00000001e4490ba4 thread_start + 8 (:-1)


Thread 10 crashed with ARM Thread State (64-bit):
    x0: 0x00000002810bb9c0   x1: 0x0000000191c522ef   x2: 0x0000000191c522ef   x3: 0x00000002810bb9c0
    x4: 0x0000000000000000   x5: 0x0000000170095418   x6: 0x0000000170095400   x7: 0x00000000000003f8
    x8: 0x0000812e6249b9c0   x9: 0x0000000191ff2608  x10: 0x000000017fcd6140  x11: 0x001f000102691960
   x12: 0x0000000000000004  x13: 0x0000000102691990  x14: 0x03000001ec5b5ab9  x15: 0x00000001ec5b5ab8
   x16: 0x0000812e6249b9c0  x17: 0x0000002e6249b9c0  x18: 0x0000000000000000  x19: 0x0000000170095400
   x20: 0x00000000000003f8  x21: 0x0000000170095418  x22: 0x0000000000000000  x23: 0x00000002810bb9c0
   x24: 0x0000000000000001  x25: 0x0000000000000000  x26: 0x0000000170095c7a  x27: 0x00000002810bb9c0
   x28: 0x00000001700966d2   fp: 0x0000000170095310   lr: 0x00000001ad119480
    sp: 0x0000000170095260   pc: 0x000000018f39ecec cpsr: 0x20000000
   esr: 0xf200c472 (Breakpoint) pointer authentication trap DA


Binary Images:
0x100138000 - 0x10082bfff WwwwwwVvvvvvv arm64  <3de0dc4d41fb325eb9275de678105a33> /private/var/containers/Bundle/Application/C0370591-7F5F-4107-80C2-EF1BFC141C0F/WwwwwwVvvvvvv.app/WwwwwwVvvvvvv
0x1021f8000 - 0x1022f7fff WwwwwwVvvvvvv arm64   /private/var/containers/Bundle/Application/C0370591-7F5F-4107-80C2-EF1BFC141C0F/WwwwwwVvvvvvv.app/Frameworks/WwwwwwVvvvvvv.framework/WwwwwwVvvvvvv
0x18f398000 - 0x18f3dbe1f libobjc.A.dylib arm64e   /usr/lib/libobjc.A.dylib
0x190582000 - 0x190ecbfff Foundation arm64e   /System/Library/Frameworks/Foundation.framework/Foundation
0x19620f000 - 0x1965f4fff CoreFoundation arm64e  <42ccfc7bff323d258f01ccb2ad843a8b> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1965f5000 - 0x1973a2fff Network arm64e  <66645d9c43363a4d8060866f18c64bd2> /System/Library/Frameworks/Network.framework/Network
0x1973a3000 - 0x19776cfff CFNetwork arm64e  <7f3313c9143533338c82dc961429d0b3> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x1983e4000 - 0x199bd7fff UIKitCore arm64e   /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x19d82d000 - 0x19d873fff libdispatch.dylib arm64e   /usr/lib/system/libdispatch.dylib
0x1ad113000 - 0x1ad12cfff libsystem_trace.dylib arm64e  <3ba62395a0ca35a5b19bbda5aae068cb> /usr/lib/system/libsystem_trace.dylib
0x1ad22d000 - 0x1ad428fff NetworkExtension arm64e  <765e9893724a32958182ac7a6c8ef2ce> /System/Library/Frameworks/NetworkExtension.framework/NetworkExtension
0x1b4b73000 - 0x1b4bf6093 dyld arm64e  <4b042f280d1430eca1de3dbb10866ad7> /usr/lib/dyld
0x1bfda3000 - 0x1bfe64fff libboringssl.dylib arm64e  <0e1fd57cf0103d8e95678e8a8efa9f2f> /usr/lib/libboringssl.dylib
0x1d0484000 - 0x1d048cfff GraphicsServices arm64e  <85419099269b336d86b40d52d0ff6923> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x1d3d2c000 - 0x1d3d63feb libsystem_kernel.dylib arm64e   /usr/lib/system/libsystem_kernel.dylib
0x1e4490000 - 0x1e449bfff libsystem_pthread.dylib arm64e  <45ac734e66493ee2a0963fd66441ab78> /usr/lib/system/libsystem_pthread.dylib
0x1e44d4000 - 0x1e4514fff libxpc.dylib arm64e   /usr/lib/system/libxpc.dylib
0x1f5d65000 - 0x1f5d70fff CaptiveNetwork arm64e   /System/Library/PrivateFrameworks/CaptiveNetwork.framework/CaptiveNetwork
0x1f8530000 - 0x1f859bffe libusrtcp.dylib arm64e   /usr/lib/libusrtcp.dylib

I'm just checking to see if there was ever a resolution to this? I'm seeing this in the crashes too, up to the latest iOS version. It's a very small percentage of users that are seeing this but it's enough (e.g. > 0 😊) to want to fix it.

From the crash reports this is only happening when the app is in the foreground. The app does use a background URLSession but the requests are only made when the app is active. From the state of the other threads this looks to happen just after the app is brought to the foreground.

This isn't something we've been able to recreate while debugging or without a debugger (in case we're hitting some restriction that is disabled when debugging). It's rare enough that there's no clear cause.

We see a few different exceptions causing this, e.g. EXC_BAD_ACCESS (SIGSEGV); KERN_INVALID_ADDRESS at 0x00004a54c4966330 -> 0x00000054c4966330 (possible pointer authentication failure), EXC_BAD_ACCESS (SIGSEGV);KERN_INVALID_ADDRESS at 0x000000006874616e, and EXC_BREAKPOINT (SIGTRAP). I can redact and provide some Apple crash reports if it would be of some use, but they are effectively the same as the one above.

up to the latest iOS version.

Please post a crash report that shows this happening on iOS 17.

Share and Enjoy

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

Sure thing, I've attached 2.

When locally symbolicated I can see that thread 12 is code that we run in response to UIApplication.willEnterForegroundNotification (after a DispatchQueue.async call). This is what makes me think this is happening not long after the app enters the foreground.

Incident Identifier: 6E33E588-36EE-4C1C-97C9-2C4A8A1A4AED
Hardware Model:      iPhone11,8
Process:             AppName [1806]
Path:                /private/var/containers/Bundle/Application/33289180-31BF-4CC7-955A-82E7ED0DDE3D/AppName.app/AppName
Identifier:          com.company.AppName
Version:             1.93.0 (2)
AppStoreTools:       15E204
AppVariant:          1:iPhone11,8:15
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.company.AppName [917]

Date/Time:           2024-03-10 11:38:08.1768 +0000
Launch Time:         2024-03-09 16:17:52.8851 +0000
OS Version:          iPhone OS 17.4 (21E219)
Release Type:        User
Baseband Version:    6.00.00
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000653aea29e
Exception Codes: 0x0000000000000001, 0x0000000653aea29e
VM Region Info: 0x653aea29e is not in any region.  Bytes after previous region: 13751984799  Bytes before following region: 40471977314
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      MALLOC_NANO              300000000-320000000 [512.0M] rw-/rwx SM=PRV
--->  GAP OF 0xca0000000 BYTES
      commpage (reserved)      fc0000000-1000000000 [  1.0G] ---/--- SM=NUL  reserved VM address space (unallocated)
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [1806]

Triggered by Thread:  14


Thread 0 name:
Thread 0:
0   libsystem_kernel.dylib        	0x00000001e0d39af8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001e0d39890 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001e0d397a8 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001e0d395e8 mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x000000019880c01c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5   CoreFoundation                	0x0000000198809f04 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x0000000198809968 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7   GraphicsServices              	0x00000001dcb074e0 GSEventRunModal + 164 (GSEvent.c:2196)
8   UIKitCore                     	0x000000019ac7cedc -[UIApplication _run] + 888 (UIApplication.m:3692)
9   UIKitCore                     	0x000000019ac7c518 UIApplicationMain + 340 (UIApplication.m:5282)
10  AppName                       	0x0000000104d92c18 0x104d8c000 + 27672
11  dyld                          	0x00000001bbd2ad84 start + 2240 (dyldMain.cpp:1298)

Thread 1 name:
Thread 1:
0   libsystem_kernel.dylib        	0x00000001e0d39af8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001e0d39890 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001e0d397a8 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001e0d395e8 mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x000000019880c01c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5   CoreFoundation                	0x0000000198809f04 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x0000000198809968 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7   Foundation                    	0x00000001976984a8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8   Foundation                    	0x00000001976c24e8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9   UIKitCore                     	0x000000019abdfac8 -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1201)
10  Foundation                    	0x0000000197709a9c __NSThread__start__ + 732 (NSThread.m:991)
11  libsystem_pthread.dylib       	0x00000001f47c1a90 _pthread_start + 136 (pthread.c:927)
12  libsystem_pthread.dylib       	0x00000001f47c0fcc thread_start + 8 (:-1)

Thread 2 name:
Thread 2:
0   libsystem_kernel.dylib        	0x00000001e0d3a5d0 write + 8 (:-1)
1   AppName                       	0x0000000105f015c8 0x104d8c000 + 18306504
2   AppName                       	0x0000000105efe774 0x104d8c000 + 18294644
3   libsystem_pthread.dylib       	0x00000001f47c1a90 _pthread_start + 136 (pthread.c:927)
4   libsystem_pthread.dylib       	0x00000001f47c0fcc thread_start + 8 (:-1)

Thread 3 name:
Thread 3:
0   libsystem_kernel.dylib        	0x00000001e0d39af8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001e0d39890 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001e0d397a8 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001e0d395e8 mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x000000019880c01c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5   CoreFoundation                	0x0000000198809f04 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x0000000198809968 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7   CFNetwork                     	0x0000000199b68c48 +[__CFN_CoreSchedulingSetRunnable _run:] + 384 (CoreSchedulingSet.mm:1479)
8   Foundation                    	0x0000000197709a9c __NSThread__start__ + 732 (NSThread.m:991)
9   libsystem_pthread.dylib       	0x00000001f47c1a90 _pthread_start + 136 (pthread.c:927)
10  libsystem_pthread.dylib       	0x00000001f47c0fcc thread_start + 8 (:-1)

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib        	0x00000001e0d3a628 __psynch_mutexwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001f47c1324 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib       	0x00000001f47c0dac _pthread_mutex_firstfit_lock_slow + 248 (pthread_mutex.c:1490)
3   FullStory                     	0x00000001081ea89c 0x1081cc000 + 125084
4   FullStory                     	0x000000010824b86c 0x1081cc000 + 522348
5   libsystem_pthread.dylib       	0x00000001f47c1a90 _pthread_start + 136 (pthread.c:927)
6   libsystem_pthread.dylib       	0x00000001f47c0fcc thread_start + 8 (:-1)

Thread 5 name:
Thread 5:
0   libsystem_kernel.dylib        	0x00000001e0d3a49c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001f47c0590 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2   FullStory                     	0x0000000108247408 0x1081cc000 + 504840
3   FullStory                     	0x000000010824a13c 0x1081cc000 + 516412
4   FullStory                     	0x00000001081ea908 0x1081cc000 + 125192
5   FullStory                     	0x000000010824b86c 0x1081cc000 + 522348
6   libsystem_pthread.dylib       	0x00000001f47c1a90 _pthread_start + 136 (pthread.c:927)
7   libsystem_pthread.dylib       	0x00000001f47c0fcc thread_start + 8 (:-1)

Thread 6 name:
Thread 6:
0   libsystem_kernel.dylib        	0x00000001e0d3a628 __psynch_mutexwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001f47c1324 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib       	0x00000001f47c0dac _pthread_mutex_firstfit_lock_slow + 248 (pthread_mutex.c:1490)
3   FullStory                     	0x00000001081ea89c 0x1081cc000 + 125084
4   FullStory                     	0x000000010824b86c 0x1081cc000 + 522348
5   libsystem_pthread.dylib       	0x00000001f47c1a90 _pthread_start + 136 (pthread.c:927)
6   libsystem_pthread.dylib       	0x00000001f47c0fcc thread_start + 8 (:-1)

Thread 7 name:
Thread 7:
0   libsystem_kernel.dylib        	0x00000001e0d3a628 __psynch_mutexwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001f47c1324 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib       	0x00000001f47c0dac _pthread_mutex_firstfit_lock_slow + 248 (pthread_mutex.c:1490)
3   FullStory                     	0x00000001081ea89c 0x1081cc000 + 125084
4   FullStory                     	0x000000010824b86c 0x1081cc000 + 522348
5   libsystem_pthread.dylib       	0x00000001f47c1a90 _pthread_start + 136 (pthread.c:927)
6   libsystem_pthread.dylib       	0x00000001f47c0fcc thread_start + 8 (:-1)

Thread 8 name:
Thread 8:
0   libsystem_kernel.dylib        	0x00000001e0d3a628 __psynch_mutexwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001f47c1324 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib       	0x00000001f47c0dac _pthread_mutex_firstfit_lock_slow + 248 (pthread_mutex.c:1490)
3   FullStory                     	0x00000001081ea89c 0x1081cc000 + 125084
4   FullStory                     	0x000000010824b86c 0x1081cc000 + 522348
5   libsystem_pthread.dylib       	0x00000001f47c1a90 _pthread_start + 136 (pthread.c:927)
6   libsystem_pthread.dylib       	0x00000001f47c0fcc thread_start + 8 (:-1)

Thread 9 name:
Thread 9:
0   libsystem_kernel.dylib        	0x00000001e0d3a628 __psynch_mutexwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001f47c1324 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib       	0x00000001f47c0dac _pthread_mutex_firstfit_lock_slow + 248 (pthread_mutex.c:1490)
3   FullStory                     	0x00000001081ea89c 0x1081cc000 + 125084
4   FullStory                     	0x000000010824b86c 0x1081cc000 + 522348
5   libsystem_pthread.dylib       	0x00000001f47c1a90 _pthread_start + 136 (pthread.c:927)
6   libsystem_pthread.dylib       	0x00000001f47c0fcc thread_start + 8 (:-1)

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

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

Thread 12 name:
Thread 12:
0   libsystem_kernel.dylib        	0x00000001e0d3a4c8 __getattrlist + 8 (:-1)
1   CoreServicesInternal          	0x0000000197641b40 GetattrlistRetry + 56 (DirEnum.c:668)
2   CoreServicesInternal          	0x0000000197641984 DirEnumOpen + 964 (DirEnum.c:923)
3   CoreServicesInternal          	0x0000000197640c14 _InitalizeDirectoryEnumerator(_CFURLEnumerator*) + 1404 (FileURLEnumerator.cp:583)
4   CoreServicesInternal          	0x000000019763dcd8 _URLEnumeratorGetNextURL + 96 (FileURLEnumerator.cp:1568)
5   Foundation                    	0x00000001977391dc -[NSFileManager contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:] + 212 (NSFileManager.m:2382)
6   AppName                       	0x0000000105d4f5ec 0x104d8c000 + 16528876
7   AppName                       	0x0000000105d4f6a8 0x104d8c000 + 16529064
8   AppName                       	0x0000000105d4fc90 0x104d8c000 + 16530576
9   AppName                       	0x0000000105d6587c 0x104d8c000 + 16619644
10  AppName                       	0x0000000105d68168 0x104d8c000 + 16630120
11  AppName                       	0x0000000105d647fc 0x104d8c000 + 16615420
12  libdispatch.dylib             	0x00000001a06d113c _dispatch_call_block_and_release + 32 (init.c:1530)
13  libdispatch.dylib             	0x00000001a06d2dd4 _dispatch_client_callout + 20 (object.m:576)
14  libdispatch.dylib             	0x00000001a06da400 _dispatch_lane_serial_drain + 748 (queue.c:3900)
15  libdispatch.dylib             	0x00000001a06daf30 _dispatch_lane_invoke + 380 (queue.c:3991)
16  libdispatch.dylib             	0x00000001a06e5cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
17  libdispatch.dylib             	0x00000001a06e5528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
18  libsystem_pthread.dylib       	0x00000001f47c0f20 _pthread_wqthread + 288 (pthread.c:2665)
19  libsystem_pthread.dylib       	0x00000001f47c0fc0 start_wqthread + 8 (:-1)

Thread 13 name:
Thread 13:
0   libsystem_kernel.dylib        	0x00000001e0d41e0c guarded_close_np + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001e0d41d44 os_channel_destroy + 40 (os_channel.c:871)
2   Network                       	0x0000000198d318b8 invocation function for block in nw_channel_create(nw_context*, unsigned char*, unsigned int, void*, unsigned int, bool, bool, bool*) + 312 (channel.cpp:2532)
3   libdispatch.dylib             	0x00000001a06d113c _dispatch_call_block_and_release + 32 (init.c:1530)
4   libdispatch.dylib             	0x00000001a06d2dd4 _dispatch_client_callout + 20 (object.m:576)
5   libdispatch.dylib             	0x00000001a06dc410 _dispatch_workloop_invoke + 2152 (queue.c:4570)
6   libdispatch.dylib             	0x00000001a06e5cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
7   libdispatch.dylib             	0x00000001a06e5528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
8   libsystem_pthread.dylib       	0x00000001f47c0f20 _pthread_wqthread + 288 (pthread.c:2665)
9   libsystem_pthread.dylib       	0x00000001f47c0fc0 start_wqthread + 8 (:-1)

Thread 14 name:
Thread 14 Crashed:
0   libobjc.A.dylib               	0x0000000190741274 object_isClass + 16 (objc-class.mm:218)
1   libsystem_trace.dylib         	0x00000001b274fc08 _os_log_fmt_flatten_object + 424 (format.m:314)
2   libsystem_trace.dylib         	0x00000001b274e1b8 _os_log_impl_flatten_and_send + 1864 (log.c:2672)
3   libsystem_trace.dylib         	0x00000001b274da58 _os_log + 168 (log.c:2783)
4   libsystem_trace.dylib         	0x00000001b274d9a8 _os_log_impl + 28 (log.c:2801)
5   CFNetwork                     	0x00000001999d89d4 __46-[__NSURLBackgroundSession setupXPCConnection]_block_invoke_2.23 + 212 (BackgroundSession.mm:0)
6   Foundation                    	0x00000001976fb554 message_handler_error + 360 (NSXPCConnection.m:855)
7   libxpc.dylib                  	0x00000001f4813d84 _xpc_connection_call_event_handler + 144 (connection.c:830)
8   libxpc.dylib                  	0x00000001f48158d8 _xpc_connection_mach_event + 1156 (connection.c:2453)
9   libdispatch.dylib             	0x00000001a06d2e94 _dispatch_client_callout4 + 20 (object.m:616)
10  libdispatch.dylib             	0x00000001a06f29a4 _dispatch_mach_cancel_invoke + 128 (mach.c:2628)
11  libdispatch.dylib             	0x00000001a06eff20 _dispatch_mach_invoke + 908 (mach.c:2861)
12  libdispatch.dylib             	0x00000001a06da284 _dispatch_lane_serial_drain + 368 (queue.c:3900)
13  libdispatch.dylib             	0x00000001a06daf64 _dispatch_lane_invoke + 432 (queue.c:3991)
14  libdispatch.dylib             	0x00000001a06e5cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
15  libdispatch.dylib             	0x00000001a06e5528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
16  libsystem_pthread.dylib       	0x00000001f47c0f20 _pthread_wqthread + 288 (pthread.c:2665)
17  libsystem_pthread.dylib       	0x00000001f47c0fc0 start_wqthread + 8 (:-1)

Thread 15 name:
Thread 15:
0   AppName                       	0x0000000105f7fb18 0x104d8c000 + 18823960
1   AppName                       	0x0000000105f7b7b0 0x104d8c000 + 18806704
2   AppName                       	0x0000000105f8b3b0 0x104d8c000 + 18871216
3   AppName                       	0x0000000105f77634 0x104d8c000 + 18789940
4   libdispatch.dylib             	0x00000001a06e1e5c _dispatch_block_async_invoke2 + 148 (queue.c:570)
5   libdispatch.dylib             	0x00000001a06d2dd4 _dispatch_client_callout + 20 (object.m:576)
6   libdispatch.dylib             	0x00000001a06d62d8 _dispatch_continuation_pop + 600 (queue.c:321)
7   libdispatch.dylib             	0x00000001a06ea1c8 _dispatch_source_latch_and_call + 420 (source.c:596)
8   libdispatch.dylib             	0x00000001a06e8d8c _dispatch_source_invoke + 832 (source.c:961)
9   libdispatch.dylib             	0x00000001a06d6150 _dispatch_continuation_pop + 208 (queue.c:321)
10  libdispatch.dylib             	0x00000001a06d58f4 _dispatch_async_redirect_invoke + 584 (queue.c:845)
11  libdispatch.dylib             	0x00000001a06e4894 _dispatch_root_queue_drain + 392 (queue.c:7136)
12  libdispatch.dylib             	0x00000001a06e509c _dispatch_worker_thread2 + 156 (queue.c:7204)
13  libsystem_pthread.dylib       	0x00000001f47c0ee4 _pthread_wqthread + 228 (pthread.c:2678)
14  libsystem_pthread.dylib       	0x00000001f47c0fc0 start_wqthread + 8 (:-1)

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

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

Thread 18 name:
Thread 18:
0   libswiftCore.dylib            	0x00000001971c0284 _print_unlocked(_:_:) + 56 (:0)
1   Network                       	0x0000000198e636b0 NWError.debugDescription.getter + 148 (NWError.swift:83)
2   libswiftCore.dylib            	0x000000019721b26c String.init<a>(describing:) + 1316 (Mirror.swift:577)
3   AppName                       	0x0000000105f76800 0x104d8c000 + 18786304
4   Network                       	0x0000000198ea51d0 partial apply for thunk for @escaping @callee_guaranteed @Sendable (@in_guaranteed NWConnection.State) -> () + 28 (:0)
5   Network                       	0x0000000198ea0998 partial apply for thunk for @escaping @callee_guaranteed @Sendable (@in_guaranteed NWConnection.State) -> (@out ()) + 28 (:0)
6   Network                       	0x0000000198e9b88c closure #2 in NWConnection.stateUpdateHandler.setter + 136 (NWConnection.swift:134)
7   Network                       	0x0000000198e9b9b0 thunk for @escaping @callee_guaranteed (@unowned nw_connection_state_t, @guaranteed OS_nw_error?) -> () + 68 (:0)
8   libdispatch.dylib             	0x00000001a06e1e5c _dispatch_block_async_invoke2 + 148 (queue.c:570)
9   libdispatch.dylib             	0x00000001a06d2dd4 _dispatch_client_callout + 20 (object.m:576)
10  libdispatch.dylib             	0x00000001a06da400 _dispatch_lane_serial_drain + 748 (queue.c:3900)
11  libdispatch.dylib             	0x00000001a06daf30 _dispatch_lane_invoke + 380 (queue.c:3991)
12  libdispatch.dylib             	0x00000001a06e5cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
13  libdispatch.dylib             	0x00000001a06e5528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
14  libsystem_pthread.dylib       	0x00000001f47c0f20 _pthread_wqthread + 288 (pthread.c:2665)
15  libsystem_pthread.dylib       	0x00000001f47c0fc0 start_wqthread + 8 (:-1)

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

Thread 20 name:
Thread 20:
0   libsystem_kernel.dylib        	0x00000001e0d3a654 pread + 8 (:-1)
1   libsqlite3.dylib              	0x00000001c2547e70 seekAndRead + 96 (sqlite3.c:44001)
2   libsqlite3.dylib              	0x00000001c24bc508 unixRead + 208 (sqlite3.c:44093)
3   libsqlite3.dylib              	0x00000001c24cf918 readDbPage + 188 (sqlite3.c:66757)
4   libsqlite3.dylib              	0x00000001c2551ee0 getPageNormal + 544 (sqlite3.c:69366)
5   libsqlite3.dylib              	0x00000001c255e7dc getAndInitPage + 124 (sqlite3.c:79030)
6   libsqlite3.dylib              	0x00000001c24ec7f0 moveToRoot + 520 (sqlite3.c:82155)
7   libsqlite3.dylib              	0x00000001c24e2134 sqlite3VdbeExec + 3064 (sqlite3.c:106061)
8   libsqlite3.dylib              	0x00000001c24e0c80 sqlite3_step + 964 (sqlite3.c:97699)
9   AppName                       	0x0000000106a850b4 0x104d8c000 + 30380212
10  AppName                       	0x00000001069ff39c 0x104d8c000 + 29832092
11  AppName                       	0x00000001069f8abc 0x104d8c000 + 29805244
12  AppName                       	0x0000000106a29890 0x104d8c000 + 30005392
13  AppName                       	0x0000000106a7aa84 0x104d8c000 + 30337668
14  libdispatch.dylib             	0x00000001a06d113c _dispatch_call_block_and_release + 32 (init.c:1530)
15  libdispatch.dylib             	0x00000001a06d2dd4 _dispatch_client_callout + 20 (object.m:576)
16  libdispatch.dylib             	0x00000001a06da400 _dispatch_lane_serial_drain + 748 (queue.c:3900)
17  libdispatch.dylib             	0x00000001a06daf30 _dispatch_lane_invoke + 380 (queue.c:3991)
18  libdispatch.dylib             	0x00000001a06e5cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
19  libdispatch.dylib             	0x00000001a06e5528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
20  libsystem_pthread.dylib       	0x00000001f47c0f20 _pthread_wqthread + 288 (pthread.c:2665)
21  libsystem_pthread.dylib       	0x00000001f47c0fc0 start_wqthread + 8 (:-1)

Thread 21 name:
Thread 21:
0   libsystem_kernel.dylib        	0x00000001e0d3a49c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001f47c0590 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2   JavaScriptCore                	0x00000001afdd6cec 0x1ae840000 + 22637804
3   libsystem_pthread.dylib       	0x00000001f47c1a90 _pthread_start + 136 (pthread.c:927)
4   libsystem_pthread.dylib       	0x00000001f47c0fcc thread_start + 8 (:-1)


Thread 14 crashed with ARM Thread State (64-bit):
    x0: 0x00000003021ca280   x1: 0x000000019216d4ed   x2: 0x0000000000000000   x3: 0x0000000000000004
    x4: 0x0000000000000000   x5: 0x000000016b1852a0   x6: 0x000000016b185288   x7: 0x00000000000003f8
    x8: 0x0000000653aea280   x9: 0x000000019216d4ed  x10: 0x00000002b09287e0  x11: 0x003f00010a038c00
   x12: 0x0000000000000004  x13: 0x000000010a038c30  x14: 0x00000001f9d8e838  x15: 0x00000001f9d8b010
   x16: 0x0000000190741264  x17: 0x734eb801907182a0  x18: 0x0000000000000000  x19: 0x000000016b185288
   x20: 0x00000000000003f8  x21: 0x000000016b1852a0  x22: 0x0000000000000000  x23: 0x00000003021ca280
   x24: 0x0000000000000001  x25: 0x0000000000000000  x26: 0x000000016b185bc2  x27: 0x0000000000000000
   x28: 0x00000003021ca280   fp: 0x000000016b185180   lr: 0x00000001b274fc08
    sp: 0x000000016b1850d0   pc: 0x0000000190741274 cpsr: 0x20000000
   esr: 0x92000006 (Data Abort) byte read Translation fault


Binary Images:
        0x104d8c000 -         0x107127fff AppName arm64  <924ed4a4d34132789b11cb2195957caf> /private/var/containers/Bundle/Application/33289180-31BF-4CC7-955A-82E7ED0DDE3D/AppName.app/AppName
        0x107d14000 -         0x107d1ffff libobjc-trampolines.dylib arm64e   /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib
        0x1081cc000 -         0x10834bfff FullStory arm64   /private/var/containers/Bundle/Application/33289180-31BF-4CC7-955A-82E7ED0DDE3D/AppName.app/Frameworks/FullStory.framework/FullStory
        0x1083d8000 -         0x108583fff Lottie arm64  <517108aafe98322197a5e9ec38c6f8d0> /private/var/containers/Bundle/Application/33289180-31BF-4CC7-955A-82E7ED0DDE3D/AppName.app/Frameworks/Lottie.framework/Lottie
        0x190714000 -         0x190761cc3 libobjc.A.dylib arm64e   /usr/lib/libobjc.A.dylib
        0x1970e8000 -         0x197637fff libswiftCore.dylib arm64e   /usr/lib/swift/libswiftCore.dylib
        0x197638000 -         0x19766cffb CoreServicesInternal arm64e  <80b4f0588cfd3d67b93b5d9a79229f06> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/CoreServicesInternal
        0x19766d000 -         0x1981f8fff Foundation arm64e  <31d526a2ab5c3b1dbca5b1e082d94712> /System/Library/Frameworks/Foundation.framework/Foundation
        0x1987d6000 -         0x198d03fff CoreFoundation arm64e  <7a70d5d4055038dcab3371b72aff1f5f> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
        0x198d04000 -         0x19990dfff Network arm64e   /System/Library/Frameworks/Network.framework/Network
        0x19990e000 -         0x199ceafff CFNetwork arm64e   /System/Library/Frameworks/CFNetwork.framework/CFNetwork
        0x19aa52000 -         0x19c562fff UIKitCore arm64e  <86b7c8dde91031bdb8fe28962256dee3> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
        0x1a06cf000 -         0x1a0715fff libdispatch.dylib arm64e  <7835e82906523cb599d82ce521476dc0> /usr/lib/system/libdispatch.dylib
        0x1a0716000 -         0x1a0793fff libsystem_c.dylib arm64e  <4f88196b29d5394987a111782867b77e> /usr/lib/system/libsystem_c.dylib
        0x1ae840000 -         0x1affabf1f JavaScriptCore arm64e  <0eba26ace40b33f09403fbd7ff061967> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
        0x1b2749000 -         0x1b2763fff libsystem_trace.dylib arm64e  <96edaca8bd74340ea5e4f196588b0902> /usr/lib/system/libsystem_trace.dylib
        0x1bbd25000 -         0x1bbdb1be3 dyld arm64e  <960a745231783c9d8ce5fe40fde8dbc8> /usr/lib/dyld
        0x1c24b5000 -         0x1c2636ffb libsqlite3.dylib arm64e  <7c30dacd316d341e98f0dd42e019e9d1> /usr/lib/libsqlite3.dylib
        0x1dcb04000 -         0x1dcb0cfff GraphicsServices arm64e   /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
        0x1e0d38000 -         0x1e0d71fef libsystem_kernel.dylib arm64e  <7893ce1a4bb93f54b2e81dc8d2c7e1c3> /usr/lib/system/libsystem_kernel.dylib
        0x1f470a000 -         0x1f4710feb libsystem_platform.dylib arm64e  <54fd8f214bd93c38a33236e61d6bec74> /usr/lib/system/libsystem_platform.dylib
        0x1f47bf000 -         0x1f47cbfff libsystem_pthread.dylib arm64e  <524d87c4ea5d38a09e9a17369b9b8724> /usr/lib/system/libsystem_pthread.dylib
        0x1f4803000 -         0x1f484afff libxpc.dylib arm64e   /usr/lib/system/libxpc.dylib

EOF
</a>

The next crash has a different exception type. Thread 21 is the code run in response to UIApplication.willEnterForegroundNotification.

Incident Identifier: A5B4E585-A55E-43AA-83D0-1D17015B232D
Hardware Model:      iPhone13,2
Process:             AppName [9970]
Path:                /private/var/containers/Bundle/Application/46F0ED99-E056-42F1-9B03-FB0A34FC913D/AppName.app/AppName
Identifier:          com.company.AppName
Version:             1.93.0 (2)
AppStoreTools:       15E204
AppVariant:          1:iPhone13,2:15
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.company.AppName [2152]

Date/Time:           2024-03-10 20:55:20.4938 +0100
Launch Time:         2024-03-10 20:44:02.2695 +0100
OS Version:          iPhone OS 17.4 (21E219)
Release Type:        User
Baseband Version:    4.50.06
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000189c140b4
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [9970]

Triggered by Thread:  10


Thread 0 name:
Thread 0:
0   libsystem_kernel.dylib        	0x00000001da205af8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001da205890 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001da2057a8 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001da2055e8 mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x0000000191cd801c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5   CoreFoundation                	0x0000000191cd5f04 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x0000000191cd5968 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7   GraphicsServices              	0x00000001d5fd34e0 GSEventRunModal + 164 (GSEvent.c:2196)
8   UIKitCore                     	0x0000000194148edc -[UIApplication _run] + 888 (UIApplication.m:3692)
9   UIKitCore                     	0x0000000194148518 UIApplicationMain + 340 (UIApplication.m:5282)
10  AppName                       	0x00000001027b2c18 0x1027ac000 + 27672
11  dyld                          	0x00000001b51f6d84 start + 2240 (dyldMain.cpp:1298)

Thread 1 name:
Thread 1:
0   libsystem_kernel.dylib        	0x00000001da205af8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001da205890 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001da2057a8 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001da2055e8 mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x0000000191cd801c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5   CoreFoundation                	0x0000000191cd5f04 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x0000000191cd5968 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7   Foundation                    	0x0000000190b644a8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8   Foundation                    	0x0000000190b8e4e8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9   UIKitCore                     	0x00000001940abac8 -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1201)
10  Foundation                    	0x0000000190bd5a9c __NSThread__start__ + 732 (NSThread.m:991)
11  libsystem_pthread.dylib       	0x00000001edc8da90 _pthread_start + 136 (pthread.c:927)
12  libsystem_pthread.dylib       	0x00000001edc8cfcc thread_start + 8 (:-1)

Thread 2 name:
Thread 2:
0   libsystem_kernel.dylib        	0x00000001da205af8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001da205890 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001da2057a8 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001da2055e8 mach_msg + 24 (mach_msg.c:323)
4   AppName                       	0x000000010391e7a8 0x1027ac000 + 18294696
5   libsystem_pthread.dylib       	0x00000001edc8da90 _pthread_start + 136 (pthread.c:927)
6   libsystem_pthread.dylib       	0x00000001edc8cfcc thread_start + 8 (:-1)

Thread 3 name:
Thread 3:
0   libsystem_kernel.dylib        	0x00000001da205af8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001da205890 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001da2057a8 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001da2055e8 mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x0000000191cd801c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5   CoreFoundation                	0x0000000191cd5f04 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x0000000191cd5968 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7   CFNetwork                     	0x0000000193034c48 +[__CFN_CoreSchedulingSetRunnable _run:] + 384 (CoreSchedulingSet.mm:1479)
8   Foundation                    	0x0000000190bd5a9c __NSThread__start__ + 732 (NSThread.m:991)
9   libsystem_pthread.dylib       	0x00000001edc8da90 _pthread_start + 136 (pthread.c:927)
10  libsystem_pthread.dylib       	0x00000001edc8cfcc thread_start + 8 (:-1)

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib        	0x00000001da20649c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001edc8c590 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2   FullStory                     	0x0000000105a83408 0x105a08000 + 504840
3   FullStory                     	0x0000000105a8613c 0x105a08000 + 516412
4   FullStory                     	0x0000000105a26908 0x105a08000 + 125192
5   FullStory                     	0x0000000105a8786c 0x105a08000 + 522348
6   libsystem_pthread.dylib       	0x00000001edc8da90 _pthread_start + 136 (pthread.c:927)
7   libsystem_pthread.dylib       	0x00000001edc8cfcc thread_start + 8 (:-1)

Thread 5 name:
Thread 5:
0   libsystem_kernel.dylib        	0x00000001da206628 __psynch_mutexwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001edc8d324 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib       	0x00000001edc8cdac _pthread_mutex_firstfit_lock_slow + 248 (pthread_mutex.c:1490)
3   FullStory                     	0x0000000105a2689c 0x105a08000 + 125084
4   FullStory                     	0x0000000105a8786c 0x105a08000 + 522348
5   libsystem_pthread.dylib       	0x00000001edc8da90 _pthread_start + 136 (pthread.c:927)
6   libsystem_pthread.dylib       	0x00000001edc8cfcc thread_start + 8 (:-1)

Thread 6 name:
Thread 6:
0   libsystem_kernel.dylib        	0x00000001da206628 __psynch_mutexwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001edc8d324 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib       	0x00000001edc8cdac _pthread_mutex_firstfit_lock_slow + 248 (pthread_mutex.c:1490)
3   FullStory                     	0x0000000105a2689c 0x105a08000 + 125084
4   FullStory                     	0x0000000105a8786c 0x105a08000 + 522348
5   libsystem_pthread.dylib       	0x00000001edc8da90 _pthread_start + 136 (pthread.c:927)
6   libsystem_pthread.dylib       	0x00000001edc8cfcc thread_start + 8 (:-1)

Thread 7 name:
Thread 7:
0   libsystem_kernel.dylib        	0x00000001da206628 __psynch_mutexwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001edc8d324 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib       	0x00000001edc8cdac _pthread_mutex_firstfit_lock_slow + 248 (pthread_mutex.c:1490)
3   FullStory                     	0x0000000105a2689c 0x105a08000 + 125084
4   FullStory                     	0x0000000105a8786c 0x105a08000 + 522348
5   libsystem_pthread.dylib       	0x00000001edc8da90 _pthread_start + 136 (pthread.c:927)
6   libsystem_pthread.dylib       	0x00000001edc8cfcc thread_start + 8 (:-1)

Thread 8 name:
Thread 8:
0   libsystem_kernel.dylib        	0x00000001da206628 __psynch_mutexwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001edc8d324 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib       	0x00000001edc8cdac _pthread_mutex_firstfit_lock_slow + 248 (pthread_mutex.c:1490)
3   FullStory                     	0x0000000105a2689c 0x105a08000 + 125084
4   FullStory                     	0x0000000105a8786c 0x105a08000 + 522348
5   libsystem_pthread.dylib       	0x00000001edc8da90 _pthread_start + 136 (pthread.c:927)
6   libsystem_pthread.dylib       	0x00000001edc8cfcc thread_start + 8 (:-1)

Thread 9 name:
Thread 9:
0   libsystem_kernel.dylib        	0x00000001da206628 __psynch_mutexwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001edc8d324 _pthread_mutex_firstfit_lock_wait + 84 (pthread_mutex.c:1414)
2   libsystem_pthread.dylib       	0x00000001edc8cdac _pthread_mutex_firstfit_lock_slow + 248 (pthread_mutex.c:1490)
3   FullStory                     	0x0000000105a2689c 0x105a08000 + 125084
4   FullStory                     	0x0000000105a8786c 0x105a08000 + 522348
5   libsystem_pthread.dylib       	0x00000001edc8da90 _pthread_start + 136 (pthread.c:927)
6   libsystem_pthread.dylib       	0x00000001edc8cfcc thread_start + 8 (:-1)

Thread 10 name:
Thread 10 Crashed:
0   libobjc.A.dylib               	0x0000000189c140b4 objc_opt_respondsToSelector + 48 (NSObject.mm:2123)
1   libsystem_trace.dylib         	0x00000001abc1bb54 _os_log_fmt_flatten_object + 244 (format.m:308)
2   libsystem_trace.dylib         	0x00000001abc1a1b8 _os_log_impl_flatten_and_send + 1864 (log.c:2672)
3   libsystem_trace.dylib         	0x00000001abc19a58 _os_log + 168 (log.c:2783)
4   libsystem_trace.dylib         	0x00000001abc199a8 _os_log_impl + 28 (log.c:2801)
5   CFNetwork                     	0x0000000192ea49d4 __46-[__NSURLBackgroundSession setupXPCConnection]_block_invoke_2.23 + 212 (BackgroundSession.mm:0)
6   Foundation                    	0x0000000190bc7554 message_handler_error + 360 (NSXPCConnection.m:855)
7   libxpc.dylib                  	0x00000001edcdfd84 _xpc_connection_call_event_handler + 144 (connection.c:830)
8   libxpc.dylib                  	0x00000001edce18d8 _xpc_connection_mach_event + 1156 (connection.c:2453)
9   libdispatch.dylib             	0x0000000199b9ee94 _dispatch_client_callout4 + 20 (object.m:616)
10  libdispatch.dylib             	0x0000000199bbe9a4 _dispatch_mach_cancel_invoke + 128 (mach.c:2628)
11  libdispatch.dylib             	0x0000000199bbbf20 _dispatch_mach_invoke + 908 (mach.c:2861)
12  libdispatch.dylib             	0x0000000199ba6284 _dispatch_lane_serial_drain + 368 (queue.c:3900)
13  libdispatch.dylib             	0x0000000199ba6f64 _dispatch_lane_invoke + 432 (queue.c:3991)
14  libdispatch.dylib             	0x0000000199bb1cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
15  libdispatch.dylib             	0x0000000199bb1528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
16  libsystem_pthread.dylib       	0x00000001edc8cf20 _pthread_wqthread + 288 (pthread.c:2665)
17  libsystem_pthread.dylib       	0x00000001edc8cfc0 start_wqthread + 8 (:-1)

Thread 11 name:
Thread 11:
0   libobjc.A.dylib               	0x0000000189bdbcc4 objc_msgSend + 196 (:-1)
1   Foundation                    	0x0000000190b59524 -[NSXPCEncoder _encodeObject:] + 336 (NSXPCCoder.m:356)
2   Foundation                    	0x0000000190b5b3e8 _NSXPCSerializationAddInvocationWithOnlyObjectArgumentsArray + 116 (NSXPCCoder_InvocationSerialization.m:36)
3   Foundation                    	0x0000000190b5b2a0 -[NSXPCEncoder _encodeInvocationObjectArgumentsOnly:count:typeString:selector:isReply:into:] + 212 (NSXPCCoder.m:498)
4   Foundation                    	0x0000000190b7be80 _sendReplyArgumentsOnly + 176 (NSXPCConnection.m:359)
5   Foundation                    	0x0000000190b7bda4 __64-[NSXPCConnection _decodeAndInvokeMessageWithEvent:reply:flags:]_block_invoke_6 + 120 (NSXPCConnection.m:584)
6   Foundation                    	0x0000000190b7bcd0 -[_NSXPCConnectionRequestedReplies endTransactionForSequence:completionHandler:] + 200 (NSXPCConnectionHelpers.m:516)
7   Foundation                    	0x0000000190b7bbe0 __64-[NSXPCConnection _decodeAndInvokeMessageWithEvent:reply:flags:]_block_invoke_5 + 176 (NSXPCConnection.m:579)
8   Foundation                    	0x0000000190b872e0 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT_S1__ + 16 (NSXPCConnection.m:189)
9   Foundation                    	0x0000000190b8502c -[NSXPCConnection _decodeAndInvokeMessageWithEvent:reply:flags:] + 1632 (NSXPCConnection.m:705)
10  Foundation                    	0x0000000190b84904 message_handler_message + 88 (NSXPCConnection.m:826)
11  Foundation                    	0x00000001913257dc message_handler + 152 (NSXPCConnection.m:797)
12  libxpc.dylib                  	0x00000001edcdfd84 _xpc_connection_call_event_handler + 144 (connection.c:830)
13  libxpc.dylib                  	0x00000001edce19d0 _xpc_connection_mach_event + 1404 (connection.c:2435)
14  libdispatch.dylib             	0x0000000199b9ee94 _dispatch_client_callout4 + 20 (object.m:616)
15  libdispatch.dylib             	0x0000000199bbb000 _dispatch_mach_msg_invoke + 468 (mach.c:2511)
16  libdispatch.dylib             	0x0000000199ba6284 _dispatch_lane_serial_drain + 368 (queue.c:3900)
17  libdispatch.dylib             	0x0000000199bbbd50 _dispatch_mach_invoke + 444 (mach.c:2861)
18  libdispatch.dylib             	0x0000000199ba6284 _dispatch_lane_serial_drain + 368 (queue.c:3900)
19  libdispatch.dylib             	0x0000000199ba6f64 _dispatch_lane_invoke + 432 (queue.c:3991)
20  libdispatch.dylib             	0x0000000199bb1cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
21  libdispatch.dylib             	0x0000000199bb1528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
22  libsystem_pthread.dylib       	0x00000001edc8cf20 _pthread_wqthread + 288 (pthread.c:2665)
23  libsystem_pthread.dylib       	0x00000001edc8cfc0 start_wqthread + 8 (:-1)

Thread 12 name:
Thread 12:
0   libsystem_kernel.dylib        	0x00000001da205af8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001da205890 mach_msg2_internal + 80 (mach_msg.c:201)
2   libdispatch.dylib             	0x0000000199bbd9f8 _dispatch_mach_msg_send + 920 (mach.c:1182)
3   libdispatch.dylib             	0x0000000199bbd210 _dispatch_mach_send_drain + 328 (mach.c:1380)
4   libdispatch.dylib             	0x0000000199bb9760 _dispatch_mach_send_msg + 352 (mach.c:1888)
5   libdispatch.dylib             	0x0000000199bb9fa8 dispatch_mach_send_with_result_and_async_reply_4libxpc + 116 (mach.c:2051)
6   libxpc.dylib                  	0x00000001edcddb9c _xpc_connection_enqueue + 164 (connection.c:962)
7   libxpc.dylib                  	0x00000001edcdea1c xpc_connection_send_message_with_reply + 264 (connection.c:3961)
8   libdns_services.dylib         	0x00000001eddaac20 __dnssd_getaddrinfo_invalidate_block_invoke + 248 (dnssd.c:552)
9   libdispatch.dylib             	0x0000000199b9d13c _dispatch_call_block_and_release + 32 (init.c:1530)
10  libdispatch.dylib             	0x0000000199b9edd4 _dispatch_client_callout + 20 (object.m:576)
11  libdispatch.dylib             	0x0000000199ba6400 _dispatch_lane_serial_drain + 748 (queue.c:3900)
12  libdispatch.dylib             	0x0000000199ba6f30 _dispatch_lane_invoke + 380 (queue.c:3991)
13  libdispatch.dylib             	0x0000000199bb1cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
14  libdispatch.dylib             	0x0000000199bb1528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
15  libsystem_pthread.dylib       	0x00000001edc8cf20 _pthread_wqthread + 288 (pthread.c:2665)
16  libsystem_pthread.dylib       	0x00000001edc8cfc0 start_wqthread + 8 (:-1)

Thread 13:
0   libsystem_pthread.dylib       	0x00000001edc8cfb8 start_wqthread + 0 (:-1)

Thread 14 name:
Thread 14:
0   libsystem_malloc.dylib        	0x00000001a1e77f74 nanov2_calloc + 320 (nanov2_malloc.c:1246)
1   Network                       	0x00000001921e5580 nw_tcp_copy_options + 80 (tcp_options.m:74)
2   Network                       	0x00000001921e43c0 nw_protocol_options_copy + 248 (protocol_implementation.m:7554)
3   Network                       	0x00000001921e4028 nw_protocol_stack_copy + 324 (parameters.m:254)
4   Network                       	0x00000001921e3af8 nw_protocol_transform_copy + 360 (protocol_transform.m:552)
5   Network                       	0x00000001921e3968 __74-[NWConcrete_nw_parameters initWithParameters:stripConnected:shallowCopy:]_block_invoke + 28 (parameters.m:1920)
6   Network                       	0x00000001921dbd80 nw_array_apply + 124 (array.cpp:187)
7   Network                       	0x00000001922024ac -[NWConcrete_nw_parameters initWithParameters:stripConnected:shallowCopy:] + 1088 (parameters.m:1919)
8   Network                       	0x0000000192688854 nw_endpoint_resolver_create_child_parameters(NWConcrete_nw_endpoint_handler*) + 116 (endpoint_resolver.cpp:587)
9   Network                       	0x0000000192687054 nw_endpoint_resolver_update(NWConcrete_nw_endpoint_handler*, NSObject*, nw_resolver_status_t) + 7416 (endpoint_resolver.cpp:995)
10  Network                       	0x000000019221c694 __52-[NWConcrete_nw_endpoint_resolver startWithHandler:]_block_invoke_2 + 80 (endpoint_resolver.cpp:233)
11  Network                       	0x000000019221c604 __nw_resolver_update_client_block_invoke + 88 (resolver.m:1016)
12  libdispatch.dylib             	0x0000000199b9d13c _dispatch_call_block_and_release + 32 (init.c:1530)
13  libdispatch.dylib             	0x0000000199b9edd4 _dispatch_client_callout + 20 (object.m:576)
14  libdispatch.dylib             	0x0000000199ba8410 _dispatch_workloop_invoke + 2152 (queue.c:4570)
15  libdispatch.dylib             	0x0000000199bb1cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
16  libdispatch.dylib             	0x0000000199bb1528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
17  libsystem_pthread.dylib       	0x00000001edc8cf20 _pthread_wqthread + 288 (pthread.c:2665)
18  libsystem_pthread.dylib       	0x00000001edc8cfc0 start_wqthread + 8 (:-1)

Thread 15:
0   libsystem_pthread.dylib       	0x00000001edc8cfb8 start_wqthread + 0 (:-1)

Thread 16 name:
Thread 16:
0   libsystem_kernel.dylib        	0x00000001da205af8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001da205890 mach_msg2_internal + 80 (mach_msg.c:201)
2   libdispatch.dylib             	0x0000000199bbd9f8 _dispatch_mach_msg_send + 920 (mach.c:1182)
3   libdispatch.dylib             	0x0000000199bbd210 _dispatch_mach_send_drain + 328 (mach.c:1380)
4   libdispatch.dylib             	0x0000000199bb9760 _dispatch_mach_send_msg + 352 (mach.c:1888)
5   libdispatch.dylib             	0x0000000199bb9858 dispatch_mach_send_with_result + 52 (mach.c:1924)
6   libxpc.dylib                  	0x00000001edcddbd8 _xpc_connection_enqueue + 224 (connection.c:965)
7   libxpc.dylib                  	0x00000001edcde86c xpc_connection_send_message + 132 (connection.c:3925)
8   Foundation                    	0x0000000190b58834 -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] + 1432 (NSXPCConnection.m:1706)
9   CoreFoundation                	0x0000000191cd40d4 ___forwarding___ + 1016 (NSForwarding.m:3646)
10  CoreFoundation                	0x0000000191e15760 _CF_forwarding_prep_0 + 96 (:-1)
11  CFNetwork                     	0x0000000192ea3a0c __50-[__NSURLBackgroundSession setupBackgroundSession]_block_invoke.57 + 908 (BackgroundSession.mm:502)
12  CoreFoundation                	0x0000000191cd3c84 __invoking___ + 148 (:-1)
13  CoreFoundation                	0x0000000191cd3710 -[NSInvocation invoke] + 428 (NSForwarding.m:3411)
14  Foundation                    	0x0000000190b9e698 __NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__ + 16 (NSXPCConnection.m:170)
15  Foundation                    	0x0000000190b9e218 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 520 (NSXPCConnection.m:316)
16  Foundation                    	0x0000000190b9db80 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5 + 188 (NSXPCConnection.m:1662)
17  Foundation                    	0x0000000190b58b60 -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] + 2244 (NSXPCConnection.m:1679)
18  CoreFoundation                	0x0000000191cd40d4 ___forwarding___ + 1016 (NSForwarding.m:3646)
19  CoreFoundation                	0x0000000191e15760 _CF_forwarding_prep_0 + 96 (:-1)
20  CFNetwork                     	0x0000000192ea2d8c -[__NSURLBackgroundSession setupBackgroundSession] + 900 (BackgroundSession.mm:457)
21  CFNetwork                     	0x0000000192ea4d6c -[__NSURLBackgroundSession ensureRemoteSession] + 300 (BackgroundSession.mm:425)
22  libdispatch.dylib             	0x0000000199b9d13c _dispatch_call_block_and_release + 32 (init.c:1530)
23  libdispatch.dylib             	0x0000000199b9edd4 _dispatch_client_callout + 20 (object.m:576)
24  libdispatch.dylib             	0x0000000199ba6400 _dispatch_lane_serial_drain + 748 (queue.c:3900)
25  libdispatch.dylib             	0x0000000199ba6f64 _dispatch_lane_invoke + 432 (queue.c:3991)
26  libdispatch.dylib             	0x0000000199bb1cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
27  libdispatch.dylib             	0x0000000199bb1528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
28  libsystem_pthread.dylib       	0x00000001edc8cf20 _pthread_wqthread + 288 (pthread.c:2665)
29  libsystem_pthread.dylib       	0x00000001edc8cfc0 start_wqthread + 8 (:-1)

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

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

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

Thread 20 name:
Thread 20:
0   libsystem_kernel.dylib        	0x00000001da20649c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001edc8c590 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2   JavaScriptCore                	0x00000001a92a2cec 0x1a7d0c000 + 22637804
3   libsystem_pthread.dylib       	0x00000001edc8da90 _pthread_start + 136 (pthread.c:927)
4   libsystem_pthread.dylib       	0x00000001edc8cfcc thread_start + 8 (:-1)

Thread 21 name:
Thread 21:
0   libsystem_kernel.dylib        	0x00000001da2064c8 __getattrlist + 8 (:-1)
1   CoreServicesInternal          	0x0000000190b0c77c _InitalizeDirectoryEnumerator(_CFURLEnumerator*) + 228 (FileURLEnumerator.cp:537)
2   CoreServicesInternal          	0x0000000190b09cd8 _URLEnumeratorGetNextURL + 96 (FileURLEnumerator.cp:1568)
3   Foundation                    	0x0000000190c051dc -[NSFileManager contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:] + 212 (NSFileManager.m:2382)
4   AppName                       	0x000000010376f5ec 0x1027ac000 + 16528876
5   AppName                       	0x000000010376f6a8 0x1027ac000 + 16529064
6   AppName                       	0x000000010376fc90 0x1027ac000 + 16530576
7   AppName                       	0x000000010378587c 0x1027ac000 + 16619644
8   AppName                       	0x0000000103788168 0x1027ac000 + 16630120
9   AppName                       	0x00000001037847fc 0x1027ac000 + 16615420
10  libdispatch.dylib             	0x0000000199b9d13c _dispatch_call_block_and_release + 32 (init.c:1530)
11  libdispatch.dylib             	0x0000000199b9edd4 _dispatch_client_callout + 20 (object.m:576)
12  libdispatch.dylib             	0x0000000199ba6400 _dispatch_lane_serial_drain + 748 (queue.c:3900)
13  libdispatch.dylib             	0x0000000199ba6f30 _dispatch_lane_invoke + 380 (queue.c:3991)
14  libdispatch.dylib             	0x0000000199bb1cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
15  libdispatch.dylib             	0x0000000199bb1528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
16  libsystem_pthread.dylib       	0x00000001edc8cf20 _pthread_wqthread + 288 (pthread.c:2665)
17  libsystem_pthread.dylib       	0x00000001edc8cfc0 start_wqthread + 8 (:-1)

Thread 22:
0   libsystem_pthread.dylib       	0x00000001edc8cfb8 start_wqthread + 0 (:-1)

Thread 23:
0   libsystem_pthread.dylib       	0x00000001edc8cfb8 start_wqthread + 0 (:-1)


Thread 10 crashed with ARM Thread State (64-bit):
    x0: 0x0000000303ee0000   x1: 0x000000018b63238f   x2: 0x000000018b63238f   x3: 0x0000000303ee0000
    x4: 0x0000000000000000   x5: 0x000000016dbc5310   x6: 0x000000016dbc52f8   x7: 0x00000000000003f8
    x8: 0x0000b69da4140000   x9: 0x000000000001fe06  x10: 0x0000000000000001  x11: 0x0000000000000001
   x12: 0x000000018baa870f  x13: 0x000000018baa870f  x14: 0x03000001f3252c41  x15: 0x00000001f3257010
   x16: 0x0000b69da4140000  x17: 0x0000001da4140000  x18: 0x0000000000000000  x19: 0x000000016dbc52f8
   x20: 0x00000000000003f8  x21: 0x000000016dbc5310  x22: 0x0000000000000000  x23: 0x0000000303ee0000
   x24: 0x0000000000000001  x25: 0x0000000000000000  x26: 0x000000016dbc5c32  x27: 0x0000000000000000
   x28: 0x0000000303ee0000   fp: 0x000000016dbc51f0   lr: 0x00000001abc1bb54
    sp: 0x000000016dbc5140   pc: 0x0000000189c140b4 cpsr: 0x20001000
   esr: 0xf200c472 (Breakpoint) pointer authentication trap DA


Binary Images:
        0x1027ac000 -         0x104b47fff AppName arm64  <924ed4a4d34132789b11cb2195957caf> /private/var/containers/Bundle/Application/46F0ED99-E056-42F1-9B03-FB0A34FC913D/AppName.app/AppName
        0x105a08000 -         0x105b87fff FullStory arm64   /private/var/containers/Bundle/Application/46F0ED99-E056-42F1-9B03-FB0A34FC913D/AppName.app/Frameworks/FullStory.framework/FullStory
        0x105c14000 -         0x105dbffff Lottie arm64  <517108aafe98322197a5e9ec38c6f8d0> /private/var/containers/Bundle/Application/46F0ED99-E056-42F1-9B03-FB0A34FC913D/AppName.app/Frameworks/Lottie.framework/Lottie
        0x107e24000 -         0x107e2ffff libobjc-trampolines.dylib arm64e   /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib
        0x189bd8000 -         0x189c25cc3 libobjc.A.dylib arm64e   /usr/lib/libobjc.A.dylib
        0x190b04000 -         0x190b38ffb CoreServicesInternal arm64e  <80b4f0588cfd3d67b93b5d9a79229f06> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/CoreServicesInternal
        0x190b39000 -         0x1916c4fff Foundation arm64e  <31d526a2ab5c3b1dbca5b1e082d94712> /System/Library/Frameworks/Foundation.framework/Foundation
        0x191ca2000 -         0x1921cffff CoreFoundation arm64e  <7a70d5d4055038dcab3371b72aff1f5f> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
        0x1921d0000 -         0x192dd9fff Network arm64e   /System/Library/Frameworks/Network.framework/Network
        0x192dda000 -         0x1931b6fff CFNetwork arm64e   /System/Library/Frameworks/CFNetwork.framework/CFNetwork
        0x193f1e000 -         0x195a2efff UIKitCore arm64e  <86b7c8dde91031bdb8fe28962256dee3> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
        0x199b9b000 -         0x199be1fff libdispatch.dylib arm64e  <7835e82906523cb599d82ce521476dc0> /usr/lib/system/libdispatch.dylib
        0x199be2000 -         0x199c5ffff libsystem_c.dylib arm64e  <4f88196b29d5394987a111782867b77e> /usr/lib/system/libsystem_c.dylib
        0x1a1e57000 -         0x1a1e8cfff libsystem_malloc.dylib arm64e   /usr/lib/system/libsystem_malloc.dylib
        0x1a7d0c000 -         0x1a9477f1f JavaScriptCore arm64e  <0eba26ace40b33f09403fbd7ff061967> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
        0x1abc15000 -         0x1abc2ffff libsystem_trace.dylib arm64e  <96edaca8bd74340ea5e4f196588b0902> /usr/lib/system/libsystem_trace.dylib
        0x1b51f1000 -         0x1b527dbe3 dyld arm64e  <960a745231783c9d8ce5fe40fde8dbc8> /usr/lib/dyld
        0x1d5fd0000 -         0x1d5fd8fff GraphicsServices arm64e   /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
        0x1da204000 -         0x1da23dfef libsystem_kernel.dylib arm64e  <7893ce1a4bb93f54b2e81dc8d2c7e1c3> /usr/lib/system/libsystem_kernel.dylib
        0x1edc8b000 -         0x1edc97fff libsystem_pthread.dylib arm64e  <524d87c4ea5d38a09e9a17369b9b8724> /usr/lib/system/libsystem_pthread.dylib
        0x1edccf000 -         0x1edd16fff libxpc.dylib arm64e   /usr/lib/system/libxpc.dylib
        0x1edda8000 -         0x1eddb1ffb libdns_services.dylib arm64e   /usr/lib/libdns_services.dylib

EOF

Thanks Quinn!

Thanks for those up-to-date crash reports.

There are two posters on this thread, JosephDuffy and joseph0427. Earlier you wrote:

I'm seeing this in the crashes too

which suggests you’re not the same person. Which is quite a coincidence. I’m starting to think that CFNetwork might have code like this:

if user.firstName == "Joseph" {
    … corrupt our state …
}

(-:

That’s because AFAICT you folks are the only ones having this problem. Normally when I investigate weird CFNetwork crashes there are a bunch of folks in the same boat, including iOS system components. That’s not the case here, as least AFAICT.

This is what makes me think this is happening not long after the app enters the foreground.

Right. And that gels with the crashing thread’s backtrace. Here’s the backtrace from your first crash report:

Thread 14 name:
Thread 14 Crashed:
0   libobjc.A.dylib         … object_isClass + 16 (objc-class.mm:218)
1   libsystem_trace.dylib   … _os_log_fmt_flatten_object + 424 (format.m:314)
2   libsystem_trace.dylib   … _os_log_impl_flatten_and_send + 1864 (log.c:2672)
3   libsystem_trace.dylib   … _os_log + 168 (log.c:2783)
4   libsystem_trace.dylib   … _os_log_impl + 28 (log.c:2801)
5   CFNetwork               … __46-[__NSURLBackgroundSession 
				setupXPCConnection]_block_invoke_2.23 + 212 (BackgroundSession.mm:0)
6   Foundation              … message_handler_error + 360 (NSXPCConnection.m:855)
7   libxpc.dylib            … _xpc_connection_call_event_handler + 144 (connection.c:830)
8   libxpc.dylib            … _xpc_connection_mach_event + 1156 (connection.c:2453)
9   libdispatch.dylib       … _dispatch_client_callout4 + 20 (object.m:616)
10  libdispatch.dylib       … _dispatch_mach_cancel_invoke + 128 (mach.c:2628)
11  libdispatch.dylib       … _dispatch_mach_invoke + 908 (mach.c:2861)
12  libdispatch.dylib       … _dispatch_lane_serial_drain + 368 (queue.c:3900)
13  libdispatch.dylib       … _dispatch_lane_invoke + 432 (queue.c:3991)
14  libdispatch.dylib       … _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
15  libdispatch.dylib       … _dispatch_workloop_worker_thread + 404 (queue.c:6592)
16  libsystem_pthread.dylib … _pthread_wqthread + 288 (pthread.c:2665)
17  libsystem_pthread.dylib … start_wqthread + 8 (:-1)

Frames 0 and 1 suggest that the app has crashed trying to log an NSObject, using the %@ syntax. Frames 2 through 4 are all system log infrastructure. Frame 5 is CFNetwork doing something related to NSURLSession background sessions. And that leads to frame 6, which contains the source line NSXPCConnection.m:855.

I looked up this code and it’s NSXPCConnection calling the connection’s invalidation handler. So, it seems that frame 5 is the invalidation handler for the connection that the NSURLSession uses to talk to its backing daemon (nsurlsessiond [1]). That handler doesn’t actually do anything useful (more on that below) but it does log the message BackgroundSession <UUID> connection to background transfer daemon invalidated, where UUID is a UUID used to keep track of background sessions. It seems that there’s something borked with this UUID, which is the immediate cause of this crash.

However, this raises an interesting question: Why is this invalidation handler being called at all? In XPC parlance:

  • An interruption occurs when the connection fails but it’s worth retrying, for example, when the remote process crashed.

  • An invalidation occurs when it fails and it’s not worth retrying, for example, when the remote peer’s service has been unloaded.

It’s not clear how you’d get an invalidation for a system service, like the one provided by nsurlsessiond. My best guess is that something extra-ordinary is going on, for example, your app is brought to the foreground just as the system is shutting down and hence these services are going away. However, that’s wild speculation on my part.

I don’t think you’re going to be able to make further progress on this without a sysdiagnose log taken shortly after it occurs.

Share and Enjoy

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

[1] If you’re curious, you can see how this works on macOS:

% plutil -p /System/Library/LaunchAgents/com.apple.nsurlsessiond.plist
{
  "EnablePressuredExit" => 1
  "EnableTransactions" => 1
  "Label" => "com.apple.nsurlsessiond"
  "MachServices" => {
    "com.apple.nsurlsessiond" => 1
    "com.apple.nsurlsessiond-cachedelete" => 1
    "com.apple.nsurlsessiond-launchondemand" => 1
  }
  "POSIXSpawnType" => "Adaptive"
  "Program" => "/usr/libexec/nsurlsessiond"
  "QueueDirectories" => [
    0 => "~/Library/com.apple.nsurlsessiond"
  ]
}

I didn't even notice we're both called Joseph -- we are 2 different people so I can see that could be confusing 😄

The only other interesting thing I've noticed is that we sometimes get a call to URLSessionTaskDelegate.urlSession(_:task:didCompleteWithError:) with a task that has a description we're not expecting. We set the taskDescription to a file URL's absoluteString and then try to create the URL again with URL.init(string:), but that will fail. Unfortunately I don't have an example of what we actually get (e.g. taskDescription could have been corrupted in some way) but it might be a clue to the underlying problem.

We've never seen this during debugging, which is our primary use of the app. If we ever find a way to recreate this I will get a sysdiagnose.

We have been thinking about opening a DTS for this. It sounds like there's not much more that could be looked at so this might not be worth it?

but it might be a clue to the underlying problem.

Yeah, that does sound suspicious. It’d be interesting to see what the description was in that case, so if you can add a log point that includes it that’d be grand.

We have been thinking about opening a DTS for this. It sounds like there's not much more that could be looked at so this might not be worth it?

Agreed.

Share and Enjoy

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

Thank you for your support on this Quinn. I just so happened to run in to the scenario where the taskDescription is nil this morning. Just before it I see the following logged (this looks to be by iOS):

Task <39EBDA50-1653-4B16-B5FC-FBC1CDE9B130>.<462> finished with error [-1000] Error Domain=NSURLErrorDomain Code=-1000 "bad URL" UserInfo={_kCFStreamErrorCodeKey=22, _NSURLErrorFailingURLSessionTaskErrorKey=BackgroundUploadTask <39EBDA50-1653-4B16-B5FC-FBC1CDE9B130>.<462>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "BackgroundUploadTask <39EBDA50-1653-4B16-B5FC-FBC1CDE9B130>.<462>",
    "LocalUploadTask <39EBDA50-1653-4B16-B5FC-FBC1CDE9B130>.<462>"
), NSLocalizedDescription=bad URL, _kCFStreamErrorDomainKey=1, NSErrorFailingURLStringKey=https://my-subdomain.on.company.com/event/pack, NSErrorFailingURLKey=https://my-subdomain.on.company.com/event/pack}

This is the same error passed in to URLSessionTaskDelegate.urlSession(_:task:didCompleteWithError:).

I can't see anything wrong with this URL though. The value of task.currentRequest?.url?.absoluteString is https://my-subdomain.on.company.com/event/pack so URL at least thinks it's valid.

Until I can recreate the actual crash I don't know if this scenario is a red herring or not.

In an attempt to provide as much as I can here I've already attached the output of p task.

(URLSessionTask) 0x0000000117f4cc80 {
  base__NSCFBackgroundDataTask@0 = {
    base__NSCFBackgroundSessionTask@0 = {
      baseNSURLSessionTask@0 = {
        baseNSObject@0 = {
          isa = __NSCFBackgroundUploadTask
        }
        _uploadProgress = 0x0000000000000000
        _downloadProgress = 0x0000000000000000
        _atsStateCache = 0x0000000000000000
        _isInUpload = false
        _undeterminedUploadProgressState = false
        _undeterminedDownloadProgressState = false
        _progressReportingFinished = true
        _seenFirstResume = false
        _shouldSkipPreferredClientCertificateLookup = false
        _cacheOnly = false
        _preventsSystemHTTPProxyAuthentication = false
        _requiresSecureHTTPSProxyConnection = false
        _preventsAppSSO = false
        _appSSOFallback = false
        _appleIDContextRedirect = false
        _proxyHandshakePending = false
        _shouldPipelineHTTP = false
        _shouldUsePipelineHeuristics = false
        _shouldSkipPipelineProbe = false
        _shouldHandleCookies = true
        _preventsIdleSystemSleep = false
        _allowsCellular = true
        _prohibitAuthUI = false
        _strictContentLength = true
        _connectionIsCellular = false
        _connectionIsCompanionLink = false
        _allowsQUIC = false
        _extractorFinishedDecoding = false
        _extractorPreparedForExtraction = false
        _hasSZExtractor = false
        _doesSZExtractorConsumeExtractedData = false
        _authenticatorConfiguredViaTaskProperty = false
        _isTopLevelNavigation = false
        _disallowCellular = false
        _assumesHTTP3Capable = false
        _preconnect = false
        _prefersIncrementalDeliveryAPIStorage = true
        _isKnownTracker = false
        _privacyProxyFailClosed = false
        _privacyProxyFailClosedForUnreachableNonMainHosts = false
        _privacyProxyFailClosedForUnreachableHosts = false
        _callCompletionHandlerInline = false
        _prohibitPrivacyProxy = false
        _useEnhancedPrivacyMode = false
        _blockTrackers = false
        _failInsecureLoadWithHTTPSDNSRecord = false
        _isWebSearchContent = false
        __TLSMinimumSupportedProtocolVersion = 0
        __TLSMaximumSupportedProtocolVersion = 0
        _TLSNegotiatedCipherSuite = 0
        _cookieAcceptPolicy = 2
        _qos = 0
        _powerAssertion = 0
        _darkWakePowerAssertion = 0
        _allowsCellularOverride = 0
        _allowsExpensiveOverride = 0
        _allowsConstrainedOverride = 0
        _networkServiceType = 0
        _priorityAPIStorage = 0.5
        _requiresDNSSECValidation = 0
        _taskIdentifier = 462
        _taskDescription = 0x0000000000000000
        _loggableDescription = 0x0000000117b1bc10 "Task <39EBDA50-1653-4B16-B5FC-FBC1CDE9B130>.<462>"
        _originalRequest = some {
          some = 0x0000000115c30c70 {
            baseNSURLRequest@0 ={...}
          }
        }
        _currentRequest = some {
          some = 0x0000000115c30bc0 {
            baseNSURLRequest@0 ={...}
          }
        }
        _response = 0x0000000000000000
        _countOfBytesClientExpectsToSend = -1
        _countOfBytesClientExpectsToReceive = -1
        _countOfBytesReceived = 0
        __countOfPendingBytesReceivedEncoded = 0
        __countOfBytesReceivedEncoded = 0
        _countOfBytesSent = 0
        _countOfBytesExpectedToSend = 0
        _countOfBytesExpectedToReceive = 0
        _state = 3
        _error = some {
          some = 0x000000012d133db0 {
            baseNSError@0 = domain: "NSURLErrorDomain" - code: 18446744073709550616{...}
          }
        }
        _resumableUploadState = 0x0000000117b849e0
        _startTime = 732621690.88426399
        _priorityValue = 300
        _loadingPriorityValue = 0.5
        _backgroundTransactionMetrics = some {
          some = 0x0000000116c09380 {
            baseNSObject@0 ={...}
            _scheduledOriginLoad = true
            _firstOnConnection = false
            _pushed = false
            _APSRelayAttempted = false
            _APSRelaySucceeded = false
            _pidForHAR = 0
            _lastResponseHeaderSize = 0
            _lastResponseBodySize = 0
            _lastResponseBodyTransferSize = 0
            _UUID = 0x000000011587a700{...}
            _request = some{...}
            _transferredRequest = 0x0000000000000000{...}
            _cachedResponse = 0x0000000000000000{...}
            _lastResponse = 0x0000000000000000{...}
            _connectionMetrics = some{...}
            _requestHeaderSize = 0
            _requestBodySize = 0
            _requestBodyTransferSize = 0
            _responseHeaderSize = 0
            _responseBodySize = 0
            _responseBodyTransferSize = 0
            _beginTime = 732560510.64414096
            _endTime = 732567007.24875605
            _cacheLookupBeginTime = NaN
            _cacheLookupEndTime = NaN
            _requestBeginTime = NaN
            _requestEndTime = NaN
            _responseBeginTime = NaN
            _responseEndTime = NaN
            _endReason = 1024
            _schedulingTier = 1
            _options = 0
            _reusedAfterTime = 0
            _tcpInfoBegin = 0x0000000000000000{...}
            _tcpInfoEnd = 0x0000000000000000{...}
            _subflowCountsBegin = 0x0000000000000000{...}
            _subflowCountsEnd = 0x0000000000000000{...}
            _dataTransferReport = 0x0000000000000000{...}
          }
        }
        _pathToDownloadTaskFile = 0x0000000000000000
        _cfHSTS = 0x0000000000000000
        _cfCache = 0x0000000000000000
        _cfCreds = 0x0000000000000000
        _cfCookies = 0x0000000000000000
        _cachePolicy = 0
        _timeoutInterval = 120
        _timeoutIntervalForResource_ivar = 604800
        _proxySettings = 0x0000000000000000
        _sslSettings = 0x000000012df22bc0
        _voucher = 0x0000000000000000
        _suspensionThreshhold = 2097152
        _allowedProtocolTypes = 0
        _requestPriority = -1
        _uniqueIdentifier = 0x0000000115887be0
        _storagePartitionIdentifier = 0x0000000000000000
        _powerAssertionReleaseTime = 0
        _darkWakePowerAssertionReleaseTime = 0
        _protocolForTask = 0x0000000000000000
        _authenticator = 0x0000000000000000
        _dependencyInfo_ivar = 0x0000000000000000
        _dependencyTree = 0x0000000000000000
        _taskDependency = 0x0000000000000000
        _DuetActivityProperties = 0x0000000000000000
        __TCPConnectionMetadata = 0x0000000000000000
        _trailers = 0x0000000000000000
        _discretionaryOverride = 0
        _extractor = 0x0000000000000000
        _appleIDContext = 0x0000000000000000
        _publishingURL = 0x0000000000000000
        _backgroundPublishingURL = 0x0000000000000000
        _APSRelayTopic = 0x0000000000000000
        _siteForCookies = 0x0000000000000000
        _httpConnectionInfoCompletionBlock = 0x0000000000000000
        _hostOverride = 0x0000000000000000
        __taskGroup = 0x0000000116c26c00
        _effectiveConfiguration = some {
          some = 0x0000000116728f00 {
            baseNSObject@0 ={...}
            _allowsCellularAccess = true
            _allowsExpensiveNetworkAccess = true
            _allowsConstrainedNetworkAccess = true
            _allowsVirtualInterfaces = true
            _waitsForConnectivity = false
            _discretionary = false
            _sessionSendsLaunchEvents = true
            _HTTPShouldUsePipelining = false
            _HTTPShouldSetCookies = true
            _shouldUseExtendedBackgroundIdleMode = false
            _requiresDNSSECValidation = false
            _requiresPowerPluggedIn = false
            _reportsDataStalls = true
            _allowsPowerNapScheduling = false
            _allowsHSTSWithUntrustedRootCertificate = false
            _preventsIdleSleepOnceConnected = false
            _sessionSendsLaunchOnDemandEvents = false
            _shouldSkipPreferredClientCertificateLookup = false
            _allowsRetryForBackgroundDataTasks = false
            _onBehalfOfPairedDevice = false
            _clientIsNotExplicitlyDiscretionary = false
            _respectsAllowsCellularAccessForDiscretionaryTasks = false
            _overridesBackgroundSessionAutoRedirect = false
            _performsEVCertCheck = false
            _infersDiscretionaryFromOriginatingClient = false
            _prefersInfraWiFi = false
            _allowsMultipathTCP = false
            _allowsResponseMonitoringDuringBodyTranmission = false
            _allowsIndefiniteConnections = false
            _allowsTCPFastOpen = false
            _allowsTLSSessionTickets = false
            _allowsTLSSessionResumption = true
            _allowsTLSFalseStart = false
            _allowsTLSFallback = true
            _allowsTLSECH = false
            _preventsDirectWiFiAccess = false
            _allowTCPIOConnectionStreamTask = false
            _preventsSystemHTTPProxyAuthentication = false
            _requiresSecureHTTPSProxyConnection = false
            _preventsAppSSO = false
            _duetPreauthorized = false
            _requiresSustainedDataDelivery = false
            _ignoreDidReceiveResponseDisposition = false
            _alwaysPerformDefaultTrustEvaluation = false
            _enableOAuthBearerTokenChallenges = false
            _backgroundSession = true
            _phskip_credStorageSet = false
            _phskip_urlCacheSet = true
            _phskip_cookieStorageSet = false
            _phskip_hstsStorageSet = false
            _skip_download_unlink = false
            _requiresClientToOpenFiles = false
            _forcesNewConnections = false
            _supportsAVAssetDownloads = false
            _proxySession = false
            _preventsIdleSleep = false
            _usePipeliningHeuristics = false
            _shouldPreserveBackgroundSessionDisposition = false
            _disablesOutOfProcessDirectWiFiUsage = false
            _disablesUseOfProxySession = false
            _phskip_alternativeServicesStorageSet = false
            _usesNWLoader = false
            _disablesNWLoader = false
            _inPrivateBrowsing = false
            _prohibitEncryptedDNS = false
            _disableAPWakeOnIdleConnections = false
            __allowsWCA = false
            __skipsStackTraceCapture = false
            _TLSMinimumSupportedProtocol = 4
            _TLSMaximumSupportedProtocol = 0
            _loggingPrivacyLevel = 2
            _xpcActivityBudgeted = 0
            _allowsHTTP3Internal = 0
            _pidForHAR = 30391
            _enablesL4SInternal = 0
            _neTrackerTCCResult = 0
            _identifier = "CompanyAnalytics-NetworkSession"{...}
            _requestCachePolicy = 0
            _timeoutIntervalForRequest = 120
            _timeoutIntervalForResource = 604800
            _networkServiceType = 0
            _sharedContainerIdentifier = 0x0000000000000000{...}
            _connectionProxyDictionary = 0x0000000000000000{...}
            _HTTPCookieAcceptPolicy = 2
            _HTTPAdditionalHeaders = 0x0000000115693a40 2 key/value pairs{...}
            _protocolClasses = 0x0000000115693000 5 elements{...}
            _multipathServiceType = 0
            _directoryForDownloadedFiles = 0x0000000000000000{...}
            _sourceApplicationBundleIdentifier = 0x0000000000000000{...}
            _sourceApplicationSecondaryIdentifier = 0x0000000000000000{...}
            _sourceApplicationAuditTokenData = 0x0000000000000000{...}
            _attributedBundleIdentifier = 0x0000000000000000{...}
            _TCPAdaptiveReadTimeout = 0
            _TCPAdaptiveWriteTimeout = 0
            _timingDataOptions = 0
            _appleIDContext = 0x0000000000000000{...}
            _atsContext = 0x0000000115e568e0 560 bytes{...}
            _connectionPoolName = 0x0000000000000000{...}
            _CTDataConnectionServiceType = 0x0000000000000000{...}
            _tlsTrustPinningPolicyName = 0x0000000000000000{...}
            _customReadBufferSize = 0
            _customReadBufferTimeout = 0
            _proxyConfigurations = 0x0000000000000000{...}
            _duetPreClearedMode = 0
            _xpcActivity = 0x0000000000000000{...}
            _IDSMessageTimeout = 50
            _maximumWatchCellularTransferSize = 0x0000000000000000{...}
            _multipathAlternatePort = 0
            _disposition = 0x00000001f1837aa0 "BackgroundDisposition"{...}
            _phskip_credStorage = 0x0000000000000000{...}
            _phskip_urlCache = 0x0000000000000000{...}
            _phskip_cookieStorage = 0x0000000000000000{...}
            _phskip_hstsStorage = 0x0000000000000000{...}
            _tcpConnectionPoolName = 0x0000000000000000{...}
            _socketStreamProperties = 0x0000000000000000{...}
            _authenticatorStatusCodes = 0x0000000000000000{...}
            _companionAppBundleIdentifier = 0x0000000000000000{...}
            _watchAppBundleIdentifier = 0x0000000000000000{...}
            _watchExtensionBundleIdentifier = 0x0000000000000000{...}
            _forcedNetworkServiceType = 0
            _overriddenDelegateOptions = 0x0000000000000000{...}
            _suppressedAutoAddedHTTPHeaders = 0x0000000000000000{...}
            _expiredDNSBehavior = 0
            _phskip_alternativeServicesStorage = 0x0000000000000000{...}
            _downloadFileProtectionType = 0x00000001f58c4c68 "NSFileProtectionCompleteUntilFirstUserAuthentication"{...}
            __companionProxyPreference = 0
          }
        }
        earliestBeginDate = 0x0000000000000000
        _progress = 0x0000000000000000
        _metrics = some {
          some = 0x000000011870f810 {
            baseNSObject@0 ={...}
            _ignoreNextRedirection = false
            _pidForHAR = 0
            _UUID = 0x00000001158cf200{...}
            _identifier = 462
            _transactionMetrics = 0x0000000115eec0d0 1 element{...}
            _createTime = 732560503.699579
            _firstResumeTime = 732560509.23144996
            _completeTime = 732567007.24885297
            _options = 0
            _sourceApplicationBundleIdentifier = 0x0000000000000000{...}
            _schedulingTier = 0
            _currentTransactionMetrics = some{...}
          }
        }
        _nw_activity = 0x0000000000000000
        _private_nw_activity = 0x0000000000000000
        _legacySocketStreamProperties = 0x0000000000000000
        _cachedSocketStreamProperties = 0x0000000000000000
        _bytesPerSecondLimitValue = 0
        _expectedProgressTargetValue = 0
        _timeWindowDelay = 0
        _timeWindowDuration = 0
        _boundInterfaceIdentifier = 0x0000000000000000
        _publicDelegateWrapper = 0x000000012dc7e700
        _internalDelegateWrapper = 0x0000000000000000
        _resolvedCNAMEChain = 0x0000000000000000
        _cookieTransformCallback = 0x0000000000000000
        _attribution = 0
        _trackerContext = 0x0000000000000000
        _backtrace = 608 bytes {
          some = 0x000000012df22ca0 608 bytes
        }
        _sourceApplicationBundleIdentifierForMobileAsset = 0x0000000000000000
      }
      _secKeyProxies = 0x0000000000000000
      _sentCancel = false
      _sentDidFinish = true
      _immediateError = 0x0000000000000000
    }
    _requestBodyStream = 0x0000000000000000
    _initialStream = 0x0000000000000000
    _readHandle = 0x0000000000000000
    _pipeIO = 0x0000000000000000
    _numberOfOngoingWrites = 0
    _openedStreamDuringNeedNewBodyStream = false
    _readingRequestBody = false
  }
  _uploadFile = 0x0000000000000000
}

I can't see anything wrong with this URL though.

Right. It sounds like a CFNetwork has got itself tied up in knots there.

If you’re going to continue to work on reproducing this, I recommend that you install the CFNetwork and Network Diagnostics debug profiles on your test devices. That’ll make sure your sysdiagnose log has the most info available for analysis.

Get those profiles from our Bug Reporting > Profiles and Logs.

Share and Enjoy

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

Do you have any news? I have same crash stack, can I do any workaround with this?

Thread 18 name:
Thread 18 Crashed:
0   libobjc.A.dylib               	0x00000001863f8e10 objc_opt_respondsToSelector + 48 (NSObject.mm:2144)
1   libsystem_trace.dylib         	0x00000001a3c8d480 _os_log_fmt_flatten_object_impl + 216 (format.m:315)
2   libsystem_trace.dylib         	0x00000001a3c81bcc _os_log_impl_flatten_and_send + 2060 (log.c:2798)
3   libsystem_trace.dylib         	0x00000001a3c80510 _os_log + 168 (log.c:2909)
4   libsystem_trace.dylib         	0x00000001a3c80460 _os_log_impl + 28 (log.c:2927)
5   CFNetwork                     	0x000000018a700460 __46-[__NSURLBackgroundSession setupXPCConnection]_block_invoke_2.23 + 224 (BackgroundSession.mm:267)
6   Foundation                    	0x0000000187dae2a4 message_handler_error + 360 (NSXPCConnection.m:853)
7   libxpc.dylib                  	0x000000021168bb10 _xpc_connection_call_event_handler + 144 (connection.c:837)
8   libxpc.dylib                  	0x000000021168d6a8 _xpc_connection_mach_event + 1168 (connection.c:2475)
9   libdispatch.dylib             	0x0000000190e0a190 _dispatch_client_callout4 + 20 (object.m:616)
10  libdispatch.dylib             	0x0000000190e29d88 _dispatch_mach_cancel_invoke + 128 (mach.c:2628)
11  libdispatch.dylib             	0x0000000190e27310 _dispatch_mach_invoke + 920 (mach.c:2861)
12  libdispatch.dylib             	0x0000000190e11560 _dispatch_lane_serial_drain + 368 (queue.c:3934)
13  libdispatch.dylib             	0x0000000190e12214 _dispatch_lane_invoke + 432 (queue.c:4025)
14  libdispatch.dylib             	0x0000000190e1d258 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193)
15  libdispatch.dylib             	0x0000000190e1caa4 _dispatch_workloop_worker_thread + 540 (queue.c:6787)
16  libsystem_pthread.dylib       	0x0000000211633c7c _pthread_wqthread + 288 (pthread.c:2696)
17  libsystem_pthread.dylib       	0x0000000211630488 start_wqthread + 8 (:-1)
CFNetwork crash on iOS 16 devices
 
 
Q