Libreoffice crash with "terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException'" in linux

Hi

I have a newly installed Tuxedo OS machine, it’s a Ubuntu 24.04 with a fresh coat of paint. I try to start Libreoffice and it just bugs out on me.

$ libreoffice
qt.core.logging: Ignoring malformed logging rule: ‘’=false’’
qt.core.logging: Ignoring malformed logging rule: '’
=false’’
terminate called after throwing an instance of ‘com::sun::star::uno::DeploymentException’
Unspecified Application Error

Yes, I have already zapped by .config/libreoffice folder and it didn’t help. I also created a new user and tried there, no cookie. It’s clearly a system wide issue.

I run KDE plasma, but have also tried to install the gtk package that some older instance of this error suggest.

I’d really like to get some help debugging this.

All my libreoffice packages installed listed below:

$ dpkg -l | grep libreoffice
ii  liblibreoffice-java                                 4:25.2.6-0tux1                             all          LibreOffice UNO runtime environment -- Java library
ii  libreoffice                                         4:25.2.6-0tux1                             amd64        office productivity suite (metapackage)
ii  libreoffice-base                                    4:25.2.6-0tux1                             amd64        office productivity suite -- database
ii  libreoffice-base-core                               4:25.2.6-0tux1                             amd64        office productivity suite -- shared library
ii  libreoffice-base-drivers                            4:25.2.6-0tux1                             amd64        Database connectivity drivers for LibreOffice
ii  libreoffice-calc                                    4:25.2.6-0tux1                             amd64        office productivity suite -- spreadsheet
ii  libreoffice-common                                  4:25.2.6-0tux1                             all          office productivity suite -- arch-independent files
ii  libreoffice-core                                    4:25.2.6-0tux1                             amd64        office productivity suite -- arch-dependent files
ii  libreoffice-draw                                    4:25.2.6-0tux1                             amd64        office productivity suite -- drawing
ii  libreoffice-gtk3                                    4:25.2.6-0tux1                             amd64        office productivity suite -- GTK+ 3 integration
ii  libreoffice-help-common                             4:25.2.6-0tux1                             all          office productivity suite -- common files for LibreOffice help
ii  libreoffice-help-de                                 4:25.2.6-0tux1                             all          office productivity suite -- German help
ii  libreoffice-help-en-gb                              4:25.2.6-0tux1                             all          office productivity suite -- English_british help
ii  libreoffice-help-en-us                              4:25.2.6-0tux1                             all          office productivity suite -- English_american help
ii  libreoffice-impress                                 4:25.2.6-0tux1                             amd64        office productivity suite -- presentation
ii  libreoffice-java-common                             4:25.2.6-0tux1                             all          office productivity suite -- arch-independent Java support files
rc  libreoffice-kf5                                     4:24.2.7-0ubuntu0.24.04.4                  amd64        office productivity suite -- KDE Frameworks 5 integration
ii  libreoffice-kf6                                     4:25.2.6-0tux1                             amd64        office productivity suite -- KDE Frameworks 6 integration
ii  libreoffice-l10n-de                                 4:25.2.6-0tux1                             all          office productivity suite -- German language package
ii  libreoffice-l10n-en-gb                              4:25.2.6-0tux1                             all          office productivity suite -- English_british language package
ii  libreoffice-l10n-sv                                 4:25.2.6-0tux1                             all          office productivity suite -- Swedish language package
ii  libreoffice-math                                    4:25.2.6-0tux1                             amd64        office productivity suite -- equation editor
ii  libreoffice-nlpsolver                               4:0.9+LibO25.2.6-0tux1                     all          "Solver for Nonlinear Programming" extension for LibreOffice
ii  libreoffice-plasma                                  4:25.2.6-0tux1                             all          office productivity suite -- some Plasma integration
ii  libreoffice-qt5                                     4:25.2.6-0tux1                             amd64        office productivity suite -- Qt 5 integration
ii  libreoffice-qt6                                     4:25.2.6-0tux1                             amd64        office productivity suite -- Qt 6 integration
ii  libreoffice-report-builder                          4:25.2.6-0tux1                             all          LibreOffice component for building database reports
ii  libreoffice-report-builder-bin                      4:25.2.6-0tux1                             amd64        LibreOffice component for building database reports -- libraries
ii  libreoffice-script-provider-bsh                     4:25.2.6-0tux1                             all          BeanShell script support provider for LibreOffice scripting framework
ii  libreoffice-script-provider-js                      4:25.2.6-0tux1                             all          JavaScript script support provider for LibreOffice scripting framework
ii  libreoffice-script-provider-python                  4:25.2.6-0tux1                             all          Python script support provider for LibreOffice scripting framework
ii  libreoffice-sdbc-firebird                           4:25.2.6-0tux1                             amd64        (embedded) Firebird SDBC driver for LibreOffice
ii  libreoffice-sdbc-hsqldb                             4:25.2.6-0tux1                             amd64        embedded HSQLDB SDBC driver for LibreOffice
ii  libreoffice-sdbc-mysql                              4:25.2.6-0tux1                             amd64        MariaDB/MySQL SDBC driver for LibreOffice
ii  libreoffice-sdbc-postgresql                         4:25.2.6-0tux1                             amd64        PostgreSQL SDBC driver for LibreOffice
ii  libreoffice-style-breeze                            4:25.2.6-0tux1                             all          office productivity suite -- Breeze symbol style
ii  libreoffice-style-colibre                           4:25.2.6-0tux1                             all          office productivity suite -- colibre symbol style
ii  libreoffice-uiconfig-base                           4:25.2.6-0tux1                             all          UI data ("config") for LibreOffice Base
ii  libreoffice-uiconfig-calc                           4:25.2.6-0tux1                             all          UI data ("config") for LibreOffice Calc
ii  libreoffice-uiconfig-common                         4:25.2.6-0tux1                             all          UI data ("config") for LibreOffice ("common" set)
ii  libreoffice-uiconfig-draw                           4:25.2.6-0tux1                             all          UI data ("config") for LibreOffice Draw
ii  libreoffice-uiconfig-impress                        4:25.2.6-0tux1                             all          UI data ("config") for LibreOffice Impress
ii  libreoffice-uiconfig-math                           4:25.2.6-0tux1                             all          UI data ("config") for LibreOffice Math
ii  libreoffice-uiconfig-report-builder                 4:25.2.6-0tux1                             all          UI data ("config") for the LibreOffice Report Builder
ii  libreoffice-uiconfig-writer                         4:25.2.6-0tux1                             all          UI data ("config") for LibreOffice Writer
ii  libreoffice-wiki-publisher                          4:1.2.0+LibO25.2.6-0tux1                   all          LibreOffice extension for working with MediaWiki articles
ii  libreoffice-writer                                  4:25.2.6-0tux1                             amd64        office productivity suite -- word processor

