Home Download Buy Blog Forum Support

ST2 crashes when saving, truncating the file (DATA LOSS)

ST2 crashes when saving, truncating the file (DATA LOSS)

Postby andyn on Wed Mar 06, 2013 7:43 am

I've encountered a bug which has over time accumulated to about two days of lost work. Please understand that backups don't help here, since I cannot commit half-done work to shared repos every five minutes.

I've been working on a dev server over an SFTP mount on Linux. Sometimes, when saving the file, ST2 crashes and immediately truncates the file to zero bytes. Reopening the editor shows an empty buffer. At first I thought this was an issue with save_on_focus_lost, but toggling the option has not had any effect so far.

How can I prevent this behavior in the future? I'm running ST2 with default configuration with Package Control and SublimeClang installed.
Posts: 4
Joined: Fri Feb 01, 2013 10:42 am

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 15 guests