Those three crash reports are quite different. In the first one, the crash is coming out of NSURL
:
0 libxpc.dylib … _xpc_serializer_pack.cold.2 + 100
1 libxpc.dylib … _xpc_serializer_pack + 987
2 libxpc.dylib … _xpc_pipe_pack_message + 167
3 libxpc.dylib … _xpc_pipe_simpleroutine + 119
4 libsystem_trace.dylib … ___os_activity_stream_reflect_block_invoke + 39
5 libdispatch.dylib … _dispatch_client_callout + 20
6 libdispatch.dylib … _dispatch_block_invoke_direct + 300
7 libdispatch.dylib … dispatch_block_perform + 112
8 libsystem_trace.dylib … _os_activity_stream_reflect + 575
9 libsystem_trace.dylib … _os_log_impl_stream + 503
10 libsystem_trace.dylib … _os_log_impl_flatten_and_send + 7571
11 libsystem_trace.dylib … _os_log + 151
12 libsystem_trace.dylib … _os_log_impl + 23
13 CoreServicesInternal … pathURLPropertyProviderSetValues(__CFURL const*, __FileCache*, __CFString const* co…
14 CoreServicesInternal … _FSURLSetResourcePropertyForKey + 207
15 CoreFoundation … CFURLSetResourcePropertyForKey + 119
16 CoreFoundation … -[NSURL setResourceValue:forKey:error:] + 103
In the second it’s NSString
:
0 libobjc.A.dylib … objc_opt_respondsToSelector + 52
1 Foundation … _NSDescriptionWithStringProxyFunc + 55
2 CoreFoundation … __CFStringAppendFormatCore + 8559
3 CoreFoundation … _CFStringCreateWithFormatAndArgumentsReturningMetadata + 183
4 CoreFoundation … _CFStringCreateWithFormatAndArgumentsAux2 + 43
5 Foundation … +[NSString stringWithFormat:] + 67
And only the third has anything to do with networking:
0 libxpc.dylib … _xpc_serializer_pack.cold.2 + 100
1 libxpc.dylib … _xpc_serializer_pack + 987
2 libxpc.dylib … _xpc_pipe_pack_message + 167
3 libxpc.dylib … _xpc_pipe_simpleroutine + 119
4 libsystem_trace.dylib … ___os_activity_stream_reflect_block_invoke + 39
5 libdispatch.dylib … _dispatch_client_callout + 20
6 libdispatch.dylib … _dispatch_block_invoke_direct + 300
7 libdispatch.dylib … dispatch_block_perform + 112
8 libsystem_trace.dylib … _os_activity_stream_reflect + 575
9 libsystem_trace.dylib … _os_log_impl_stream + 503
10 libsystem_trace.dylib … _os_log_impl_flatten_and_send + 7571
11 libsystem_trace.dylib … _os_log + 151
12 libsystem_trace.dylib … _os_log_impl + 23
13 Network … nw_connection_add_client_event_internal + 595
14 CFNetwork … 0x19f661bd5 + 3579
This suggests that you have a general problem that’s affecting a wide range of systems. In my experience such problems are usually related to memory management, and I encourage you to stress test your app with the standard memory debugging tools.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"