LibreOffice crashes on start after update

asked 2017-02-22 07:49:56 +0200

putt1ck gravatar image

Not a question so much as an answer if someone else has this issue...

After update via package manager (OpenSUSE Tumbleweed) LibreOffice would no longer start; launching via GUI got only a brief appearance of the logo before crashing. Launching from shell left this error:

The application cannot be started. The component manager is not available. ("InvalidRegistryException: file:///usr/lib64/libreoffice/program/services/services.rdb: duplicate <implementation name="animcore::Animate">")

The same error arose trying with --safe-mode and as root doing --headless (ruling out issues with user profile)

After much head scratching and poking at files, finally realised that what I had assumed was a temp/old/backup file in the /usr/lib64/libreoffice/program/services/ directory, named:

services.rdb;58a85fec

was being read on load as as well as the "real" services.rdb. Removing this file restored function.

Presumably is a minor bug that any file named services.rdb<anything> gets loaded - certainly makes oldfashioned "let's just rename this file while I troubleshoot by appending .old" very ineffective...

edit retag flag offensive close merge delete

Comments

You might report this as a bug at bugzilla.

floris v gravatar imagefloris v ( 2017-02-22 16:16:51 +0200 )edit