Libreoffice keeps on crashing randomly. It will do this when I am typing and when I am switching desktops or anything. There is no patter to it. I need some help here. Anyone had this problem or problem similar to it? Anyone have found a fix. Also it seems to happen especially prominently after my screensaver has started. I would say it happens about 97% of the time after that. This is an annoying bug and is keeping my productivity low.
I had the same problem, but it was solved after an Ubuntu reinstall. However, most people would use this as a last option. Some things that you could to to replicate the results would be to:
Hopefully one of those will help. If you do decide to reinstall, remember to backup all files you may need.
Since it is a Java error try to switch the JRE. Use OpenJDK. If you dont have OpenJDK install it.
In Libre Office go to Tools → Options ... → LibreOffice → Java ( wait a little bit until the list of JREs appears) and then switch to version 1.6.0_20. When you highlight it, the location should be something like
Hit the OK-Button and close all open documents or windows of LibreOffice. Then start Libre Office again.
According to this thread http://ubuntuforums.org/showthread.php?t=1813246 and http://forums.linuxmint.com/viewtopic.php?f=47&t=77851&p=456737 this problem is linked with the graphics card in use is Intel HD Graphics and on an Intel Sandy Bridge CPU like the (Intel(R) Core(TM) i5-2540M).
The suggested fix is to disable anti-aliasing on LibreOffice. To do so go to the Tools menu, select options. Then on the next screen select "view" from the "LibreOffice" menu and then deselect "Use Anti-Aliasing"
I confirm it worked for me. So far Libre office has not misbehaved after I disabled the Graphics Output options from the LibreOffice View preferences. Thank's to the mint and Ubuntu forums. That saved my day. I've been searching for so long...
Every time libreoffice crashes, it leaves a log file either at your home folder and at the working directory. Read that log to find out the actual source of problem. Even I do suffer the same problem. Most of the times, the log says the JRE has something to do with it's crash. As a non-developer, I do not understand :-( I find removing the option to use unstable-experimental features (its in tools>options) helped a little.
I solved this faster and I did not want to start with the long run first :D
Just open LO. Go to settings and change which dialogues LO uses to save documents.
So change this setting to: "use LibreOffice dialogues to save documents"
(Option under "General")
Close and reopen LO and this worked for me.
(I found out that my LO even crashed while saving docs even without any JAVA version activated in LO.)
Edit: I've missed that Geoffrey is already using Sun JRE and so far it seems that OpenJDK may fix this problem. However the same crash was reported for OpenJDK.
It seems that the same problem was already reported for 10.10 without gaining any attention.
Assuming that Java is the source of the problem and you use the default JRE (OpenJDK), you could try Sun JRE instead of OpenJDK.
Sun JRE is in Partner Repository, make sure you have this repo enabled.
You'll have two JREs. You can either remove OpenJDK:
(I am not sure what the default packages are, it's possible that you may not have some of these installed - apt-get will just ignore them)
or reconfigure default JRE:
(select /usr/lib/jvm/java-6-sun/jre/bin/java )
In second case, to be sure that LibreOffice uses Sun JRE, follow Alex's answer, just select the one by Sun Microsystems.
I would suggest that you delete the LibreOffice profile, I think this may remove the problem you are having with random crashing.
1 - Go to your home folder
2 - Press CTRL & H to show the hidden folders
3 - Locate the folder .libreoffice
4 - Right click on it and delete it
This won't delete any documents you have made, basically what you're doing is starting from a clean slate.
I fixed my LibreOffice by reinstalling it. Ubuntu was using an unstable version of Libre and that was what probably caused it.
protected by Community♦ Jun 11 '12 at 8:15
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?