Emacs crashes on me once a month or so. I'll just be typing something and suddenly it will disappear. I have two theories,
1. Possibly it is something to do with rust-analyzer. I work on a pretty large rust project and that does lock things up sometimes.
2. I actually hit C-x C-c by mistake. It's very possible, my fingers often do things by themselves when I'm not concentrating.