Since the release of iOS16.1.0 and iOS16.1.1, I have received reports from iOS16.1.0 and iOS16.1.1 users about the crash problem. Later, I discovered that this problem occurred only iOS16.1.0 and later.
This problem does not occur to all users (approximately one in a thousand)
I have tried several methods (such as using different versions of xcode build App), but still not solved...
And all the people around me who use iPhone can’t reproduce this problem, which also makes testing difficult
Here are the crash logs caught by firebase:
****crash:com.apple.network.connections EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000036 **
Crashed: com.apple.network.connections
0 libxpc.dylib 0x16020 _xpc_dictionary_insert + 96
1 libxpc.dylib 0x17bcc _xpc_dictionary_copy_apply + 76
2 libxpc.dylib 0x1566c _xpc_dictionary_apply_node_f + 156
3 libxpc.dylib 0x148e8 _xpc_dictionary_copy + 88
4 Network 0x27c6c8 -[NWConcrete_nw_protocol_options initWithOptions:] + 184
5 Network 0x321094 __nw_protocol_stack_copy_block_invoke_2 + 64
6 Network 0x7018b4 nw_array_apply + 124
7 Network 0x320c20 nw_protocol_stack_copy + 308
8 Network 0x328164 -[NWConcrete_nw_parameters initWithParameters:stripConnected:shallowCopy:] + 592
9 Network 0x475994 nw_endpoint_resolver_create_child_parameters + 116
10 Network 0x474540 nw_endpoint_resolver_update + 5920
11 Network 0x47dfc0 __52-[NWConcrete_nw_endpoint_resolver startWithHandler:]_block_invoke_2 + 84
12 Network 0x1448e8 __nw_resolver_update_client_block_invoke + 88
13 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release + 32
14 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20
15 libdispatch.dylib 0xd620 _dispatch_workloop_invoke + 2076
16 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread + 652
17 libsystem_pthread.dylib 0xdf8 _pthread_wqthread + 288
18 libsystem_pthread.dylib 0xb98 start_wqthread + 8
com.apple.main-thread
0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388
3 libsystem_kernel.dylib 0x108c mach_msg + 24
4 CoreFoundation 0x7aaf0 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x7bd34 __CFRunLoopRun + 1232
6 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612
7 GraphicsServices 0x1368 GSEventRunModal + 164
8 UIKitCore 0x3a23d0 -[UIApplication _run] + 888
9 UIKitCore 0x3a2034 UIApplicationMain + 340
10 wetalktalk 0x38b394 main + 14 (main.m:14)
11 ??? 0x1d6e34960 (缺少)