Strange behavior! Could you try another composition and see if it happens for any project?
I have tried on other projects but still the same. Also the alert box which appears will not go away, meaning I must completely close the program each time this happens.
Can you give us a screenshot of the error message?
Could you also post a link to your files?