Menu

#1512 Data Loss Bug - Project Files Corrupted

2.02_Stable
open
nobody
None
5
2015-02-13
2015-02-13
Federico
No

My OS (Windows 8.1 x64) recently crashed. At the time of the crash, TeXnicCenter was open with two program instances, each with a .tcp loaded and multiple .tex files. Upon the reboot, I discovered that both .tcp files had been overwritten with files of apparently the same size, but containing only zeros. The workaround was to recreate them from scratch. All LaTeX files open at the time of the crash were unharmed. My guess is that TeXnicCenter keeps the .tcp files open for R/W throughout its execution, and/or that it only commits updated content to the .tcp files upon closing the project, opening itself to data corruption in case of an OS crash. Note that I had not been using TeXnicCenter actively for a long while (many hours if not days) meaning that this is unlikely to be a simple cache (non-)flush event.

Discussion

Anonymous
Anonymous

Add attachments
Cancel