Sublime Forum

Restarted machine. Hot Exit removed content of all tabs

#1

I upgraded to ST3 build 3143 on my Macbook Pro (OS: 10.12.6) couple of months ago.

I’ve had a couple of ST windows open with Tabs and contents of text sitting there for almost a year from the last build (3126).

No issues with Hot Exit preserving the text.

When I rebooted to my bootcamp partition yesterday, then back to my Mac OSX, all open window and tab contents were cleared.

I still had the tab titles, and all the windows were there, but there was absolutely no content.

Is there any way to cover the text I had?

And secondary, is this a known bug? I upgraded ST3 on my work laptop (Windows 8) a couple of weeks back and noticed similar behaviour. Now I save everything, but it’s a bit worrying…

0 Likes

#2

When you restart your PC, the program may not exit normally… This goes for Windows, Linux and Mac PCs…

Now, it may be that ST3 saves the tab data when it changes instead of when the program is exited - in that case there may be an issue… but if it happens on close and on shutdown the program isn’t given the proper amount of time to save the data then the data can become corrupted which may have been what happened in your case.

It can also be the sectors of the hard-drive where the data was stored became corrupted - this depends on a lot of variables, depending how many files were open this is highly unlikely the more files that are opened - typically a few sectors near each other degrade ( taking longer and longer to read from them ) before becoming unreadable…

Is there any way for you to duplicate the issue? If so, can you try to see what’s output to the console as you restart and report it on the GitHub issues board ( it’s better if you can reproduce the issue reliably - even if it means running the exact number of programs, etc… which were running when it happened… Then remove those programs half at a time until it doesn’t happen, or until ST3 is the last open when it still happens )… If it is an app interfering then it’s best to know which… If it’s something else, maybe a plugin then the console should at least show what was running right before the pc logs off…

This could be a serious issue, the more information you can collect the better when reporting it…

0 Likes