You're crashing maya. It means your script is dodgy. You need to debug your script and find out where the crash is occurring. Try commenting lines out and finding the dodgy one.

Alan
Technical Director - Framestore
Currently working on: Your Highness
IMDB