Issue 48180 - Saving files sometimes not possible
Summary: Saving files sometimes not possible
Status: CLOSED DUPLICATE of issue 50824
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 680m95
Hardware: PC All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: christian.guenther
QA Contact: issues@graphics
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2005-04-26 12:44 UTC by lohner
Modified: 2005-08-01 15:16 UTC (History)
2 users (show)

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


Attachments
Error dialog when saving is not possible (77.79 KB, image/bmp)
2005-04-28 10:41 UTC, lohner
no flags Details
Write Error Dialog when saving not possible (104.44 KB, image/bmp)
2005-05-11 12:25 UTC, lohner
no flags Details
Strace output during saving when saving is not possible (55.14 KB, application/x-compressed)
2005-06-25 02:10 UTC, openofficejac
no flags Details
Testcase (see comments for how to reproduce bug) (49.83 KB, application/vnd.sun.xml.draw)
2005-06-25 02:59 UTC, openofficejac
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description lohner 2005-04-26 12:44:38 UTC
Sometimes it is impossible to save files.  OO either creates no file at all, or
zero-size files, and then reports a general error trying to save the file. 
After this happens once, it is never possible to save the file without
restarting OO.

(p.s. I don't know if framework is correct, feel free to recategorize...)
Comment 1 lohner 2005-04-26 12:46:07 UTC
This was seen on two different Win XP machines, both SP2.  This didn't happen in
the 60s or 70s builds (I think), I think it started in the 80s.
Comment 2 thorsten.martens 2005-04-26 13:43:48 UTC
Not reproducible in a more recent build like a 680m96 ! If this problem still
remains, please provide more Info about the filesystem, about free discspace, 
where to save, what to save (example or attachment), ...
Comment 3 thorsten.martens 2005-04-26 15:46:26 UTC
.
Comment 4 thorsten.martens 2005-04-26 15:46:59 UTC
.
Comment 5 eric.savary 2005-04-26 15:55:32 UTC
Please have a look in the backup directory (OOo installation path) if a file
corresponding to the document you edited (maybe with another name) exists.
Comment 6 lohner 2005-04-28 10:40:31 UTC
I had reproduced it once or twice by creating a writer document, saving it,
printing to PDF, opening the PDF in Acrobat, and then (while it was still open)
reprinting to PDF.  I just tried this again and it didn't reproduce.

Yesterday it happened with impress- I was playing with importing powerpoint
slides and modifying the master slides, then suddenly saving didn't work.  I'll
attach the error dialog.

Free diskspace it not a problem, filesystem is whatever's standard under XP
(NTFS?), and it's happened with impress and writer docs on two separate machines.
Comment 7 lohner 2005-04-28 10:41:24 UTC
Created attachment 25601 [details]
Error dialog when saving is not possible
Comment 8 lohner 2005-04-28 11:13:06 UTC
I looked for backup files under c:\Programme\OpenOffice.org 1.9.95 and did not
see any backup files (or a directory)- where should they be?
Comment 9 lohner 2005-05-11 12:23:18 UTC
Just happened again in Impress with .100

Started a blank presentation after installing .100, added two background graphic
elements onthe master page, and started to create the presentation (5 pages at
present).  Nothing special in there, one more simple grey graphic on the title
page, one 3x3 text table.

Tried to save it in a newly created directory, and got a Write Error (see
attachment).  At this point I can't save it in amy format, including dumping it
to PDF.  Please give me some ideas on how to avoid this, since I lose my work
every time this happens (well, copy, paste, reformat works, but isn't fun...) !
Comment 10 lohner 2005-05-11 12:25:02 UTC
Created attachment 26015 [details]
Write Error Dialog when saving not possible
Comment 11 lohner 2005-05-11 13:10:57 UTC
More Info:
- I rename it to test.odp, but the error dialog still refers to Untitled1.
- it actually does create a 0 byte test.odp file when giving the error
- the PDF file is created _successfully_ including all content, but I still get
the error.
Comment 12 lohner 2005-05-11 13:23:06 UTC
- saving as .otp creates a 0 byte file as well
- saving as .ppt file doesn't create a file and gives a general output error
(see first attachment)
- after the general error, OO still has Untitled1 loaded, but all menus toolbars
are deactivated as if the presenation did not exist.
- creating another presentation in OO works, and it can be saved normally.
- in Untitled1 I can still move items around, but can't edit any text
- switching between normal/outline/notes/handout/slide sorter does not work either
- over textboxes on rightclick I get only slide/grid/snap lines options, wit no
subselections
Comment 13 lohner 2005-05-11 13:32:38 UTC
- OO can't be closed (neither the document close nor the OO close)
- killing the soffice.bin process and restarting OO brings up the recovery and
crashreport tools
- the recovery seems to successfully recover the last autosave (?) of the
document, only one page (the last one to be created) was missing.
- now saving works without any problems.
- always create backup copy was OFF
- Save AutoRecovery Information was OFF as well (now set to 5 minutes :)
Comment 14 lohner 2005-05-11 14:34:14 UTC
- The state it gets hung up in (when it hangs up wiht the general error) is the
save state: when I hit Ctrl-S to save a file, it is briefly in this state.

Is there any way I can provoke a crash in that situation to at least get you a
stacktrace or something?
Comment 15 eric.savary 2005-05-12 14:46:59 UTC
Please try to describe the content of your presentation if you cannot attach a
sample file.
The 0 byte file creation is now fixed in a current version (m102) but the cause
of the crash/error is not known.

The problem seems to be an Impress problem only.
Comment 16 kmp589 2005-05-13 04:10:35 UTC
Perhaps the component should be changed to Drawing?
Comment 17 lohner 2005-05-17 09:55:52 UTC
es:
The content of the presentation (or the writer document when it occurred with
that) seems irrelevant- i have nothing to reliably reproduce it with, or I would
attach it.  It seems to happen when playing with the master slides in Impress,
and when changing a lot of styles in Writer.  Unfortunately, I can't be more
specific than that- sorry!
Comment 18 openofficejac 2005-06-25 02:09:27 UTC
I have seen this under Linux (Suse 9.0) with build m109 within the writer
component.  It only seems to occur on documents where I have embedded charts or
drawings.

I'm attaching a strace output (zipped) obtained while attempting to save the
document.  Hopefully someone smarter than me can figure out the problem.
Comment 19 openofficejac 2005-06-25 02:10:42 UTC
Created attachment 27465 [details]
Strace output during saving when saving is not possible
Comment 20 openofficejac 2005-06-25 02:58:01 UTC
Instructions to Reproduce
1)  Open drawing.odg (attached testcase)
2)  Copy its contents to the clipboard
3)  Start a new text document
4)  Paste clipboard to text document
5)  Attempt to save text document

