[Issue] Serious bug: Lost a file due to lack of disk-space

Discuss the word processor

[Issue] Serious bug: Lost a file due to lack of disk-space

Postby strolog » Wed Sep 20, 2017 7:35 am

Hi all,

this is a very serious Open-Office bug and I hope it will be addressed.
When my macbook gets out of disk space (which is very easy when I
stream some video) and at the same time I am editing a file with
Open Office, I obviously cannot save the file. *BUT* instead of
accepting the fact that the file cannot be saved (and leave the old
version intact), what Open Office does is try save the file, it replaces
it with an empty file (zero bytes) and then informs me that the file
cannot be saved. The old version of the file has been destroyed in
the process !!! At the same time, I cannot open the newer version !!!!
It's a disaster. If you are lucky and Open Office doesn't crash, then
you may release some space and save the file. In my case
I was not able to save, even after I released some space. And while
I was in the process to release some more space, Open Office crashed.
Guess what? The files was gone ! Even the backup area had this file
with zero size !!! In other words, Open Office destroyed the file
and its backup, trying to save on a disk with no space left.
This is too serious (and sounds trivial to solve). I would be happy
to see that this problem is solved in one of the newer releases.
Also, I would appreciate any advice about how to recover the file
(although I know it is most probably impossible -- even the backup
file is gone).

Thank you very much,

John
Last edited by Hagar Delest on Sun Sep 24, 2017 9:01 pm, edited 1 time in total.
Reason: tagged [Issue] (link to a bug report).
OpenOffice 4.1.3 on Macbook OS-X 10.9.5
strolog
 
Posts: 2
Joined: Wed Sep 20, 2017 7:17 am

Re: Serious OO bug: Lost a file due to lack of disk-space

Postby Hagar Delest » Wed Sep 20, 2017 7:56 am

Hi and welcome to the forum!

You should file a bug report: [Tutorial] Reporting bugs or suggestions.
AOO 4.1.4 RC2 on Xubuntu 17.04, (Zesty Zapus) and 4.1.3 on Windows 7 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 27638
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Serious OO bug: Lost a file due to lack of disk-space

Postby robleyd » Wed Sep 20, 2017 8:53 am

For file recovery, try this; as soon as possible do the following:

Download Recuva (Windows only) or PhotoRec for Win, MacOS, Linux and other OSes (only one needed) and let it do an in-depth recovery of deleted files on your computer. You may get a file containing some or all of your data (or not). Do this as a first priority; other use of the computer may overwrite any existing but deleted files and prevent their recovery. There is no guarantee that you will recover anything useful.
Cheers
David
OpenOffice 4.1.3 - Windows 7
OpenOffice 4.2.0 - Slackware 14.2 - 64 bit
User avatar
robleyd
Volunteer
 
Posts: 939
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Serious OO bug: Lost a file due to lack of disk-space

Postby John_Ha » Wed Sep 20, 2017 12:07 pm

See [Tutorial] How to find and un-delete Writer temporary files for instructions on how to identify and un-delete the temporary files Writer wrote while you were editing the file, and then deleted. You should be able to recover your file as it was when you last opened or saved it, or as it was when it was last saved with AutoRecovery.

You may also find previous versions of the file in the folder it is located in, but which have since been deleted.

 Edit: A thought: In your case recovery may be less likely as the method relies on un-deleting files which have been deleted. Deleted files remain on disk but are flagged as "available space which can be used". The method tries to recover them before they get re-used and overwritten.

If you have little free space on your disk, it is highly probable that these files will get overwritten very quickly. 

You should never run a PC with little or no free disk space as you are an accident looking for somewhere to happen. All programs are written on the assumption that there will be sufficient free disk space available. It's a bit like driving your car with no tyres and then complaining that it won't steer or brake well; or with no oil, and complaining the engine seizes. It's the driver's fault, not the car designer's fault and not the car's fault.

A good rule of thumb for a PC is to keep about 10% of the disk space free. A commercial environment with large databases might well keep 20% or more free.
AOO 4.1.3, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the up to date Writer guide for information. Click the Help button on a pop-up window for extensive help on that function.
John_Ha
Volunteer
 
Posts: 4417
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Serious OO bug: Lost a file due to lack of disk-space

Postby Bill » Wed Sep 20, 2017 8:28 pm

strolog wrote:I would be happy to see that this problem is solved in one of the newer releases.


The recruitment mailing list might be the place to start:

Get Involved in Apache OpenOffice
AOO 4.1.3 on 64-bit Windows 10 and Antergos Linux
Bill
Volunteer
 
Posts: 6295
Joined: Sat Nov 24, 2007 6:48 am

Re: Serious OO bug: Lost a file due to lack of disk-space

Postby strolog » Thu Sep 21, 2017 6:54 am

Hi all,

thanks for replies. I tried iSkysoft with no success.
(I tried the other instructions (mostly written for Windows)
before contacting the list).

The comparison with a car running with no oil or gas is not
a good one. If you run out of oil or gas, you don't want your
car to explode! You just want an indicator to let you know
so that you stop moving the car. Software should not cause
additional problems when it cannot run. It should just exit
graciously, without causing any disaster. This notion that
"I can either run with sufficient disk space (or any other
requirement) or I will ruin your files" is not a good programming
practice. Other editors (even emacs) never delete any open
files if there is no space to save! So, yes, this is a bug,
it is not a feature or a fact of life.

Thanks,

-J
OpenOffice 4.1.3 on Macbook OS-X 10.9.5
strolog
 
Posts: 2
Joined: Wed Sep 20, 2017 7:17 am

Re: Serious OO bug: Lost a file due to lack of disk-space

Postby Zizi64 » Thu Sep 21, 2017 7:09 am

OFF:
Why are you using
narrow text lines
on a so wide
Forum reply-area?
;) :D :shock: :o
Tibor Kovacs, Hungary; LO4.4.7, LO5.3.6 on Win7x64Prof.
And the portable versions: LO3.3.0-LO5.4.1 and AOO4.1.3
Please, edit the topic's initial post, and add the word "[Solved]" at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 5893
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Serious OO bug: Lost a file due to lack of disk-space

Postby eremmel » Thu Sep 21, 2017 8:17 am

Most software will fail in some way when disk is full it is very hard to test, except Operating systems and (commercial) databases.
Unix (and maybe iOS, for it is linux) reserve for the root-user extra disk space that cannot be used by normal users. So you might run OO under root account and your streaming application under a normal user account. This might be an escape for you.
Is your question answered: edit your initial post add "[Solved]" to the subject and check V
LO4.2.8.2 for real life with ORB; AOO4.1.3,LO5.2.5.1 on W7E SP1 64bit
It's Microsoft marketing that tells you computers are qualified for non-technicians
User avatar
eremmel
Volunteer
 
Posts: 915
Joined: Tue Dec 30, 2008 1:15 am
Location: Barneveld, Netherlands

Re: Serious OO bug: Lost a file due to lack of disk-space

Postby Bill » Thu Sep 21, 2017 11:51 am

This bug was reported in 2008. It has a P2 (trivial) priority and hasn't received any comments since 2012.

Issue 92377 - Document lost (0 ko) when the hard drive is full and you try to save it
AOO 4.1.3 on 64-bit Windows 10 and Antergos Linux
Bill
Volunteer
 
Posts: 6295
Joined: Sat Nov 24, 2007 6:48 am


Return to Writer

Who is online

Users browsing this forum: Yahoo [Bot], Zizi64 and 12 guests