Error forming dcroat with ABC - Extended keyboard input

I had typed option+l to begin forming the dcroat glyph. I received
the error when I typed the d.

![CleanShot 2022-04-17 at 11.22.11@2x|690x409, 50%](upload://kaskbbXwAZJfLbmgMxVArplgGPS.jpeg)


text: 'dearvvašvuođa 
dearvva švuo' (__NSCFString), length: 27, string: 'đ{
}' (NSConcreteAttributedString), length: 1, range: {28, 0}

NSRangeException

NSMutableRLEArray insertObject:range:: Out of bounds

(
    "3   Foundation                          0x00000001a1d569c0 -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 220",
    "4   Glyphs 3                            0x0000000102cb8758 _ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD_ + 315064",
    "5   AppKit                              0x00000001a3bb1f10 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 188",
    "6   AppKit                              0x00000001a4380c24 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2.396 + 120",
    "7   AppKit                              0x00000001a3bb1e48 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 164",
    "8   AppKit                              0x00000001a3bb1ca4 -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 380",
    "9   AppKit                              0x00000001a43805e0 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.341 + 2940"
)

Can you reproduce this?

I backtracked a bit, and the only string that threw the error was the final one: švuođ.