Issue 7573 - crash when saving on network disk which is full
Summary: crash when saving on network disk which is full
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.1
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: thorsten.martens
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2002-09-07 19:36 UTC by dpavlin
Modified: 2003-09-08 16:56 UTC (History)
2 users (show)

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


Attachments
Dr. Watson log from OOo crashing when trying to save to a full drive (21.11 KB, text/plain)
2002-09-19 02:54 UTC, prgmgr
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description dpavlin 2002-09-07 19:36:33 UTC
It tries to save there, deletes original file and crash without any dialog
leaving user without document (or backup -- make backups on save doesn't help
eather)
Comment 1 prgmgr 2002-09-07 23:28:11 UTC
Dobrica, thanks for taking the time to post.

What type of network drive are you saving to ( Windows Share/UNC, 
Novell, Samba ).
Comment 2 prgmgr 2002-09-07 23:42:38 UTC
Tried saving to a full local drive on Win NT 4.0 SP6a with OO 1.0.1.

I see the following error message:

"Error saving the document <document title>
 Nonexistant object
 Nonexistant file"
Comment 3 dpavlin 2002-09-08 12:18:35 UTC
I'm using Samba 2.999+3.0cvs20020827-1 from Debian unstable.

I have same error message ("Nonexistant object, Nonexistant file")
when I try to save to full NT disk, but saving to full disk exported
by samba just crashed my wordp.
Comment 4 dpavlin 2002-09-08 17:01:26 UTC
I wasn't clear enough about what causes the bug to appear.

Here is complete description how to reproduce problem:

1. save writer document
2. fill rest of disk space (dd if=/dev/zero of=foo will do)
3. save document (with save only, not save as! It will report
"Nonexistant object, Nonexistant file")
4. save again -- it will delete original file, crash and leave file
svgok.tmp, svic4.tmp or something like it behind)

As a side note, it will crash all OpenOffice applications that are
opened at that time.

I thought that problem was related to samba and found one somewhat
related entry in M$ knowedge base:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q290861&
and news posting about same problem
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=ad54p9%242l5u%241%40FreeBSD.csie.NCTU.edu.tw&rnum=4&prev=/groups%3Fq%3Dsamba%2Bdisk%2Bfull%2Bproblem%26hl%3Den%26lr%3D%26ie%3DUTF-8%26selm%3Dad54p9%242l5u%241%2540FreeBSD.csie.NCTU.edu.tw%26rnum%3D4

However, I manged to reproduce same problem on W2000 using ZIP disk
(without network shares -- I don't have partition full enough :-).
Comment 5 prgmgr 2002-09-19 02:53:57 UTC
Dobrica, thanks for the clear instructions.

Duplicated on Win NT 4.0 SP6a, OOo 1.0.1, local disk.

Comment 6 prgmgr 2002-09-19 02:54:40 UTC
Created attachment 2905 [details]
Dr. Watson log from OOo crashing when trying to save to a full drive
Comment 7 raghunath 2002-11-29 22:01:19 UTC
Was able to successfully replicate this bug on a Windows 2000 
(Service pack 3) system using the latest build (643C) of Open Office 
1.0.1. 

Steps for replicating the bug are:

1) Create a new OOo text document and type some text in it.

2) Fill up the local disk space (I used 'Holodeck' testing tool to 
simulate this situation. 'Holodeck' is a wonderful testing tool 
available at http://www.se.fit.edu/projects/holodeck/index.html that 
allows one to simulate certain disk,memory and network faults).

3) Now try to save the file.

4) As we can see, the Open office starts saving the file and 
eventually crashes.

           One of the follow-up tests for this situation that I did 
was to repeat the above steps by simulating a low-memory situaion 
using the same 'Holodeck' testing tool; Open office crashed in this 
scenario too.
Comment 8 Joost Andrae 2002-12-01 13:46:55 UTC
JA->TM: please have a look. Reassigned to you...
Comment 9 thorsten.martens 2003-02-14 10:25:08 UTC
Problem has been fixed to SO 6.1 beta and won´t therefore occur in a
OO 1.1.beta too.
Comment 10 thorsten.ziehm 2003-05-20 16:16:00 UTC
This task is fixed or worked in OOo 1.1 beta2.
Comment 11 thorsten.ziehm 2003-05-20 16:32:45 UTC
closed ...