Error message popping with text tool

running Version 2.6.4 (1274) and getting the following error

It happens randomly as I type to test random letters

text: ‘بببب ب
حح ححح ’ (__NSCFString), length: 14, string: ’ {
}’ (NSConcreteAttributedString), length: 1, range: {15, 0}

NSRangeException

NSMutableRLEArray insertObject:range:: Out of bounds

(
“3 Foundation 0x00007fff3d98ec05 -[NSMutableRLEArray insertObject:range:] + 159”,
“4 Foundation 0x00007fff3d9ceb76 -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 242”,
“5 Glyphs 0x000000010daf134a Glyphs + 332618”,
“6 AppKit 0x00007fff38fe7955 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 169”,
“7 AppKit 0x00007fff396ad700 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2.309 + 102”,
“8 AppKit 0x00007fff38fe78a6 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 105”,
“9 AppKit 0x00007fff396ab8e3 -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 308”
)

Thanks for reporting this problem. It is very difficult to reproduce – are there any more details you can give as to when or how often this problem occurs?

Nevermind, I found a reliable way of reproducing it.