I circumvented the issue by replacing all raw_inputs with a console.input_alerts. As I incrementally replaces the raw_input function the crashing occurred occasionally at the remaining raw_input functions. Sometimes the first instance of hitting the input, and sometimes a subsequent instance.
It is a random generator script that loads a file of random generators (on dropbox) and asks which random generator to run. It generates story prompts, random locations, items, names etc. If you want I can include it but it is over 300 lines long, so not the shortest thing to include on a forum.