A crash when Use UITextfield to display special characters "美҈̛̍̐̃͒̑́̌̆̾̒̿̒̚̚҈҉̵̶̸̷̷҇̒́̎͐͊̎̑̆́̓̽͂̊͋̑͛͑̈́̉̄̿́̏̽̎̓̋̓́̀̿͒͗͐̇҇͌̏͛͐̈́̑̀̏̏̋̏͑̊͋̈́̉̃̀̉͌̾̍͐͊̃́̉̍̈̎̒̊̉̚̕̚͠͝͠ 】". the system is iOS 16.3.1 and iOS 17.5.1
0
CoreFoundation
___exceptionPreprocess + 164
1
libobjc.A.dylib
_objc_exception_throw + 60
2
Foundation
_blockForLocation
3
UIFoundation
-[NSTextLineFragment _defaultRenderingAttributesAtCharacterIndex:effectiveRange:] + 104
4
UIFoundation
___53-[NSTextLineFragment initWithAttributedString:range:]_block_invoke + 72
5
CoreText
TLine::DrawGlyphsWithAttributeOverrides(CGContext*, __CFDictionary const* ( block_pointer)(long, CFRange*), void ( block_pointer)(CTLineDecorationType, void const*, bool, double, double, double, int, CGPoint, CFRange)) const + 424
6
UIFoundation
__NSCoreTypesetterRenderLine + 368
7
UIFoundation
-[NSTextLineFragment drawAtPoint:graphicsContext:] + 164
8
UIFoundation
-[NSTextLineFragment drawAtPoint:inContext:] + 88
9
UIFoundation
-[NSTextLayoutFragment drawAtPoint:inContext:] + 244
10
UIKitCore
__UITextCanvasDrawWithFadedEdgesInContext + 256
11
UIKitCore
-[_UITextLayoutFragmentView drawRect:] + 228
12
UIKitCore
-[UIView(CALayerDelegate) drawLayer:inContext:] + 508
13
QuartzCore
CABackingStoreUpdate + 252
14
QuartzCore
___ZN2CA5Layer8display_Ev_block_invoke + 64
15
QuartzCore
-[CALayer _display] + 1636
16
QuartzCore
CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 416
17
QuartzCore
CA::Context::commit_transaction(CA::Transaction*, double, double*) + 464
18
QuartzCore
CA::Transaction::commit() + 648
19
QuartzCore
CA::Transaction::flush_as_runloop_observer(bool) + 88
20
UIKitCore
__UIApplicationFlushCATransaction + 52
21
UIKitCore
__UIUpdateSequenceRun + 84
22
UIKitCore
_schedulerStepScheduledMainSection + 172
23
UIKitCore
_runloopSourceCallback + 92
24
CoreFoundation
_CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28
25
CoreFoundation
___CFRunLoopDoSource0 + 176
26
CoreFoundation
___CFRunLoopDoSources0 + 244
27
CoreFoundation
___CFRunLoopRun + 828
28
CoreFoundation
_CFRunLoopRunSpecific + 608
29
GraphicsServices
_GSEventRunModal + 164
30
UIKitCore
-[UIApplication _run] + 888
31
UIKitCore
_UIApplicationMain + 340
32
UIKitCore
_keypath_get_selector_hoverStyle + 11024
Topic:
UI Frameworks
SubTopic:
UIKit