I don't know exactly what caused it or how to replicate perfectly, what I can tell you is that it seemed to happen specifically when a new image was loaded, an error would pop up about some file not existing, and it would crash.
Though it's possible it was instead related to key presses instead of image/text loading.