'A problem occurred'

Good evening,

I got this alert while trying to type Arabic text as a test. Was asked to post it on the forum.

Kindest regards,
Amal

text: ‘صوت صفير البلبل هيج قلبي الثمل الماء و الزهر معاً مع زهر لحظ المقل و أنت يا سيد لي وسيدي و مولي لي فكم فكم تيمني غزيل عقيقلي قطفته من وجنة من لثم ورد الخجلي فولولت و ولولت ولي ولي يا ويلي لي
تونتي’ (__NSCFString), length: 198, string: ’ {
}’ (NSConcreteAttributedString), length: 1, range: {199, 0}

NSRangeException

NSMutableRLEArray insertObject:range:: Out of bounds

(
“3 Foundation 0x00007fff3a18a9de -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 237”,
“4 Glyphs 0x0000000102a2746a Glyphs + 332906”,
“5 AppKit 0x00007fff34f3a132 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 184”,
“6 AppKit 0x00007fff3561b2d2 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2.326 + 102”,
“7 AppKit 0x00007fff34f3a069 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 105”,
“8 AppKit 0x00007fff35619410 -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 310”,
“9 AppKit 0x00007fff3561abd4 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.280 + 3027”
)

Please update to the latest cutting edge version (activate it in Preferences > Updates). The problem is fixed already.

Thank you Georg :slight_smile: