Apache OpenOffice (AOO) Bugzilla – Issue 3111
Document destroyed upon saving
Last modified: 2003-05-20 16:35:36 UTC
I've created a document and saved it in the new OpenOffice 6 Document Format. In then exported it as RTF to share it with non OpenOffice users. I stopped OpenOffice and relaunched it later to continue work on my document. I regularly hit CTRL-S to save. So far all is fine. Suddenly upon hitting CTRL-S I get the message that "ATAQ Risk Betriebskonzept.sxw" (the file) does not exist. Checking with the filesystem I realize that's correct. Before I can click "Save As" to save it under a new name OpenOffice vanishes from the screen and the taskbar. I've been looking for temporary files which might hold my document but have not been able to find any. I then restarted OpenOffice hoping to get asked wether I wish to continue work with my unsaved document - nada. Eventually I decide to resort to my (older) RTF-copy (lucky I have that one!). Open the file, save as OpenOffice 6 Document - Error saving the document ATAQ Risk Betriebskonzept.rtf: General Error. General input/output error. Whatever features might be missing - destroying documents MUST NEVER happen, under no circumstances. FWIW: with StarOffice 5.2 I never had any such problems. Best, Michael
I think I now know what caused the problem: the disk OpenOffice is installed on and to which I tried to save the document to was running low on diskspace due to another process filling it up... However the OS partition still had lots of space left and OpenOffice should not just crash outright in such a situation. Best, Michael
I've suffered a _complete_ Writer document (.sxw) destruction with exact the same symptoms described by the original reporter. OpenOffice 641C on Linux Debian Woody, kernel 2.4.18-pre2aa2, and OpenOffice saving documents to an ext2 partition. Document is (was ;) neither long (aproximately 25 text pages), not complex (half a dozen PNG images, little else). Menu File->Save, the disk starts spinning, progress bar goes on, but at some point the process stops and the program displays a warning box saying "test.sxw does not exist". I don't remember if pressed the button in the dialog, but in any case, shortly the programs completely crashes. A look to the directory where OpenOffice was saving the document shows the original file "test.sxw", but zero bytes long. I don't know what the problem could have been, but in my humble opinion it would be important to double check that OpenOffice document saving routines guarantee that either the file is _fully_ saved or no changes are made to the original file on disk. Maybe saving files in the way maildir(5) describes mail delivery is done for Maildir ("HOW A MESSAGE IS DELIVERED") could help.
This behavior can not be limited to Word processing because the code is the same for all applications => Changed component to framework. Reassigned to Thorsten.
This one was a known bug and has been fixed in the OO 1.0.1 which will soon be available.
This task is fixed or worked in OOo 1.1 beta2.
closed ...