wasn’t it present already ?

does it also crash with --headless ?

see also How do I start LibreOffice with a different VCL?

Thanks a lot for your feedback!

No, the gtk package was not there from the start. My environment is a newly installed Plasma desktop, and I have not yet installed any gtk software myself.

It does not crash with--headless, no. I guess it should just sit there and not give me back the bash prompt? That does indicate something GUI related, I guess?

export SAL_USE_VCLPLUGIN=kf5 and export SAL_USE_VCLPLUGIN=gen doesn’t seem to make much of a difference, sadly.

I have both the kf5 and the kf6 packages installed already.

try one step further → Convert-to command line parameter

then try to install a TDF package from Download LibreOffice | LibreOffice - Free and private office suite - Based on OpenOffice - Compatible with Microsoft

$ soffice --convert-to txt ./Addendum.doc
Error: source file could not be loaded

It doesn’t look like that one was very happy. Maybe something is very broken with my installation.

I’ll try to download that package you suggested and see if that works any better.

Sadly not any better. I did notice, though, that now I have lots of packages that looks like some are from that bundle and some are from my distribution repos.

I’m not very good with apt, but can I wipe them all and just install the DEBS folder ones somehow?

$ dpkg -l | grep libreoffice
ii liblibreoffice-java 4:25.2.6-0tux1 all LibreOffice UNO runtime environment – Java library
ii libobasis25.8-libreofficekit-data 25.8.3.2-2 amd64 Libreofficekit data files for LibreOffice 25.8.3.2
ii libreoffice-base-core 4:25.2.6-0tux1 amd64 office productivity suite – shared library
ii libreoffice-base-drivers 4:25.2.6-0tux1 amd64 Database connectivity drivers for LibreOffice
ii libreoffice-common 4:25.2.6-0tux1 all office productivity suite – arch-independent files
ii libreoffice-core 4:25.2.6-0tux1 amd64 office productivity suite – arch-dependent files
ii libreoffice-help-common 4:25.2.6-0tux1 all office productivity suite – common files for LibreOffice help
ii libreoffice-help-de 4:25.2.6-0tux1 all office productivity suite – German help
ii libreoffice-help-en-gb 4:25.2.6-0tux1 all office productivity suite – English_british help
ii libreoffice-help-en-us 4:25.2.6-0tux1 all office productivity suite – English_american help
ii libreoffice-java-common 4:25.2.6-0tux1 all office productivity suite – arch-independent Java support files
rc libreoffice-kf5 4:24.2.7-0ubuntu0.24.04.4 amd64 office productivity suite – KDE Frameworks 5 integration
ii libreoffice-l10n-de 4:25.2.6-0tux1 all office productivity suite – German language package
ii libreoffice-l10n-en-gb 4:25.2.6-0tux1 all office productivity suite – English_british language package
ii libreoffice-l10n-sv 4:25.2.6-0tux1 all office productivity suite – Swedish language package
ii libreoffice-math 4:25.2.6-0tux1 amd64 office productivity suite – equation editor
ii libreoffice-plasma 4:25.2.6-0tux1 all office productivity suite – some Plasma integration
ii libreoffice-script-provider-bsh 4:25.2.6-0tux1 all BeanShell script support provider for LibreOffice scripting framework
ii libreoffice-script-provider-js 4:25.2.6-0tux1 all JavaScript script support provider for LibreOffice scripting framework
ii libreoffice-sdbc-firebird 4:25.2.6-0tux1 amd64 (embedded) Firebird SDBC driver for LibreOffice
ii libreoffice-sdbc-hsqldb 4:25.2.6-0tux1 amd64 embedded HSQLDB SDBC driver for LibreOffice
ii libreoffice-sdbc-mysql 4:25.2.6-0tux1 amd64 MariaDB/MySQL SDBC driver for LibreOffice
ii libreoffice-sdbc-postgresql 4:25.2.6-0tux1 amd64 PostgreSQL SDBC driver for LibreOffice
ii libreoffice-style-breeze 4:25.2.6-0tux1 all office productivity suite – Breeze symbol style
ii libreoffice-style-colibre 4:25.2.6-0tux1 all office productivity suite – colibre symbol style
ii libreoffice-uiconfig-base 4:25.2.6-0tux1 all UI data (“config”) for LibreOffice Base
ii libreoffice-uiconfig-calc 4:25.2.6-0tux1 all UI data (“config”) for LibreOffice Calc
ii libreoffice-uiconfig-common 4:25.2.6-0tux1 all UI data (“config”) for LibreOffice (“common” set)
ii libreoffice-uiconfig-draw 4:25.2.6-0tux1 all UI data (“config”) for LibreOffice Draw
ii libreoffice-uiconfig-impress 4:25.2.6-0tux1 all UI data (“config”) for LibreOffice Impress
ii libreoffice-uiconfig-math 4:25.2.6-0tux1 all UI data (“config”) for LibreOffice Math
ii libreoffice-uiconfig-report-builder 4:25.2.6-0tux1 all UI data (“config”) for the LibreOffice Report Builder
ii libreoffice-uiconfig-writer 4:25.2.6-0tux1 all UI data (“config”) for LibreOffice Writer
ii libreoffice-writer 4:25.2.6-0tux1 amd64 office productivity suite – word processor
ii libreoffice25.8 25.8.3.2-2 amd64 Brand module for LibreOffice 25.8.3.2
ii libreoffice25.8-base 25.8.3.2-2 amd64 Base brand module for LibreOffice 25.8.3.2
ii libreoffice25.8-calc 25.8.3.2-2 amd64 Calc brand module for LibreOffice 25.8.3.2
ii libreoffice25.8-debian-menus 25.8.3-2 all LibreOffice 25.8 desktop integration
ii libreoffice25.8-dict-en 25.8.3.2-2 amd64 English dictionary for LibreOffice 25.8.3.2
ii libreoffice25.8-dict-es 25.8.3.2-2 amd64 Spanish dictionary for LibreOffice 25.8.3.2
ii libreoffice25.8-dict-fr 25.8.3.2-2 amd64 French dictionary for LibreOffice 25.8.3.2
ii libreoffice25.8-draw 25.8.3.2-2 amd64 Draw brand module for LibreOffice 25.8.3.2
ii libreoffice25.8-en-us 25.8.3.2-2 amd64 Brand language module for LibreOffice 25.8.3.2
ii libreoffice25.8-impress 25.8.3.2-2 amd64 Impress brand module for LibreOffice 25.8.3.2
ii libreoffice25.8-math 25.8.3.2-2 amd64 Math brand module for LibreOffice 25.8.3.2
ii libreoffice25.8-ure 25.8.3.2-2 amd64 UNO Runtime Environment.3.2
ii libreoffice25.8-writer 25.8.3.2-2 amd64 Writer brand module for LibreOffice 25.8.3.2

sure you ran 25.8 ?

LibreOffice_25.8.3_Linux_x86-64_deb.tar.gz

But it looks like the remaining packages from the distribution are older.

try from terminal:

/opt/libreoffice???/program/soffice

Huh. That one started! I guess the packages I have around somehow divert to some un-functioning components?

Can I just run apt purge X X X X X and list all the libreoffice packages, and then install the TDF packages again?

You can, but why? use the TDF and contact tuxedo to debug their brand!

I guess I just want to make sure I don’t get heisenbugs by mixing components. Also, how do I make sure I use /opt/libreoffice???/program/soffice every time?

But, yeah, I will definitely contact Tuxedo and ask them why their packages are broken.

Many thanks for the help here. Much appreciated!!