text: ’ Olmmošvuoigatvuođaid
Olmmošvuoigatvuo’ (__NSCFString), length: 40, string: ‘đ{
}’ (NSConcreteAttributedString), length: 1, range: {41, 0}


NSMutableRLEArray insertObject:range:: Out of bounds

“3 Foundation 0x0000000197d950f4 -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 220”,
“4 Glyphs 3 0x000000010285d280 ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD + 313156”,
“5 AppKit 0x0000000199bea2a0 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 188”,
“6 AppKit 0x000000019a3b3458 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2.396 + 120”,
“7 AppKit 0x0000000199bea1d8 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 164”,
“8 AppKit 0x0000000199bea034 -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 380”,
“9 AppKit 0x000000019a3b2e14 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.341 + 2928”

Can you explain what you did?

I had just created the o_dcroat ligature. I had typed up to the o that you see on the bottom line. I create my dcroat with option+l, d. As soon as I typed the “d” I got the error. I’m fairly sure it has something to do with my code that determines when to use the glyphs with the underline in them.

Perhaps irrelevant but I’m curious: which keyboard layout are you using? As far as I know, opt+l, d doesn’t give you dcroat in the English layouts.

I have the ABC Extended keyboard activated Symbol Codes | Extended Accent Codes for Mac