Bug 42452 - FILESAVE: Unable to save database followin auto recovery
Summary: FILESAVE: Unable to save database followin auto recovery
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
3.4.3 release
Hardware: Other All
: medium major
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-31 13:43 UTC by charlie_mead
Modified: 2012-09-01 18:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screen dump of error message. (11.21 KB, image/png)
2011-10-31 13:43 UTC, charlie_mead
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charlie_mead 2011-10-31 13:43:23 UTC
Created attachment 52971 [details]
Screen dump of error message.

After recovering a database I attempt to do a Save As with a new filename. This produces a zero sized file followed by the following error:

Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\Program Files\LibreOffice 3.4\program\soffice.bin
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Opening the database results in auto recovery again followed by the same problem. A never ending cycle.

My question is: How can I break the cycle, recover the database and stop this error? 
              
Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.23) Gecko/20110920 Firefox/3.6.23 ( .NET CLR 3.5.30729)
Comment 1 Julien Nabet 2011-12-27 03:36:14 UTC
Perhaps I mistake but I think the files are on your LO profile.
Do you absolutely need the version which has to be recovered or do you have a backup somewhere ?
If yes, the simplest thing would be to uninstall LO (including removing profile and cleaning registry with ccleaner for example) and reinstall the last stable version (3.4.4).
Comment 2 Alex Thurgood 2012-07-02 01:22:34 UTC
The "autorecovery" is an option stored in the configuration files (but I don't remember which xml file). It might be in the general configuration files of the program, or else in the user profile.

There will also be a lock file on the ODB stored somewhere in the users profile or on his desktop, which may be hidden (so not visible by default in file explorer). You would need to activate the "Display Hidden Files" option in Windows Explorer in order to be able to see it. If this file exists, it will have a flag set that triggers the autorecovery (I think). Find the hidden file, and remove it.

Then try :

1) Stopping the quickstarter and any related soffice processes.
2) Renaming or moving the user profile
3) Restarting LO.

Alex
Comment 3 Jochen 2012-08-19 11:28:06 UTC
Hi Charlie,

exists your problem still?
Comment 4 Jochen 2012-09-01 18:13:33 UTC
@reporter:
please feel free to reopen this bug if you find out that the problem still exists with the current stable LibreOffice version and if you can contribute requested additional information due to (especially BugReport Details)!
Set status to "RESOLVED -> WORKSFORME"