Seems that there's a crash happening only when you scroll the InputAssistant and then press 'U' on the US keyboard. I can't seem to see it crash for other letters (didn't try them all), but 'U' is 100% reproducible.
It looks like the crash is occurring (I think) in the InputAssistantCollectionView.swift:82
guard let inputAssistantView = inputAssistantView, let name = inputAssistantView.dataSource?.inputAssistantView(inputAssistantView, nameForSuggestionAtIndex: indexPath.row) else {
fatalError("No suggestion name found at index.")
}
For some reason index 0,0 is initially skipped over, yet once we try to access it, it results in a crash.
(lldb) po indexPath
▿ 2 elements
- 0 : 0
- 1 : 1
(lldb) po indexPath
▿ 2 elements
- 0 : 0
- 1 : 2
(lldb) po indexPath
▿ 2 elements
- 0 : 0
- 1 : 3
(lldb) po indexPath
▿ 2 elements
- 0 : 0
- 1 : 4
(lldb) po indexPath
▿ 2 elements
- 0 : 0
- 1 : 0
(lldb) po inputAssistantView.dataSource?.inputAssistantView(inputAssistantView, nameForSuggestionAtIndex: indexPath.row)
error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=1, address=0x0).
The process has been returned to the state before expression evaluation.
Seems that there's a crash happening only when you scroll the InputAssistant and then press 'U' on the US keyboard. I can't seem to see it crash for other letters (didn't try them all), but 'U' is 100% reproducible.
Video link of issue.
It looks like the crash is occurring (I think) in the InputAssistantCollectionView.swift:82
For some reason index 0,0 is initially skipped over, yet once we try to access it, it results in a crash.
Crash log can be seen below.
I can open a ticket on InputAssistant, but since I see @IMcD23 on here, I figure I'd place it here first.