Psychopy suddenly stops working

Psychopy was working properly. After revising my code, I ran my experiment (self-paced reading task in Farsi). Unfortunately, it suddenly stops working when I run the experiment for a few seconds. I mean all the windows are closed!
I tried to reinstall the program, but it has not changed anything!
Appreciate your help.