Check out iMessage crash with keyboard compact view by JR. Here is an excerpt:
So iMessage doesn’t like it when you try to open a keyboard in compact view.
It also doesn’t like it if you swipe to another iMessage app by touching a search bar or text field, as that activates the keyboard and kills the composer.
The way to fix this is to not allow the keyboard to show…