Sublime Forum

[bug] Crash when closing a nonexisting file (w/sidebar)

#1

To reproduce:

  • Create or open a file

  • Make some changes and save

  • Delete the file

  • Click “x” in the sidebar to close it, do not save changes <-- crashes
    (no crash when using Ctrl-w or tabs to close the file)

Win7x64, Sublime build 2169

0 Likes

#2

I’m unable to replicate this, unfortunately

0 Likes

#3

I took a short vid, maybe it will help: minus.com/mjwrATRn5
Seems like you have just a few seconds between deleting the file and closing it to trigger the bug.

0 Likes

#4

Thanks for the repro, will be fixed for the next build

0 Likes

#5

Thanks!
In case you wonder how did I discover this bug: I regularly edit files over ftp, the ftp app creates temporary files, which are deleted after uploading, and closing such files often results in a crash.

0 Likes