6

Ever since I updated to 16.04, Libreoffice has been crashing my computer. In particular, if I try to go through with document recovering it will crash every time (and return to the login menu). The only option I can take is to click the x on the recover window, the option to recover or remove recovery data both cause a crash. Also, when I try to save a tiny spreadsheet as .csv it has been crashing.

Tony Ruth
  • 137
  • Have you installed all the available software updates for your system? – Nick Weinberg Jul 07 '16 at 19:59
  • @NickWeinberg Ya, I just did apt-get update/upgrade, and it is still doing it. – Tony Ruth Jul 07 '16 at 23:52
  • 1
    Instead of launching LibreOffice as you normally do, try opening a terminal window (Alt-Ctrl-T) and type libreoffice. Now when it crashes, there should be some info displayed in the terminal window that can help track down what might be going on. – Nick Weinberg Jul 07 '16 at 23:54
  • @NickWeinberg, when it crashes it takes the OS with it, closing the terminal. I tried running it with libreoffice >> log_file 2>&1, but the only thing which shows up is: (soffice:5839): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

    (soffice:5839): Gdk-WARNING **: gdk_window_set_icon_list: icons too large X IO Error

    I know that these errors occur before I click the button to start recovery.

    – Tony Ruth Jul 08 '16 at 00:02
  • Possibly related to http://askubuntu.com/questions/753020/loo-dont-start-gdk-warning-gdk-window-set-icon-list-icons-too-large (???) You could try editing ~/.config/libreoffice/4/user/extensions/bundled/lastsynchronized and replace the 1 inside by a 0 (zero). – Nick Weinberg Jul 08 '16 at 00:05
  • Nothing was written to the log this time, but still crashed. – Tony Ruth Jul 08 '16 at 00:12
  • Maybe disabling OpenGL may help. Check Menu Tools -> Options -> LibreOffice -> View. If you can't reach the options menu, you can disable it manually, too. – tohuwawohu Jul 08 '16 at 04:53

2 Answers2

2

I was able to solve the problem by installing the xserver-xorg-video-intel package. Seems to be a problem with the generic modesetting xorg driver in my case.

voidptr
  • 86
  • This worked for me. – Tony Ruth Jul 28 '16 at 20:28
  • This was my problem too. Although not on Ubuntu and it happened only with password protected ods files. The xf86-video-modesetting driver was not good enough. Video card: GMA 4500MHD on GM45 chipset. – tnagy.adam May 02 '22 at 13:01
0

If you don't have an OpenGL driver for your video card, that is probably the problem. For me, installing the video card driver for my card (an NVIDIA GeForce 9400M) was able to get LibreOffice working. If you can't install the driver, try disabling OpenGL in LibreOffice.