Bug 50751 - database crashes
Summary: database crashes
Status: CLOSED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
3.5.2 RC1
Hardware: x86 (IA32) Windows (All)
: high critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-05 17:05 UTC by eduardo.j.quinteros
Modified: 2012-07-25 17:32 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eduardo.j.quinteros 2012-06-05 17:05:31 UTC
Frecuently I have data lost , I work with multitask, with opened database. Every 2-3 days I have lost of the lasta data because when I try to open the database window , it´s not responder , and I have to close It ,and I lost my last new data . because I have experienced similar problems with open office (my database comes from OO)I made 4 automatic backup for day with Cobina backup running Volume shadow copy .
Comment 1 Julien Nabet 2012-06-06 11:50:54 UTC
Could you give a try to LO 3.5.4 ? (if needed with a brand new LO profile, see http://wiki.documentfoundation.org/UserProfile) 
If you reproduce it, would it be possible you attach the file ?
Comment 2 eduardo.j.quinteros 2012-06-07 10:34:43 UTC
hi. I install yesterday the last version of LO , I will check if it is 3.5.4.
I Try to attach the file , but was bigger than system posibilities, but I will try to compress it and atach. Thank you
Comment 3 eduardo.j.quinteros 2012-06-12 08:12:45 UTC
IN fact my vertion is 3.542

Yesterday I have experience another data lost . I realize that another common situation is when I have several programs open , and more than a LO file open  
¿may be is a RAm issue? I have only 1 Gb RAM
Comment 4 eduardo.j.quinteros 2012-06-12 08:14:03 UTC
(In reply to comment #1)
> Could you give a try to LO 3.5.4 ? (if needed with a brand new LO profile, see
> http://wiki.documentfoundation.org/UserProfile) 
> If you reproduce it, would it be possible you attach the file ?

Hi 
my version is 3.542 
Yesterday I have experience another data lost . I realize that another common
situation is when I have several programs open , and more than a LO file open  
¿may be is a RAm issue? I have only 1 Gb RAM
Thank you 
I can attach the complete file , becuase is bigger
Comment 5 Julien Nabet 2012-06-12 08:42:44 UTC
About RAM, could you monitor RAM used at these moments :
- no application is opened
- you launch Libreoffice (without the file)
- you try to load the file
?

About the file, you can upload file on this link : http://wiki.documentfoundation.org/QA/Bugzilla-Attachments
(or send it to me if you want)
so we can try to reproduce the problem.
Comment 6 Julien Nabet 2012-06-18 13:00:31 UTC
I answered you by email (with another file), hope you received it cause it's quite heavy.
To sum up, I had problem to open it so I tested with zip tools and found some errors.
I fixed them with "zip -FF" command then it seemed ok. (I sent you the file fixed)

As I said on the mail, a thing to do may be :
- export 3 tables (or 2 since one of them is empty) on csv
- save queries
- I don't know how to save forms or reports :-(
then recreate a brand new file with them.

Now I don't know what to do to investigate more :-(
Comment 7 Cocky Cwiek 2012-06-28 08:48:39 UTC
What version of Java do you use? I had simmular problem after updating to JRE 7. Installing back to JRE 6.33 solved my problem.
Comment 8 Julien Nabet 2012-07-01 05:26:35 UTC
I found a command which may help (make a backup of your file first).
"Tools" menu, "SQL", then execute this command :
SHUTDOWN COMPACT

In brief, it cleans up the database.
 
(see http://hsqldb.org/doc/1.8/guide/ch09.html#shutdown-section for more information)
Comment 9 Julien Nabet 2012-07-01 05:49:32 UTC
I forgot to add that you must close then reopen the file after having this.
You can also try "CHECKPOINT DEFRAG".

I read the docs but don't know if "SHUTDOWN COMPACT" "includes" in a way what does "CHECKPOINT DEFRAG".
Comment 10 eduardo.j.quinteros 2012-07-05 17:07:52 UTC
(In reply to comment #9)
> I forgot to add that you must close then reopen the file after having this.
> You can also try "CHECKPOINT DEFRAG".
> 
> I read the docs but don't know if "SHUTDOWN COMPACT" "includes" in a way what
> does "CHECKPOINT DEFRAG".

Thank you Juliet .I will Try . At the moment what I do was to save the file as an old file and use every day a clean, without data , new database.
Comment 11 Julien Nabet 2012-07-12 20:57:16 UTC
Eduardo: any update about this case ?
Comment 12 eduardo.j.quinteros 2012-07-13 16:54:13 UTC
(In reply to comment #11)
> Eduardo: any update about this case ?

Well, before to receieve the last post, I decide to reduce the size of the database file, puting old saved data in a new file, and work with a new one . That was a solution , because I have not experience any crush again, So the file size was  part of the problem .
Comment 13 Julien Nabet 2012-07-13 21:11:35 UTC
Is it ok for you since you created the new file ?
Comment 14 Jochen 2012-07-25 16:07:56 UTC
Hi *,

(In reply to comment #12)
> Well, before to receieve the last post, I decide to reduce the size of the
> database file, puting old saved data in a new file, and work with a new one .
> That was a solution , because I have not experience any crush again, So the
> file size was  part of the problem .

Should bugreport be closed?
Comment 15 eduardo.j.quinteros 2012-07-25 17:22:54 UTC
Well , I have not had a real solution , but with a small database , until today I have no t more problems . I don`t know how to close this report
Comment 16 Jochen 2012-07-25 17:32:25 UTC
I have closed this bugreport