I thought I'd post the various errors I get on crash in case any of them sparks a thought. One of a number of things happens each time; they are now in files error1 to error5 in the gist: https://gist.github.com/iamed2/e883c6b0b8ff4220d946
In errors 4 and 5 I can no longer see the lines I type at the terminal until I enter a newline.
