I uninstalled cura, deleted Cura folder in Roaming and made a fresh install... but it crashes like it did before!!
I didn't do anything with configuration files. It was working and next time I tried it closed automatically. It was then that I started googling about it and tried to edit the configuration files.
The only configurations I change before were the menu settings like layer height, infill, suports, etc.