To my experience, this is a sensitivity issue that is long running. This may happen if you tap from one place to another on your screen really fast, and will most likely happen if you tap two places at the "same" time.
For example: swinging your sword while your running...
I was told my problem was a duplicate of this, so I figured I would lay some new evidence on the table. If you have a 3rd party add-on for texture packs that were not updated to 1.8.0 then the game will freeze up upon loading the file.
Also on some servers that I play 1.8.0 made it so that crafting tables crash your game...