Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-[NSConcreteTextStorage attribute:atIndex:effectiveRange:]: Range or index out of bounds #66

Open
Toga21 opened this issue Jan 18, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Toga21
Copy link

Toga21 commented Jan 18, 2025

Fatal Exception: NSRangeException
0 CoreFoundation 0x827cc __exceptionPreprocess
1 libobjc.A.dylib 0x172e4 objc_exception_throw
2 UIFoundation 0x17e6c -[NSTextStorage ensureAttributesAreFixedInRange:]
3 NAMISo 0x5f64a4 __79-[MPITextRenderer(MPITextKitExtendedRenderer) selectionRectsForCharacterRange:]_block_invoke_2 + 344 (MPITextRenderer.m:344)
4 UIFoundation 0xb18dc -[NSLayoutManager enumerateEnclosingRectsForGlyphRange:withinSelectedGlyphRange:inTextContainer:usingBlock:]
5 NAMISo 0x5f63c8 __79-[MPITextRenderer(MPITextKitExtendedRenderer) selectionRectsForCharacterRange:]_block_invoke + 351 (MPITextRenderer.m:351)
6 NAMISo 0x5f0868 -[MPITextKitContext performBlockWithLockedTextKitComponents:] + 84 (MPITextKitContext.m:84)
7 NAMISo 0x5f6248 -[MPITextRenderer(MPITextKitExtendedRenderer) selectionRectsForCharacterRange:] + 339 (MPITextRenderer.m:339)
8 NAMISo 0x5e61bc -[MPILabel updateSelectionView] + 593 (MPILabel.m:593)
9 NAMISo 0x5e79dc __31-[MPILabel newAsyncDisplayTask]_block_invoke.51 + 929 (MPILabel.m:929)
10 NAMISo 0x5e9224 -[MPITextAsyncLayer _display] + 182 (MPITextAsyncLayer.m:182)
11 NAMISo 0x5e8df4 -[MPITextAsyncLayer display] + 77 (MPITextAsyncLayer.m:77)
12 QuartzCore 0x788c0 CA::Layer::layout_and_display_if_needed(CA::Transaction*)
13 QuartzCore 0xcf914 CA::Context::commit_transaction(CA::Transaction*, double, double*)
14 QuartzCore 0x4e7c4 CA::Transaction::commit()
15 QuartzCore 0x91a0c CA::Transaction::flush_as_runloop_observer(bool)
16 UIKitCore 0xa3568 _UIApplicationFlushCATransaction
17 UIKitCore 0xa0b64 __setupUpdateSequence_block_invoke_2
18 UIKitCore 0xa09d8 _UIUpdateSequenceRun
19 UIKitCore 0xa0628 schedulerStepScheduledMainSection
20 UIKitCore 0xa159c runloopSourceCallback
21 CoreFoundation 0x56328 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
22 CoreFoundation 0x562bc __CFRunLoopDoSource0
23 CoreFoundation 0x53dc0 __CFRunLoopDoSources0
24 CoreFoundation 0x52fbc __CFRunLoopRun
25 CoreFoundation 0x52830 CFRunLoopRunSpecific
26 GraphicsServices 0x11c4 GSEventRunModal
27 UIKitCore 0x3d2eb0 -[UIApplication _run]
28 UIKitCore 0x4815b4 UIApplicationMain

@wanhmr wanhmr added the bug Something isn't working label Jan 25, 2025
@wanhmr wanhmr self-assigned this Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants