LibreOffice exits with “Application Error” when invoked from command line

asked 2017-10-05 09:36:04 +0100

smueller gravatar image

I am running LibreOffice on a Debian system - this is what "lsb_release -a" gives me:

Distributor ID: Debian
Description:    Debian GNU/Linux 9.1 (stretch)
Release:    9.1
Codename:   stretch

LibreOffice version is 40m0(Build:2)

Since recently I realize that if I try to invoke LibreOffice from the command line, it quickly flashes the splash screen, then exits with “Application Error”:

user@librem:~$ libreoffice
Application Error

However, if I open LibreOffice from Gnome’s Application Menu or use the mouse to click on files, it works without problems.

Unfortunately, I couldn’t find out why this is happening, nor how to cure the problem when invoking LibreOffice on the command line. I also have no idea whether this is a problem of the LibreOffice installation or e.g. GNOME.

I searched the web, but could not find any solution to the problem.

Any help is appreciated.


edit retag flag offensive close merge delete


My problem persists, but I can add additional information:

Essentially, /usr/lib/libreoffice/program/soffice.bin throws the Application error message when invoked from the commandline as "user". If I invoke it with sudo libreoffice, it works!

smueller gravatar imagesmueller ( 2017-10-23 10:10:51 +0100 )edit

Looking back in my logs, I realize that I had problems in opening libreoffice from the commandline already some months ago. I could fix it back then by adding the line /usr/lib/libreoffice/program to the file /etc/

I have however no idea what this change implies, and whether it is still appropriate

smueller gravatar imagesmueller ( 2017-10-23 10:11:11 +0100 )edit

Thanks for your comments. With adding your solution my commandline failure changed to "Error in `/usr/lib/libreoffice/program/soffice.bin': malloc(): memory corruption: 0x00af0f40 * ". Any other ideas? (using RPI3 but the same Application failure problem)

klaus-d gravatar imageklaus-d ( 2018-02-13 18:05:58 +0100 )edit