Libreoffice crash

19 replies [Last post]
biosprob
Offline
Joined: 10/10/2015

Hello people,

I am unable to open any libreoffice applications. They appear temporarily on the task bar and a few seconds later it disappears.

I tried running libreoffice in terminal and got this:

/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libucbhelper.so: object file has no loadable segments

I tried doing sudo-apt get remove libreoffice, and reinstalling, but nothing happens.

What have I done?

Thx

lembas
Offline
Joined: 05/13/2010

Do you too see that error message or just have an issue with LO?

If the splash is giving you trouble, you can use the --nologo parameter to skip it.

biosprob
Offline
Joined: 10/10/2015

Thanks for the reply. I tried that but got the return of "oosplash: no process found"

biosprob
Offline
Joined: 10/10/2015

Not even removing libreoffice-base and reinstalling works. Very strange.

SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

try removing the libreoffice folder in the .config folder in /home.

biosprob
Offline
Joined: 10/10/2015

I've removed absolutely every package that had anything to do with libreoffice, and reinstalled, and it seems to be working now. Not sure what was missing in the first place, but it's fixed now.

SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

Beware what you remove. Anyway, next time (if) that happens I recommend you just try removing the folder I told you.

If that does not work, **then** do:
sudo apt-get purge libreoffice && sudo apt-get autoremove && sudo apt-get install libreoffice

Magic Banana

I am a member!

Offline
Joined: 07/24/2010

That may be due to a problem in the user configuration (have you tried to launch LibreOffice in another user session?). I would try to (re)move ~/.config/libreoffice (i.e., the folder "libreoffice" in the hidden folder ".config" in the home folder).

biosprob
Offline
Joined: 10/10/2015

Just tried opening libreoffice under the default Guest account and libreoffice still crashes.

biosprob
Offline
Joined: 10/10/2015

Ok the problem has emerged again and deleting the .config/libreoffice folder didn't work. Following those commands, I get this bizarre occurrence:

tri@tri:~$ sudo apt-get purge libreoffice && sudo apt-get autoremove && sudo apt-get install libreoffice
[sudo] password for tri:
Reading package lists... Done
tri@tri:~$ pendency tree... 0%

(the positioning of the response of the commands is not a copy+paste mistake - they are broken up by new instances in the terminal)

lembas
Offline
Joined: 05/13/2010

Did you copy pasta that command or type it and mess up the number of the ampersands? (&)

Copy pasta is particularly tasty in GNU/Linux where it's enough to highlight a passage to copy it and then use "middle mouse button" to paste it. (probably a corner of your touchpad does it or at least can be configured to do so)

a & b means run a in background and immediately run b too

a && b means run a and if and only if a is success, run b

biosprob
Offline
Joined: 10/10/2015

Yeah copied and pasted correctly. Everything seemed to uninstall and reinstall correctly.

Attempted to run libreoffice from terminal by typing "libreoffice" and I got this in response:

tri@tri:~$ libreoffice
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'

Magic Banana

I am a member!

Offline
Joined: 07/24/2010

You reinstalled "ure" too?

biosprob
Offline
Joined: 10/10/2015

I've looked over my past comments and I'm not sure what you're referring to. I don't know what "ure" is. Perhaps this is my problem.

Magic Banana

I am a member!

Offline
Joined: 07/24/2010

The description of the "ure" package starts like that:
The Uno Runtime Environment (URE) is the well-known UNO component model of LibreOffice, packaged up as an individual product.

Since the error message comes from UNO...

Magic Banana

I am a member!

Offline
Joined: 07/24/2010

Any "broken" package according to the "Synaptic package manager"? You can list them from the "Custom Filters" (a button in the lower-left corner of the interface).

biosprob
Offline
Joined: 10/10/2015

No broken packages

biosprob
Offline
Joined: 10/10/2015

I'm at a loss. I reinstalled "ure". I tried libreoffice --nologo.

Still crashes after the splash screen. I'm ready to frisbee this laptop and or myself out the window.

pragmatist

I am a member!

Offline
Joined: 03/03/2016

I would try these experiments:

1.) Open a terminal and type the command for a specific module of Libre Office: /usr/bin/lowriter or /usr/bin/localc or /usr/bin/loimpress and so on. Do it without sudo and then with sudo. What messages did you get in the terminal when it crashes? Try each of those applications separately.

2.) Look through the log files.

3.) Try a backtrace: https://ask.libreoffice.org/en/question/2044/libreoffice-logging-options/

4.) If you're not averse to trying other window managers / desktop environments, install Gnome. You will still have your Trisquel session option at the login window, but if you click the trisquel icon above the textbox you will be able to choose from Gnome, Gnome Classic, and Trisquel. By default, it logs you into your last selection. So if you don't like it, select Trisquel next time.

5.) Try a lightweight window manager / session, like fluxbox.

6.) If you have multiple kernel options (You can see by choosing the 'advanced' selection in your grub boot menu), choose the lowered numbered one.

7.) Learn Emacs! :) Just kidding (although it is an excellent 'operating system'). In my opinion, there MUST be a solution to this problem and it's just a matter of time until we figure it out, so hang in there!