Our app experience the strange crash,causing the app to not launch.This crash suddenly began to happen on October 25. At present, all the Hardware Model of mobile phones that occurred were on iPhone17,1 and the iOS system version was iOS18.0.1. This crash was all from users on the appstore, and was collected via Xcode - Organizer - > Crashes. I've attached the crash report.Thanks
Distributor ID: com.apple.AppStore
Hardware Model: iPhone17,1
Process: XxxxxxXXX [31230]
Path: /private/var/containers/Bundle/Application/6E9E07EA-B7A4-4D57-B419-743DDCF7C3A6/XxxxxxXXX.app/XxxxxxXXX
Identifier: com.XxxxxxXXX.XxxxxxXXX
Version: 8.1.10 (811001)
AppStoreTools: 16A242d
AppVariant: 1:iPhone17,1:18
Code Type: ARM-64 (Native)
Role: unknown
Parent Process: launchd [1]
Coalition: com.XxxxxxXXX.XxxxxxXXX [8069]
Date/Time: 2024-10-31 03:30:38.7437 +0800
Launch Time: 2024-10-31 03:30:38.7415 +0800
OS Version: iPhone OS 18.0.1 (22A3370)
Release Type: User
Baseband Version: 1.00.00
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: GUARD 5
Triggered by Thread: 0
Thread 0 Crashed:
0 dyld 0x00000001b2da32b0 lsl::PreallocatedAllocatorLayout<278528ull>::init(char const**, char const**, void*) + 436 (Allocator.h:537)
1 dyld 0x00000001b2d9ca38 start + 1960 (dyldMain.cpp:1289)
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x2010003030100000 x1: 0x0000000fffffc0d0 x2: 0x0000000000000002 x3: 0x00000001b2d717ab
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x2010003030100000 x9: 0x2010003030100000 x10: 0x000000016d1dbdfb x11: 0x00000001b2dddf30
x12: 0x0000000000000050 x13: 0x0000000000000044 x14: 0x0000000000052010 x15: 0x0000000000000000
x16: 0x0000000000000000 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x000000018a7e0000
x20: 0x000000016d1dbb30 x21: 0x000000016d1dbad0 x22: 0x00000001f0794050 x23: 0x000000016d1db7b8
x24: 0x0000000fffffc10c x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x000000016d1db850 lr: 0x00380001b2da3130
sp: 0x000000016d1db7b0 pc: 0x00000001b2da32b0 cpsr: 0x60000000
esr: 0x92000047 (Data Abort) byte write Translation fault
Binary Images:
0x102c24000 - 0x1056d3fff main_executable_path_missing arm64 <086a82c13b863f4485895baddc3144ba> /main_executable_path_missing
0x1b2d69000 - 0x1b2dec693 dyld arm64e <5db839882ee63756bd07b8d67b1133a5> /usr/lib/dyld
EOF
2024-10-26_17-41-58.4222_+0800-841f6bdf4b2d436606ce55595ffc94d64e9af744.crash
2024-10-26_19-44-40.1115_+0800-7d4d654c76a10108b431acc612d6063b1edb1c3e.crash
2024-10-27_17-12-02.4926_+0800-6a4b6ec4cff928cf746162b9371a3176c3667c21.crash
2024-10-28_21-42-02.6780_+0800-c66c71c13414e7ff14ba783c883730c1361523b5.crash
2024-10-29_05-47-00.3943_+0800-ac7c1f5b6caf9aa97d71744a8f980c32d47eab80.crash
2024-10-31_03-30-38.7437_+0800-e1c54dc8879f97932cbb1520a04210bea6d7aaf4.crash
2024-11-03_07-57-18.8892_+0800-c7704569afc79ce50ac10b66e185de87425b1969.crash
2024-11-03_08-27-19.0514_+0800-c069e2f8dfa6767b8e301513aff3c3a7ea331e2c.crash
Post
Replies
Boosts
Views
Activity
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x0000000205fc4a04
Exception Codes: 0x0000000000000002, 0x0000000205fc4a04
VM Region Info: 0x205fc4a04 is in 0x205fb2cd0-0x205ff9d60; bytes after start: 73012 bytes before end: 217947
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
__DATA_CONST 205fad9c0-205fb2cd0 [ 21K] r--/rw- SM=COW .../DMCUtilities
---> unused __TEXT 205fb2cd0-205ff9d60 [ 284K] r--/rw- SM=COW ...ed lib __TEXT
__DATA_CONST 205ff9d60-2060070a0 [ 53K] r--/rw- SM=COW ...lCoordination
Termination Reason: SIGNAL 10 Bus error: 10
Terminating Process: exc handler [1039]
Triggered by Thread: 0
Thread 0 Crashed:
0 ??? 0x0000000205fc4a04 0x0 + 8690354692
1 libsystem_pthread.dylib 0x000000021608c2fc __pthread_once_handler + 76 (pthread.c:1924)
2 libsystem_platform.dylib 0x0000000215ff2940 _os_once_callout + 32 (lock.c:1180)
3 libsystem_pthread.dylib 0x0000000216088f68 pthread_once + 100 (pthread.c:1934)
4 libFontParser.dylib 0x00000001ddd59648 TFont::CreateFontEntitiesForFile(char const*, timespec, bool, short, char const*) + 96 (Font.cpp:814)
5 libFontParser.dylib 0x00000001ddce0908 FPFontCreateFontsWithPath + 252 (FontParser.cpp:2601)
6 CoreGraphics 0x00000001b7df77f8 create_private_data_array_with_path + 20 (xt-vtable.c:109)
7 CoreGraphics 0x00000001b7dd0f30 CGFontCreateFontsWithPath + 40 (CGFontCreate.c:501)
8 CoreGraphics 0x00000001b7da76c0 CGFontCreateFontsWithURL + 672 (CGFontURL.c:315)
9 libGSFont.dylib 0x00000001d001e0b8 AddFontsFromURLOrPath + 240 (GSFont.m:996)
10 libGSFont.dylib 0x00000001d0018d1c __Initialize_block_invoke + 1404 (GSFont.m:1478)
11 libdispatch.dylib 0x00000001bd7a2eac _dispatch_client_callout + 20 (object.m:560)
12 libdispatch.dylib 0x00000001bd7a46ec _dispatch_once_callout + 32 (once.c:52)
13 libGSFont.dylib 0x00000001d0019080 Initialize + 212 (GSFont.m:1352)
14 libdispatch.dylib 0x00000001bd7a2eac _dispatch_client_callout + 20 (object.m:560)
15 libdispatch.dylib 0x00000001bd7a46ec _dispatch_once_callout + 32 (once.c:52)
16 libdispatch.dylib 0x00000001bd7a2eac _dispatch_client_callout + 20 (object.m:560)
17 libdispatch.dylib 0x00000001bd7a46ec _dispatch_once_callout + 32 (once.c:52)
18 CoreText 0x00000001b7b803c4 TDescriptorSource::TDescriptorSource() + 196 (TDescriptorSource.cpp:150)
19 CoreText 0x00000001b7b8e524 CTFontDescriptorCreateForUIType + 48 (CTFontDescriptor.cpp:571)
20 CoreText 0x00000001b7b8e240 CTFontCreateUIFontForLanguage + 20 (CTFont.cpp:181)
21 UIFoundation 0x00000001c06bdbc0 UINewFont + 840 (UIFont.m:247)
22 UIFoundation 0x00000001c06bd474 +[UIFont systemFontOfSize:traits:] + 44 (UIFont.m:1020)
23 UIKitCore 0x00000001b863265c -[_UITextAttributeDefaultCategories _genericDefaults:] + 96 (_UITextAttributeDefaults.m:98)
24 UIKitCore 0x00000001b8632534 -[_UITextAttributeDefaultCategories initWithUserInterfaceIdiom:] + 208 (_UITextAttributeDefaults.m:80)
25 UIKitCore 0x00000001b8632440 __48+[_UITextAttributeDefaults _unspecifiedDefaults]_block_invoke + 32 (_UITextAttributeDefaults.m:192)
26 libdispatch.dylib 0x00000001bd7a2eac _dispatch_client_callout + 20 (object.m:560)
27 libdispatch.dylib 0x00000001bd7a46ec _dispatch_once_callout + 32 (once.c:52)
28 UIKitCore 0x00000001b83b2044 +[_UITextAttributeDefaults _unspecifiedDefaults] + 80 (_UITextAttributeDefaults.m:191)
29 UIKitCore 0x00000001b83b1f3c +[UILabel defaultFont] + 88 (UILabel.m:660)
30 UIKitCore 0x00000001b849a020 __22-[UILabel _commonInit]_block_invoke_2 + 44 (UILabel.m:1349)
31 UIKitCore 0x00000001b83d45b0 +[UIView _performSystemAppearanceModifications:] + 72 (UIView.m:3759)
32 UIKitCore 0x00000001b83d4060 -[UILabel _commonInit] + 352 (UILabel.m:1359)
33 UIKitCore 0x00000001b83d3e18 -[UILabel initWithFrame:] + 56 (UILabel.m:1433)
34 UIKitCore 0x00000001b8521570 _UINavigationBarLargeTitleViewNewLabel + 28 (_UINavigationBarLargeTitleViewLayout.m:29)
35 UIKitCore 0x00000001b85bc7ec -[_UINavigationBarLargeTitleViewLayout initWithContentView:] + 76 (_UINavigationBarLargeTitleViewLayout.m:55)
36 UIKitCore 0x00000001b84869a0 -[_UINavigationBarLargeTitleView initWithFrame:] + 64 (_UINavigationBarLargeTitleView.m:61)
37 UIKitCore 0x00000001b8485fc4 -[_UINavigationBarVisualProviderModernIOS prepare] + 604 (_UINavigationBarVisualProviderModernIOS.m:246)
38 UIKitCore 0x00000001b8485ccc -[UINavigationBar _commonNavBarInit] + 188 (UINavigationBar.m:1444)
39 UIKitCore 0x00000001b84859a8 -[UINavigationBar initWithFrame:] + 160 (UINavigationBar.m:1495)
40 UIKitCore 0x00000001b835ab70 -[UINavigationController _navigationBarHiddenByDefault:] + 80 (UINavigationController.m:2513)
41 UIKitCore 0x00000001b835d014 -[UINavigationController loadView] + 168 (UINavigationController.m:4252)
42 UIKitCore 0x00000001b835c6a8 -[UIViewController loadViewIfRequired] + 100 (UIViewController.m:4235)
43 UIKitCore 0x00000001b835c624 -[UIViewController view] + 24 (UIViewController.m:4299)
44 UIKitCore 0x00000001b84f3524 -[UINavigationController pushViewController:transition:forceImmediate:] + 404 (UINavigationController.m:8388)
45 UIKitCore 0x00000001b84f335c -[UINavigationController pushViewController:animated:] + 628
46 DUMovie 0x0000000104e19058 -[DUNavigationController pushViewController:animated:] + 1212 (DUNavigationController:324)
47 UIKitCore 0x00000001b84e41a0 -[UINavigationController initWithRootViewController:] + 152 (UINavigationController.m:609)
(UINavigationController.m:8304)
Since we used the UIPageViewController control, no matter which system the model of the phone, every version always happens the same crash。
We use UIPageViewController control style is "UIPageViewControllerTransitionStyleScroll" , flip back and forth through "setViewControllers:" to set.We suspect that the crash is caused by a problem with the UIPageViewController control itself.Has anyone encountered it, and how should you avoid it
The crash log is as follows:
Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x9cb4 __exceptionPreprocess
1 libobjc.A.dylib 0x183d0 objc_exception_throw
2 Foundation 0x4e156c _userInfoForFileAndLine
3 UIKitCore 0x7951c4 -[UIPageViewController queuingScrollView:didEndManualScroll:toRevealView:direction:animated:didFinish:didComplete:]
4 UIKitCore 0x79f1d8 -[_UIQueuingScrollView _notifyDelegateDidEndManualScroll:toRevealView:direction:animated:didFinish:didComplete:]
5 UIKitCore 0x7a0b3c -[_UITransitionState cleanupWithFinishedState:completedState:]
6 UIKitCore 0x79e2e0 -[_UIQueuingScrollView _cleanUpCompletionState:didFinish:didComplete:]
7 UIKitCore 0x7a0718 -[_UIQueuingScrollView _didEndScroll:]
8 UIKitCore 0x7a08b8 -[_UIQueuingScrollView _didEndManualScroll]
9 UIKitCore 0x79ce40 -[_UIQueuingScrollView _scrollViewDidEndDecelerating]
10 UIKitCore 0x290f44 -[UIScrollView _scrollViewDidEndDeceleratingForDelegate]
11 UIKitCore 0x290ea4 -[UIScrollView _stopScrollDecelerationNotify:]
12 UIKitCore 0xbb238 -[UIScrollView _smoothScrollSyncWithUpdateTime:]
13 UIKitCore 0xba960 -[UIScrollView _smoothScrollWithUpdateTime:]
14 UIKitCore 0x387c90 -[UIScrollView _smoothScrollDisplayLink:]
15 QuartzCore 0x2946c CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long)
16 QuartzCore 0x146f28 CA::Display::DisplayLink::dispatch_deferred_display_links(unsigned int)
17 UIKitCore 0x64e4b0 _UIUpdateSequenceRun
18 UIKitCore 0xcb2c8c schedulerStepScheduledMainSection
19 UIKitCore 0xcb21e8 runloopSourceCallback
20 CoreFoundation 0xd3128 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
21 CoreFoundation 0xdf7b4 __CFRunLoopDoSource0
22 CoreFoundation 0x645e8 __CFRunLoopDoSources0
23 CoreFoundation 0x7a0d4 __CFRunLoopRun
24 CoreFoundation 0x7f3ec CFRunLoopRunSpecific
25 GraphicsServices 0x135c GSEventRunModal
26 UIKitCore 0x39d6e8 -[UIApplication _run]
27 UIKitCore 0x39d34c UIApplicationMain
28 ZongHeng 0x3d6fe0 main + 20 (main.m:20)
29 ??? 0x1cfc06dec (缺少)
apple crash log is:
2023-06-11_08-57-36.0180_+0800-5913f345621ee9343b650052710f4d0ecdabadc6.crash
2023-06-10_03-38-38.1645_+0800-e6b405cf6b7044d62e0c25ea5a86865b1c515206.crash
2023-06-09_19-57-04.0177_+0800-5a23d96f5b2749c82056a938177521fc91ce7e36.crash
2023-06-04_09-12-40.8371_+0800-cdb129f42a53197ab519e061063102834a17d430.crash
2023-06-03_16-14-29.8388_+0800-45901a35aa78ec311ffd21551599433eb848c815.crash
2023-02-18_23-55-21.2704_+0800-39473cb20287d9708946d0886e54b6de2b64bc05.crash
2023-02-04_09-55-54.1312_+0800-a0b645c34d2186354c91f18f8c1e4463b419ee17.crash
2022-12-13_05-32-52.7418_+0800-a9ba3c3e72257c6f3a2cf7811509b6e8daa836bc.crash
2022-12-09_03-40-26.5813_+0800-90bd72a94d87e907c8cc3d1096da45ed79cbfe46.crash
Hi, i have a crash received in my APP. I couldn't figure out the root cause of the issue. Could anyone please help me with it.
This crash mainly on iOS 16 and later with the Apple network thread.This crash also occurs in system 16.2.0 too.We've had a lot of these Network framework crashes in our app since ios16 came out and more and more.Please help ,as users upgrade iOS16 more and more, these network crashes are increasing. These crashs had been bothering us for 2 months now, These crash logs are generated by users and we cannot reproduce them ourselves.
已崩溃:com.apple.network.connections
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x000000000000001e
Crashed: com.apple.network.connections
0 libxpc.dylib 0x14f80 _xpc_dictionary_dispose + 40
1 libxpc.dylib 0x2a588 -[OS_xpc_object dealloc] + 28
2 Network 0x72a4fc -[NWConcrete_nw_resolver_config .cxx_destruct] + 92
3 libobjc.A.dylib 0x14a4 object_cxxDestructFromClass(objc_object*, objc_class*) + 116
4 libobjc.A.dylib 0x6298 objc_destructInstance + 80
5 libobjc.A.dylib 0xf994 _objc_rootDealloc + 80
6 Network 0x72d1c0 -[NWConcrete_nw_resolver_config dealloc] + 44
7 Network 0x6ff554 nw_array_dispose + 548
8 Network 0x38bdac -[OS_nw_array dealloc] + 28
9 Network 0x8fc9e8 -[NWConcrete_nw_path .cxx_destruct] + 104
10 libobjc.A.dylib 0x14a4 object_cxxDestructFromClass(objc_object*, objc_class*) + 116
11 libobjc.A.dylib 0x6298 objc_destructInstance + 80
12 libobjc.A.dylib 0xf994 _objc_rootDealloc + 80
13 Network 0x902e14 -[NWConcrete_nw_path dealloc] + 100
14 Network 0xa38900 nw_endpoint_flow_setup_channel + 8732
15 Network 0xa5950c -[NWConcrete_nw_endpoint_flow startWithHandler:] + 3452
16 Network 0x491cd4 nw_endpoint_handler_path_change + 13988
17 Network 0x4996e0 nw_endpoint_handler_start + 1032
18 Network 0x476cd8 nw_endpoint_resolver_start_next_child + 3860
19 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release + 32
20 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20
21 libdispatch.dylib 0xd620 _dispatch_workloop_invoke + 2076
22 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread + 652
23 libsystem_pthread.dylib 0xdf8 _pthread_wqthread + 288
24 libsystem_pthread.dylib 0xb98 start_wqthread + 8
here is many apple crash report:
2023-01-05_20-44-47.3426_+0800-9d28da81393821f6ccfdfbfe0487773ac24dfd65.crash
2023-01-06_12-25-31.1162_+0800-293e936108bdf2795d017b382f08637c93700f35.crash
2023-01-02_11-33-35.0313_+0800-c251142365b668a8bf8dc801607e07a23361dc3f.crash
Hi
Getting a crash mainly on iOS 16 and later with the Apple network thread. From our logs seems like in many locations in the app. Anyone any advice on how to debug it.
This crash hasn't happened before ios16 in our app
This problem does not occur to all users.
I have tried several methods (such as using different versions of xcode build App), but still not solved...
Apple crash log below:
Crashed: com.apple.root.default-qos.overcommit
0 libxpc.dylib 0x16020 _xpc_dictionary_insert + 96
1 Network 0x908504 nw_path_snapshot_agents + 292
2 Network 0x907960 nw_path_snapshot_path + 192
3 Network 0x90711c nw_path_evaluator_evaluate + 3428
4 Network 0x905c48 nw_path_create_evaluator_for_endpoint + 104
5 Network 0x74af64 nw_nat64_v4_address_requires_synthesis + 252
6 libsystem_info.dylib 0x48e8 si_addrinfo + 2348
7 libsystem_info.dylib 0x140d4 __si_async_call_block_invoke + 100
8 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release + 32
9 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20
10 libdispatch.dylib 0x15b8c _dispatch_root_queue_drain + 684
11 libdispatch.dylib 0x16284 _dispatch_worker_thread2 + 164
12 libsystem_pthread.dylib 0xdbc _pthread_wqthread + 228
13 libsystem_pthread.dylib 0xb98 start_wqthread + 8
here is many apple crash report:
2022-12-18_02-37-55.1730_+0800-7819152057f60bec8901556d0f75cd86773eece0.crash
2022-12-13_23-49-09.6943_+0800-407a2e4a50d5c4804f53970d76a6981770786410.crash
2022-11-18_13-15-05.2272_+0800-cf8531dba3ba6e730ed35a0b6013c1c9abf93fc5.crash
2022-11-13_11-55-42.1882_+0800-57cbe9c0a4f5cc69405d99c48501d060e01fd7b9.crash
2022-11-11_10-53-02.3919_+0800-fe15eae00592c20056b98b7af30ec013604721bc.crash
2022-11-10_09-55-01.1945_+0800-b64b0c7bffb03c7339d27c61607c88c183a5210d.crash
2022-11-09_11-59-36.0001_+0800-2f912719af45a37d76c16c454e41794982d1e068.crash
2022-11-08_23-32-31.4297_+0800-277640b26df7ad92ce5210cafee80281f7f2fee0.crash
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 (缺少)
crash_stacktrace_log
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 not 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 (缺少)