Sublime Forum

Windows 10: ST3 Crashes on Startup

#1

I have been using ST3 on this Windows machine for a long time and never had this before. Today I was editing something and ST3 crashed, and now it won’t start.

I have tried using Ctrl-Shift-Esc to bring up the Windows Task Manager, but ST3 does not appear on the list. I have tried restarting Windows, no change. I also used CCleaner to clean the Registry and then restarted, no change.

One thing I have noted is that every time I try to start ST3 it creates a Memory Dump .dmp file in the Program Files -> Sublime Text 3 folder.

0 Likes

#2

Have you tried reverting to a freshly installed state?

0 Likes

#3

Thanks for getting back to me. I hadn’t tried that, it was a good suggestion, thanks.

In fact, rather than just fully remove the two Sublime Text 3 folders in AppData/Local and AppData/Roaming I went into each folder and listed all files in all subfolders (searching on . ) and ordered the list by last modified date. This gave me a small number of files with yesterday’s date, the day of the crash. There were 4 in AppData/Local and 2 in AppData/Roaming.

I selectively renamed these and tried restarting ST3. When I renamed AppData/Roaming/…/Preferences.sublime-settings ST3 finally started, and with at least some files from the previous session loaded, and all my settings seemingly intact! I closed and reopened ST3 and all appears to be well.

Looking now in AppData/Local I can see that the four files I renamed, Startup.cache, last_run.json and two files with long random names, have been recreated, but in AppData/Roaming only Session.sublime_session has been recreated, Preferences.sublime-settings has not. I wonder if this will cause problems? <= Edit; well, of course it means that my user settings disappeared. So I used ST3 to open the renamed file and copied the contents into “user settings” - result? ST3 crashes again! At least I know what to do now.

Is it possible to make a backup of all my ST3 settings and customisations in case this happens again? I have got it exactly how I like it and would prefer not to have to go through tweaking all the individual settings and installing packages again.

0 Likes

#4

The files in appdata are all you need for a backup.

1 Like