I’ve searched around enough to be confident that this isn’t the same as the problems I’ve read about.
Sometimes Sublime gets into a state where it seemingly can’t access the filesystem at all. Saving files doesn’t work, opening files gives a blank tab with the little loading bar in the middle that never does anything. Even simply bringing up the “open file” dialog results in a weird half-drawn window, like the thread reading the files just hung. I’ve attached a screenshot of that - No files visible at all, or even directories. The whitespace above ‘Filesystem’ on the left bar is where you’d usually have things like ‘root’, ‘home directory’ etc. The weird thing is they’re not ‘missing’ in the way you’d expect, they’re present but blank. You can select them but nothing happens.
Edit: Apparently I haven’t attached the image? I get an error “Sorry, the board attachment quota has been reached”. Oh well.
The other thing that makes me think sublime can’t get at the file system at all is that in the log I have repeated entries of:
Unable to write session file: /home/rkm/.config/sublime-text-3/Local/Auto Save Temp Session.sublime_session
The thing is, subl3 is running as me (rkm):
$ ps aux | grep subl3
rkm 32684 1.4 34.8 2845144 350824 ? Ssl 2015 283:55 subl3
and that file is owned by me with appropriate permissions
$ ll ~/.config/sublime-text-3/Local/Auto\ Save\ Session.sublime_session
-rw-rw-rw- 1 rkm rkm 0 Jan 4 17:29 /home/rkm/.config/sublime-text-3/Local/Auto Save Session.sublime_session
And all other processes seem to be accessing all the files without any trouble, it’s just sublime that can’t seem to get at any at all.
I haven’t been able to reproduce what causes this issue.
Also Sublime has been segfaulting occasionally recently, with dmesg entries like
[3018598.685526] index_builder[31789]: segfault at 0 ip 08207ba3 sp bcf2ffd0 error 6 in sublime_text[8048000+493000]
I don’t know how to reproduce that either, or if it’s related.
This is Sublime Text stable Build 3083, running on Manjaro Linux 15.09-rc4 in VirtualBox.
My problem is, I’ve got a lot of windows open, maybe 6 or 7, each with several files open in different panes and so on. I really really do not want to lose all of my session information, and sublime can’t save it. So I need to find a way to fix this that doesn’t require restarting sublime without first saving the session. BUT since it’s a VM I can save snapshots and restore to an earlier machine state, so I can do experiments that need a restart of sublime if that would help.
I’m pretty stumped, anyone have any ideas?