Hi there -When typing inside of a UITextView (editing is allowed, using NSAttritbuedString), occasionally my application will crash. The following crash thread is below.What I gather is that the Application is losing a ram allocation, but I can't tell if it is to my actual textView or if it loses an allocation of the TextStorage string, or something else entirely. I bolded the items I view as significant, but I'm not sure as to how to better debug this issue.For clarity, I run a check* on textViewDidChangeSelection and textView shouldChangeTextIn to make sure the NSAttributedSTring defaultAttributes will be correct on the next keystroke (tangent: why btw the textview clears defaultAttributes after every keystroke is curious to me). *the check is a function to get the most recent character behind the current selection, pull the attributes from that range, then enforce that textView will keep those attributes when the next keystroke comes into the system.Does anyone know how to better troubleshoot this issue? Am I even looking in the right place?Thank you for your help and time -Charlie Exception Type: EXC_BAD_ACCESS (SIGSEGV)Exception Codes: KERN_INVALID_ADDRESS at 0x00001c20beedec58Exception Note: EXC_CORPSE_NOTIFYTermination Signal: Segmentation fault: 11Termination Reason: Namespace SIGNAL, Code 0xbTerminating Process: exc handler [56227]VM Regions Near 0x1c20beedec58: CoreAnimation 0000000120d2d000-0000000120d4d000 [ 128K] rw-/rwx SM=PRV--> MALLOC_NANO 0000600000000000-0000600008000000 [128.0M] rw-/rwx SM=PRVApplication Specific Information:objc_msgSend() selector name: getBytes:maxLength:usedLength:encoding:options:range:remainingRange:Thread 0 Crashed:: Dispatch queue: com.apple.main-thread0 libobjc.A.dylib 0x00007fff67e5a81d objc_msgSend + 291 com.apple.CoreFoundation 0x00007fff2ec29bf9 CFStringGetBytes + 7532 com.apple.CoreFoundation 0x00007fff2ec7ffa2 __CFStringCheckAndReplace + 3913 com.apple.CoreFoundation 0x00007fff2ec7fdf7 -[__NSCFString appendString:] + 404 com.apple.AppKit 0x00007fff2c8d7ee9 -[NSTextInputContext(NSTextInputContext_RemoteTextInput_UIKitOnMac) attributedString_RTI] + 3305 com.apple.AppKit 0x00007fff2c8d55a5 -[NSTextInputContext(NSInputContext_WithCompletion) attributedStringWithCompletionHandler:] + 506 com.apple.AppKit 0x00007fff2c8d48fa -[NSTextInputContext attributedString] + 1467 com.apple.AppKit 0x00007fff2c62a17f -[NSBridgedTextCorrectionController annotatedSubstringForProposedRange:actualRange:] + 718 com.apple.AppKit 0x00007fff2c0efa1a -[NSTextCheckingController annotatedSubstringForProposedRange:wrap:completionHandler:failureHandler:] + 4459 com.apple.AppKit 0x00007fff2c0ef856 -[NSTextCheckingController annotatedSubstringForProposedRange:completionHandler:] + 8410 com.apple.AppKit 0x00007fff2c0ef7f7 -[NSTextCheckingController _markUncheckedAfterMovementFromRange:] + 11611 com.apple.AppKit 0x00007fff2c0ef74e -[NSTextCheckingController didChangeSelectionFromRange:] + 10212 com.apple.AppKit 0x00007fff2c629789 -[NSBridgedTextCorrectionController observeValueForKeyPath:ofObject:change:context:] + 31813 com.apple.Foundation 0x00007fff313ac470 NSKeyValueNotifyObserver + 33514 com.apple.Foundation 0x00007fff3149b72c NSKeyValueDidChange + 43715 com.apple.Foundation 0x00007fff3139f1bc -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 74116 com.apple.Foundation 0x00007fff313c9e65 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 6817 com.apple.Foundation 0x00007fff3153903e _NSSetRangeValueAndNotify + 29518 com.apple.AppKit 0x00007fff2c8d9b2f __90-[__NSTextInputContextRTISystemDelegate inputSystemService:inputSessionDocumentDidChange:]_block_invoke + 26119 com.apple.AppKit 0x00007fff2c8da306 ___NSMainRunLoopPerformBlockInModes_block_invoke + 2520 com.apple.CoreFoundation 0x00007fff2ec9da7c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 1221 com.apple.CoreFoundation 0x00007fff2ec9d9c4 __CFRunLoopDoBlocks + 37922 com.apple.CoreFoundation 0x00007fff2ec9cebd __CFRunLoopRun + 245023 com.apple.CoreFoundation 0x00007fff2ec9bece CFRunLoopRunSpecific + 46224 com.apple.HIToolbox 0x00007fff2d8caabd RunCurrentEventLoopInMode + 29225 com.apple.HIToolbox 0x00007fff2d8ca6f4 ReceiveNextEventCommon + 35926 com.apple.HIToolbox 0x00007fff2d8ca579 _BlockUntilNextEventMatchingListInModeWithFilter + 6427 com.apple.AppKit 0x00007fff2bf25829 _DPSNextEvent + 88328 com.apple.AppKit 0x00007fff2bf24070 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 135229 com.apple.AppKit 0x00007fff2bf15d7e -[NSApplication run] + 65830 com.apple.AppKit 0x00007fff2bee7b86 NSApplicationMain + 77731 com.apple.AppKit 0x00007fff2c209615 _NSApplicationMainWithInfoDictionary + 1632 com.apple.UIKitMacHelper 0x00007fff60269e00 UINSApplicationMain + 32233 com.apple.UIKitCore 0x00007fff6fa3c22f UIApplicationMain + 213034 maccatalyst.com.alpha.XXXXXXX 0x000000010ef435ca 0x10ef3e000 + 21962