Issue 88500 - Save error on files open extended period of time.
Summary: Save error on files open extended period of time.
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: DEV300m2
Hardware: Mac Mac OS X, all
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
: 105911 107350 (view as issue list)
Depends on:
Blocks:
 
Reported: 2008-04-20 19:54 UTC by randomchaos
Modified: 2017-05-20 10:47 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description randomchaos 2008-04-20 19:54:28 UTC
Error: "Error saving document <documentname>: Error writing file."

When this occurs: Anytime a file has been open for an extended period of time
(generally several days).

Which versions: Both DEV300m2 Aqua Alpha Snapshot and Open Office 2.3 X11 Mac
build have this issue.

Affected applications: I have confirmed that both Writer and Calc have this issue.

To Reproduce: Open a document; leave open several days; try to Save or Save As.
This error will occur. I am not sure how many days it needs to be open. Most of
documents seem start giving this error message after 5-10 days. Some have been
previously saved; others have not.

Extra details that may or may not be important: HDD being saved to is formatted
case-sensitive, journaled and is not the same HDD as /var/tmp which is on a
case-insensitive, journaled drive.
Comment 1 rahmrh 2008-06-01 20:01:28 UTC
I have seen this one also.   Files have to be open for a while (2 weeks or more)
and fail to be able to save.  Save as also fails on the troublesome file, the
disk is not full, plenty of inodes are left, and there are no disk errors of any
type.    Exiting OO and opening the file again and redoing the changes works.  
Going to the command line and copying the file to a new name, and then opening
the new file and copying in the changes to the new file allows it to save just
fine, the old file still fails to save.

I have seen this on Fedora 7 and Fedora 8, and with several versions of OO (I am
currently 2.3.0, I have had it happen at least 10-15 different times all on
files that have been open for long periods of time.

I have ran strace against the instance and did not see any errors that looked
like real errors.

It always takes at least a week of having the file open to cause the issue, one
of the files I make changes about 1x a month, and the other file I change (and
save) several times a week, both files seem to have issues around the same time.

I cannot find any tmpfile type deletions that happen in under 30days.

Ideas?

Comment 2 Raphael Bircher 2008-06-10 09:22:00 UTC
This issue is maximum P3 and it's not a aqua issue.
Change priority: P3
deliting keyword: aqua
set keyword: oooqa
set myself to cc
Comment 3 michael.ruess 2009-10-29 16:18:02 UTC
*** Issue 105911 has been marked as a duplicate of this issue. ***
Comment 4 wolfag 2009-10-29 23:54:12 UTC
OOo under Mac will deleting tmp-Files there are cache-saves for the
OOo-Document. I think it is a Codingerror in the Framework, however
IF/ELSE-function does not work correctly..  I'll view the Code at the next tinme
and try to find and Fix it.

At Windows OOo working fine.
Comment 5 Olaf Felka 2009-10-30 08:30:02 UTC
reassigned
Comment 6 michael.ruess 2009-12-01 13:26:11 UTC
*** Issue 107350 has been marked as a duplicate of this issue. ***
Comment 7 mikhail.voytenko 2010-07-05 14:02:27 UTC
Changing the target to OOo3.4 since there are no resources to investigate it for
OOo 3.3 target. Please declare it as a schowstopper if you believe that it
should be fixed for OOo3.3.
Comment 8 duke_briscoe 2010-07-05 15:40:39 UTC
I am no longer seeing this problem, using OS X 10.6.4.  I think it went away
after a recent OO upgrade, probably the upgrade to OO 3.2.0.  I had been
encountering the problem pretty frequently earlier, but have not seen it for a
long time even though I have been keeping files open for many days.
Comment 9 mikhail.voytenko 2010-07-05 17:34:11 UTC
Thank you for the feedback.
OOo3.2 contains a workaround, that let the temporary files be created in a
directory different from the system temporary directory. As result the cleaning
tools from MacOS do not affect the temporary files of the OOo. This is of course
only a workaround, and the original problem should be fixed in future.
Comment 10 Martin Hollmichel 2011-03-15 21:00:10 UTC
set target to 3.x since not release relevant for 3.4 release.
Comment 11 Marcus 2017-05-20 10:47:41 UTC
Reset assigne to the default "issues@openoffice.apache.org".