After some git operations, I've had situation where IntelliJ completely froze during editing. To be precise, it happened when I deleted bracket ")" in code and it happened twice. I've killed IntelliJ with task manager and then it froze in the same place after restart. It happened a couple of times in the past too, so maybe it's the same issue.
I don't have any reasonable reproduction steps, so I'm just attaching idea.log and leaving this with low priority. Perhaps you will notice something interesting in stack trace, both freezes are there.
Kind Regards, Piotr