Post

Replies

Boosts

Views

Activity

Reply to iOS 18 beta 5 NSAttributedString Crash
The same crash happened to WKWebview on ios18beta5: NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds 0 CoreFoundation __exceptionPreprocess 1 libobjc.A.dylib objc_exception_throw 2 Foundation blockForLocation 3 WebKit __70-[WKContentView(WKInteraction) setAttributedMarkedText:selectedRange:]_block_invoke 4 WebKit -[WKContentView(WKInteraction) setAttributedMarkedText:selectedRange:] 5 UIKitCore -[UIResponder(UITextInput_Internal) _setAttributedMarkedText:selectedRange:] 6 UIKitCore -[UIKBInputDelegateManager setAttributedMarkedText:selectedRange:] 7 UIKitCore -[_UIKeyboardStateManager _setAttributedMarkedText:selectedRange:inputString:lastInputString:searchString:compareAttributes:] 8 UIKitCore -[_UIKeyboardStateManager setMarkedText:selectedRange:inputString:lastInputString:searchString:candidateOffset:liveConversionSegments:highlighSegmentIndex:] 9 UIKitCore -[_UIKeyboardStateManager assertIntermediateText:] 10 UIKitCore -[_UIKeyboardStateManager updateCandidateDisplayAsyncWithCandidateSet:] 11 UIKitCore -[_UIKeyboardStateManager inputManagerDidGenerateCandidateResultSet:] 12 UIKitCore __87-[_UIKeyboardStateManager generateCandidatesAsynchronouslyWithRange:selectedCandidate:]_block_invoke_3 13 UIKitCore -[UIKeyboardTaskExecutionContext returnExecutionToParentWithInfo:] 14 UIKitCore __87-[_UIKeyboardStateManager generateCandidatesAsynchronouslyWithRange:selectedCandidate:]_block_invoke_2 15 UIKitCore -[UIKeyboardTaskEntry execute:] 16 UIKitCore -[UIKeyboardTaskQueue continueExecutionOnMainThread] 17 UIKitCore -[UIKeyboardTaskQueue continueExecutionOnMainThread] 18 Foundation __NSThreadPerformPerform 19 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 20 CoreFoundation __CFRunLoopDoSource0 21 CoreFoundation __CFRunLoopDoSources0 22 CoreFoundation __CFRunLoopRun 23 CoreFoundation CFRunLoopRunSpecific 24 GraphicsServices GSEventRunModal 25 UIKitCore -[UIApplication _run] 26 UIKitCore UIApplicationMain
Aug ’24
Reply to iOS18 and iOS16.5.0 pushViewController crashed,But it looks like UIFont crashed,Can someone analyze that?
A seemingly certain crash of UIfont on ios18 Exception Subtype: KERN_INVALID_ADDRESS at 0x00005ddde5f28270 Exception Codes: 0x0000000000000001, 0x00005ddde5f28270 VM Region Info: 0x5ddde5f28270 is not in any region. Bytes after previous region: 102726590694001 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL commpage (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL reserved VM address space (unallocated) ---> UNUSED SPACE AT END Termination Reason: SIGNAL 11 Segmentation fault: 11 Terminating Process: exc handler [4297] Triggered by Thread: 0 Thread 0 name: Thread 0 Crashed: 0 libobjc.A.dylib 0x00000001846cb008 objc_msgSend + 8 (:-1) 1 CoreFoundation 0x00000001872f64bc -[__NSDictionaryM objectForKey:] + 168 (NSDictionaryM.m:179) 2 CoreFoundation 0x000000018734c3e8 -[NSDictionary containsKey:] + 56 (NSDictionary.m:80) 3 CoreFoundation 0x000000018734c06c CFDictionaryContainsKey + 52 (CFDictionary.c:265) 4 libGSFont.dylib 0x00000001a5decc14 GSFontIsOverriddenSystemFontName + 32 (GSFont.m:2860) 5 CoreText 0x00000001891bb1fc CopyAttributeForSystemFont(__CFString const*, __CFString const*) + 64 (MetadataSupport.cpp:194) 6 CoreText 0x00000001891badd4 AddVariationInfo(TCFMutableDictionary&, __CFString const*) + 60 (SplicedFontSupport.cpp:6760) 7 CoreText 0x000000018922dea0 MakeSpliceDescriptor(__CFString const*, unsigned long, __CFString const*, __CFString const*, __CFNumber const*, __CFNumber const*, unsigned int, CTFontTextStylePlatform, unsigned int, __CFNumber co... + 4504 (SplicedFontSupport.cpp:7429) 8 CoreText 0x0000000189229374 TDescriptorSource::CopySpliceFontForName(__CFString const*, __CFString const*, __CFNumber const*, __CFNumber const*, CTFontLegibilityWeight, __CFBoolean const*, __CFNumber const*, __CFString const*... + 1376 (TDescriptorSource.cpp:4288) 9 CoreText 0x0000000189226800 TDescriptorSource::CopySplicedDescriptorForName(__CFString const*, __CFString const*, __CFString const*, __CFNumber const*, __CFNumber const*, CTFontLegibilityWeight, __CFBoolean const*, __CFNumber... + 172 (TDescriptorSource.cpp:4322) 10 CoreText 0x0000000189156214 TDescriptor::CreateMatchingDescriptorInternal(__CFSet const*, unsigned long) const + 2332 (TDescriptor.cpp:804) 11 CoreText 0x0000000189155148 TDescriptor::InitBaseFont(unsigned long, double) + 76 (TDescriptor.cpp:952) 12 CoreText 0x0000000189177d24 TDescriptor::CreateMatchingDescriptor(__CFSet const*, double, unsigned long) const + 448 (TDescriptor.cpp:927) 13 CoreText 0x0000000189177af8 CTFontCreateWithFontDescriptor + 68 (CTFont.cpp:142) 14 CoreText 0x00000001891b5dc4 CTFontCreateUIFontForLanguage + 44 (CTFont.cpp:210) 15 UIFoundation 0x0000000192b5635c UINewFont + 828 (UIFont.m:247) 16 UIFoundation 0x0000000192b55330 +[UIFont systemFontOfSize:traits:] + 44 (UIFont.m:1035) 17 UIKitCore 0x0000000189d2a76c -[_UITextAttributeDefaultCategories _genericDefaults:] + 112 (_UITextAttributeDefaults.m:98) 18 UIKitCore 0x0000000189d2a3d4 -[_UITextAttributeDefaultCategories initWithUserInterfaceIdiom:] + 208 (_UITextAttributeDefaults.m:80) 19 UIKitCore 0x0000000189d2a2e0 __48+[_UITextAttributeDefaults _unspecifiedDefaults]_block_invoke + 32 (_UITextAttributeDefaults.m:192) 20 libdispatch.dylib 0x000000018f1f1160 _dispatch_client_callout + 20 (object.m:576) 21 libdispatch.dylib 0x000000018f1f29a8 _dispatch_once_callout + 32 (once.c:52) 22 UIKitCore 0x0000000189b23ae0 +[_UITextAttributeDefaults _unspecifiedDefaults] + 80 (_UITextAttributeDefaults.m:191) 23 UIKitCore 0x0000000189c8aae8 -[_UICascadingTextStorage _setDefaults:] + 56 (_UICascadingTextStorage.m:51) 24 UIKitCore 0x0000000189c8aa98 -[_UICascadingTextStorage initWithDefaults:] + 80 (_UICascadingTextStorage.m:43) 25 UIKitCore 0x0000000189c8a74c -[UITextField _initTextStorage] + 36 (UITextField.m:8777) 26 UIKitCore 0x0000000189c89a94 -[UITextField _initWithFrame:textLayoutManagerEnabled:] + 312 (UITextField.m:666) 27 XxxxxxXXX 0x000000010560c20c __25-[IQKeyboardManager init]_block_invoke_2 + 28 (IQKeyboardManager.m:247) 28 libdispatch.dylib 0x000000018f1ef400 _dispatch_call_block_and_release + 32 (init.c:1549) 29 libdispatch.dylib 0x000000018f1f1160 _dispatch_client_callout + 20 (object.m:576) 30 libdispatch.dylib 0x000000018f1ffa70 _dispatch_main_queue_drain + 980 (queue.c:8085) 31 libdispatch.dylib 0x000000018f1ff68c _dispatch_main_queue_callback_4CF + 44 (queue.c:8245) 32 CoreFoundation 0x0000000187349168 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1775) 33 CoreFoundation 0x0000000187346388 __CFRunLoopRun + 2012 (CFRunLoop.c:3144) 34 CoreFoundation 0x0000000187345714 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3415) 35 GraphicsServices 0x00000001d2e411c4 GSEventRunModal + 164 (GSEvent.c:2196) 36 UIKitCore 0x0000000189eb9564 -[UIApplication _run] + 888 (UIApplication.m:3809) 37 UIKitCore 0x0000000189f67530 UIApplicationMain + 340 (UIApplication.m:5409) 38 XxxxxxXXX 0x00000001055b7ea8 main + 84 (main.m:67) 39 dyld 0x00000001aceefcd0 start + 2760 (dyldMain.cpp:1335)
Jul ’24
Reply to after 16.1, network crash, Now it is 16.4 and has not been solved
We have also experienced an increasing number of network crashes since iOS 16.1. Even with the current 16.4 system update, the issue has not been resolved. Despite providing multiple feedback to Apple, we have not received any effective solutions. 已崩溃:com.apple.network.connections EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000036 0 libxpc.dylib _xpc_dictionary_insert + 96 1 libxpc.dylib _xpc_dictionary_copy_apply + 76 2 libxpc.dylib _xpc_dictionary_apply_node_f + 156 3 libxpc.dylib _xpc_dictionary_copy + 88 4 Network -[NWConcrete_nw_protocol_options initWithOptions:] + 184 5 Network __nw_protocol_stack_copy_block_invoke_2 + 64 6 Network nw_array_apply + 124 7 Network nw_protocol_stack_copy + 308 8 Network -[NWConcrete_nw_parameters initWithParameters:stripConnected:shallowCopy:] + 592 9 Network nw_endpoint_resolver_create_child_parameters + 116 10 Network nw_endpoint_resolver_update + 5920 11 Network __52-[NWConcrete_nw_endpoint_resolver startWithHandler:]_block_invoke_2 + 84 12 Network __nw_resolver_update_client_block_invoke + 88 13 libdispatch.dylib _dispatch_call_block_and_release + 32 14 libdispatch.dylib _dispatch_client_callout + 20 15 libdispatch.dylib _dispatch_workloop_invoke + 2076 16 libdispatch.dylib _dispatch_workloop_worker_thread + 652 17 libsystem_pthread.dylib _pthread_wqthread + 288 18 libsystem_pthread.dylib start_wqthread + 8 Here is apple crash report.Please see attachment: 2023-04-11_07-59-49.8387_+0800-a10859dd9cc0ec388561609c6f952ff62fb56663.crash
Apr ’23
Reply to After iOS16.1, a large number of network flashbacks occurred. but On March 20th, the quantity suddenly decreased,I haven't found the reason yet
Me too,After iOS16.1, a large number of network flashbacks occurred.This crash still occurring for version iOS16.4.1 without a solution until now : Thread 5 Crashed: 0 libxpc.dylib 0x0000000214652bfc _xpc_dictionary_insert + 96 (dictionary.c:64) 1 libxpc.dylib 0x0000000214652be8 _xpc_dictionary_insert + 76 (dictionary.c:614) 2 libxpc.dylib 0x0000000214654654 _xpc_dictionary_deserialize_apply + 68 (dictionary.c:1227) 3 libxpc.dylib 0x00000002146545d0 _xpc_dictionary_apply_wire_f + 136 (dictionary.c:534) 4 libxpc.dylib 0x0000000214651b08 _xpc_dictionary_deserialize + 108 (dictionary.c:1246) 5 libxpc.dylib 0x0000000214645b14 _xpc_array_deserialize + 204 (object_internal.h:615) 6 libxpc.dylib 0x00000002146546fc _xpc_dictionary_unpack_value + 120 (object_internal.h:615) 7 libxpc.dylib 0x0000000214654900 _xpc_dictionary_unpack_value_and_vend + 28 (dictionary.c:472) 8 libxpc.dylib 0x0000000214653224 _xpc_dictionary_look_up + 156 (dictionary.c:744) 9 libxpc.dylib 0x0000000214653df4 xpc_dictionary_get_array + 20 (dictionary.c:2220) 10 libdns_services.dylib 0x00000002146efe44 ___dnssd_client_connection_block_invoke_2 + 320 (dnssd_xpc.c:127) 11 libxpc.dylib 0x000000021464e79c _xpc_connection_call_event_handler + 152 (connection.c:834) 12 libxpc.dylib 0x000000021464ebcc _xpc_connection_mach_event + 992 (connection.c:1445) 13 libdispatch.dylib 0x00000001cdb8509c _dispatch_client_callout4 + 20 (object.m:600) 14 libdispatch.dylib 0x00000001cdba1830 _dispatch_mach_msg_invoke + 468 (mach.c:2462) 15 libdispatch.dylib 0x00000001cdb8c56c _dispatch_lane_serial_drain + 376 (inline_internal.h:0) 16 libdispatch.dylib 0x00000001cdba254c _dispatch_mach_invoke + 448 (mach.c:2784) 17 libdispatch.dylib 0x00000001cdb8c56c _dispatch_lane_serial_drain + 376 (inline_internal.h:0) 18 libdispatch.dylib 0x00000001cdb8d1e0 _dispatch_lane_invoke + 384 (queue.c:3940) 19 libdispatch.dylib 0x00000001cdb97e10 _dispatch_workloop_worker_thread + 652 (queue.c:6846) 20 libsystem_pthread.dylib 0x00000002145f9df8 _pthread_wqthread + 288 (pthread.c:2618) 21 libsystem_pthread.dylib 0x00000002145f9b98 start_wqthread + 8 (:-1) apple crash report please see attachment: 2023-04-09_10-42-16.7950_+0800-___dnssd_client_connection_block_invoke_2.crash 2023-03-07_18-46-42.5259_+0800-___dnssd_client_connection_block_invoke_2.crash 2023-02-25_14-28-34.3423_+0800-___dnssd_client_connection_block_invoke_2.crash
Apr ’23