Under m109 with both Linux and Windows saving is not possible.

Comment 21 openofficejac 2005-06-25 02:59:35 UTC
Created attachment 27467 [details]
Testcase (see comments for how to reproduce bug)
Comment 22 openofficejac 2005-07-04 01:15:18 UTC
Testcase still fails under Linux / 680m113
Comment 23 andreschnabel 2005-07-07 09:07:51 UTC
testcase is reproducable with m113 (german localized version) on WinXP pro.

I'm not shure about the component, so a developer should have a look.



Comment 24 christian.guenther 2005-08-01 10:37:43 UTC
We fixed several bugs about 'Saving is not possible'
some are integrated in 1.9.m117 some in 1.9.m118 and one in 1.9.m119.
Please have a look if the bug still occures in the latest version (1.9.m118).
if the bug still occures please have a look again in the next version.
Comment 25 andreschnabel 2005-08-01 12:09:43 UTC
The problem still exists with m121 and is easy to reproduce with the testcase
provided by openofficejac
Comment 26 christian.guenther 2005-08-01 15:15:11 UTC
Duplicate to issue 50824


*** This issue has been marked as a duplicate of 50824 ***
Comment 27 christian.guenther 2005-08-01 15:16:41 UTC
Normaly we close the newer issue but in this case the newer issue is already at
the developer. Therefore I close this issue as duplicate.