You are not logged in.
Hi
I use Arch with KDE Plasma DE, my system is fully updated, the problem occurs on both Wayland and X11, in two user accounts.
Libre Office does not open:
$ libreoffice --writer %U
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'journal log when the coredump occurs:
mar 10 18:39:38 Arch-PC systemd[6959]: Started LibreOffice Writer - Word Processor.
mar 10 18:39:38 Arch-PC libreoffice[17772]: terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'
mar 10 18:39:38 Arch-PC systemd-coredump[17780]: Process 17772 (soffice.bin) of user 1003 terminated abnormally with signal 6/ABRT, processing...
mar 10 18:39:38 Arch-PC systemd[1]: Started Process Core Dump (PID 17780/UID 0).
mar 10 18:39:38 Arch-PC systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
mar 10 18:39:39 Arch-PC systemd-coredump[17781]: [?] Process 17772 (soffice.bin) of user 1003 dumped core.
Stack trace of thread 17772:
#0 0x00007db8c00e6624 n/a (libc.so.6 + 0x97624)
#1 0x00007db8c008cba0 raise (libc.so.6 + 0x3dba0)
#2 0x00007db8c0074582 abort (libc.so.6 + 0x25582)
#3 0x00007db8bfc97b2c _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6 + 0x97b2c)
#4 0x00007db8bfcae3ba _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6 + 0xae3ba)
#5 0x00007db8bfc9752a _ZSt9terminatev (libstdc++.so.6 + 0x9752a)
#6 0x00007db8bfc97547 __cxa_rethrow (libstdc++.so.6 + 0x97547)
#7 0x00007db8bfabad8f n/a (libcomphelper.so + 0x60d8f)
#8 0x00007db8bfb209c7 _ZN10comphelper6detail20ConfigurationWrapper3getERKN3com3sun4star3uno9ReferenceINS5_17XComponentContextEEE (libcomphelper.so + 0xc69c7)
#9 0x00007db8c02ca031 n/a (libsofficeapp.so + 0x3f031)
#10 0x00007db8bc7a8932 _Z7InitVCLv (libvcllo.so + 0x5a8932)
#11 0x00007db8bc7a8d96 _Z10ImplSVMainv (libvcllo.so + 0x5a8d96)
#12 0x00007db8c02e3c64 soffice_main (libsofficeapp.so + 0x58c64)
#13 0x00005566620c4039 n/a (n/a + 0x0)
#14 0x00007db8c0076488 n/a (libc.so.6 + 0x27488)
#15 0x00007db8c007654c __libc_start_main (libc.so.6 + 0x2754c)
#16 0x00005566620c4075 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
mar 10 18:39:39 Arch-PC systemd[1]: systemd-coredump@29-17780-0.service: Deactivated successfully.
mar 10 18:39:39 Arch-PC systemd[1]: systemd-coredump@29-17780-0.service: Consumed 283ms CPU time, 94.9M memory peak.
mar 10 18:39:39 Arch-PC systemd[6959]: app-libreoffice\x2dwriter@924182dc721f4ccaa886b67f2b79a3b1.service: Main process exited, code=exited, status=134/n/a
mar 10 18:39:39 Arch-PC systemd[6959]: app-libreoffice\x2dwriter@924182dc721f4ccaa886b67f2b79a3b1.service: Failed with result 'exit-code'.
mar 10 18:39:39 Arch-PC drkonqi-coredump-processor[17782]: "/usr/lib/libreoffice/program/soffice.bin" 17772 "/var/lib/systemd/coredump/core.soffice\\x2ebin.1003.ded3645424f24e9f971d8a2456462dd3.17772.1741642778000000.zst"How to solve this?
Thanks for reading.
Last edited by Strangiato (2025-03-12 17:18:09)
Offline
Similar messages from the past suggest this may have to do with a hard dependency that is incorrectly listed as optional by archlinux package .
Do you have gtk3 installed ?
If not, does installing gtk3 solve this ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
gtk3 is already installed:
$ pacman -Qi gtk3
Name : gtk3
Version : 1:3.24.49-1
Description : GObject-based multi-platform GUI toolkit
Architecture : x86_64
URL : https://www.gtk.org/
Licenses : LGPL-2.1-or-later
Groups : None
Provides : gtk3-print-backends libgailutil-3.so=0-64 libgdk-3.so=0-64 libgtk-3.so=0-64
Depends On : adwaita-icon-theme at-spi2-core cairo cantarell-fonts dconf desktop-file-utils
fontconfig fribidi gdk-pixbuf2 glib2 glibc harfbuzz iso-codes libcloudproviders
libcolord libcups libegl libepoxy libgl librsvg libx11 libxcomposite libxcursor
libxdamage libxext libxfixes libxi libxinerama libxkbcommon libxrandr libxrender
pango shared-mime-info tinysparql wayland gtk-update-icon-cache
Optional Deps : evince: Default print preview command [installed]
Required By : appstream-glib audacity ayatana-ido brasero chromium clutter colord-gtk deadbeef
deluge-gtk devede discord drawing eog etcher-bin evince evolution-data-server
exaile filezilla firefox flowblade fontforge gaupol gcr gdl gedit gnome-autoar
gnome-desktop gnome-disk-utility gnome-multi-writer gnome-screenshot gnome-terminal
granite gspell gst-plugin-gtk gtk-sharp-3 gtk-vnc gtkmm3 gtksourceview3
gtksourceview4 gtkspell3 inkscape lib32-gtk3 libappindicator-gtk3
libayatana-appindicator libayatana-indicator libdazzle libdbusmenu-gtk3
libgedit-amtk libgedit-gtksourceview libgedit-tepl libgnome-games-support
libgnomekbd libhandy libindicator-gtk3 libkeybinder3 libnma libpeas libportal-gtk3
libxfce4ui lightworks lollypop nixwriter peek pinta pitivi poedit pragha
pulseeffects-legacy quodlibet rhythmbox scim screenkey-git seahorse smart-notifier
smooth spice-gtk stardict thunderbird tixati totem uget usb-creator
vmware-workstation vte3 waydroid webkit2gtk webkit2gtk-4.1 wxwidgets-gtk3
xdg-desktop-portal-gtk xdg-user-dirs-gtk xfburn
Optional For : appmenu-gtk-module avahi ghostscript gpsd grilo gwenhywfar jdk-openjdk
jdk11-openjdk kde-gtk-config lazarus libcanberra libdecor libreoffice-fresh lshw
pinentry qt5-base qt6-base suil swt ventoy-bin vivaldi vlc zbar
Conflicts With : gtk3-print-backends
Replaces : gtk3-print-backends<=3.22.26-1
Installed Size : 53,16 MiB
Packager : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date : qua 05 mar 2025 23:02:35
Install Date : sex 07 mar 2025 22:12:04
Install Reason : Installed as a dependency for another package
Install Script : Yes
Validated By : SignatureOffline
Try to use it: https://wiki.archlinux.org/title/LibreOffice#Theme (or other ones)
Online
Same result:
$ SAL_USE_VCLPLUGIN=gtk4 libreoffice --writer %U
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'
$ SAL_USE_VCLPLUGIN=gtk3 libreoffice --writer %U
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'
$ SAL_USE_VCLPLUGIN=qt5 libreoffice --writer %U
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'
$ SAL_USE_VCLPLUGIN=qt6 libreoffice --writer %U
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'
$ SAL_USE_VCLPLUGIN=kf5 libreoffice --writer %U
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'
$ SAL_USE_VCLPLUGIN=kf6 libreoffice --writer %U
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'Offline
You said 2 user accounts, was one of those a fresh, clean account? If not, try that.
Side note, I really wish people would stop saying that a coredump is the problem. Coredumps are caused by the error, they are not the error, and are there for debugging.
Last edited by Scimmia (2025-03-11 15:43:30)
Offline
Ok, I have just created another user account for test purposes; the problem also occurs when logged in with it.
Offline
Do you have anything in /usr/lib/libreoffice/share/uno_packages/ other than an empty dir with another empty dir in it?
Let's also make sure we're running what we think we are, what does `type -a libreoffice` show?
Offline
/usr/lib/libreoffice/share/uno_packages/ only contains "cache" dir, "cache" dir only contains empty "uno_packages" dir.
$ type -a libreoffice
libreoffice is /usr/bin/libreofficeOffline
No issue there. My last idea, what does `archlinux-java status` show?
Last edited by Scimmia (2025-03-11 16:42:12)
Offline
$ archlinux-java status
Available Java environments:
java-11-openjdk (default)
java-23-openjdkI have changed default java with:
$ sudo archlinux-java set java-23-openjdk$ archlinux-java status
Available Java environments:
java-11-openjdk
java-23-openjdk (default)However, the problem persists.
Offline
I just realised every command you posted ends with %U .
That parameter is used to give a list of URIs to the command it follows.
What is the output of
$ libreoffice
$ libreoffice --writer?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
$ libreoffice
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'
$ libreoffice --writer
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'Offline
Two more possibilities
1.
$ SAL_USE_VCLPLUGIN=gen libreoffice2.
Temporarily remove libreoffice-fresh and install libreoffice-still .
Does it have the same issue ?
Last edited by Lone_Wolf (2025-03-11 17:03:06)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
$ SAL_USE_VCLPLUGIN=gen libreoffice
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'Same problem with libreoffice-still.
Offline
broadsword time…
SAL_USE_VCLPLUGIN=gen strace -tt -f -o /tmp/thisisgonnabeagigantic.strace libreoffice
du -h /tmp/thisisgonnabeagigantic.strace # check the size, maybe compress it - will likely be > 10:1
cat /tmp/thisisgonnabeagigantic.strace[.gz] | curl -F 'file=@-' 0x0.stOnline
Offline
It's still trying to use JRE 11. Any reason you're keeping that around?
Regardless, try disabling the JRE altogether as a test.
Modify the enabled node thusly in: ~/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml
<enabled xsi:nil="false">false</enabled>EDIT: Removed safe-mode suggestion as that will re-enable the JRE option (default).
Last edited by tekstryder (2025-03-12 15:56:26)
Offline
java11 is optionally required for some packages:
$ sudo pacman -Rcns jdk11-openjdk
checking dependencies...
:: brltty optionally requires java-runtime: Java support
:: libbluray optionally requires java-runtime: BD-J library
:: libjxl optionally requires java-runtime: for JNI bindings
:: libreoffice-fresh optionally requires java-runtime: adds java support
:: opencv optionally requires java-runtime: Java interface
:: subversion optionally requires java-environment: for Java support
:: texlive-latexextra optionally requires java-runtime: for pdfannotextractor
:: ums optionally requires java-runtime: Java runtime environmentEven after uninstalling java11, safe mode does not work too:
$ libreoffice --safe-mode
/home/stalker/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml:2: namespace error : Namespace prefix xsi for nil on enabled is not defined
<enabled xsi:nil="false">false<enabled nil="true"></enabled>
^
/home/stalker/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml:2: namespace error : Namespace prefix xsi for nil on enabled is not defined
<enabled xsi:nil="false">false<enabled nil="true"></enabled>
^
javaldx failed!
Warning: failed to read path from javaldx
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'Last edited by Strangiato (2025-03-12 15:56:31)
Offline
See tekstryder's edit and try to force a different java version:
https://wiki.archlinux.org/title/Java#L … va_version
Online
I was editing as you posted.
Did you disable the JRE per my suggestion, and then run without safe-mode?
Offline
I was editing as you posted.
Did you disable the JRE per my suggestion, and then run without safe-mode?
Yes.
$ libreoffice
/home/stalker/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml:2: namespace error : Namespace prefix xsi for nil on enabled is not defined
<enabled xsi:nil="false">false<enabled nil="true"></enabled>
^
/home/stalker/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml:2: namespace error : Namespace prefix xsi for nil on enabled is not defined
<enabled xsi:nil="false">false<enabled nil="true"></enabled>
^
javaldx failed!
Warning: failed to read path from javaldx
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'See tekstryder's edit and try to force a different java version:
https://wiki.archlinux.org/title/Java#L … va_version
I have created this file:
$ cat /etc/systemd/system/unit.d/override.conf
[Service]
Environment=JAVA_HOME=/usr/lib/jvm/java-23-openjdkResult:
$ libreoffice
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'Offline
Yeah, you've got a typo:
<enabled xsi:nil="false">false<enabled nil="true"></enabled>Edit the line in the file I referenced to be exactly what I posted.
<enabled xsi:nil="false">false</enabled>Last edited by tekstryder (2025-03-12 16:15:46)
Offline
Also just creating that file doesn't do anything
export JAVA_HOME=/usr/lib/jvm/java-23-openjdk
libreofficeOnline
@tekstryder
$ libreoffice
/home/stalker/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml:1: namespace error : Namespace prefix xsi for nil on enabled is not defined
<enabled xsi:nil="false">false</enabled>
^
/home/stalker/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml:2: namespace error : Namespace prefix xsi for nil on enabled is not defined
<enabled xsi:nil="false">false<enabled nil="true"></enabled>
^
javaldx failed!
Warning: failed to read path from javaldx
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'after the command above, the file ~/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml is modified and becomes this:
<?xml version="1.0" encoding="UTF-8"?>
<enabled xsi:nil="false">false<enabled nil="true"></enabled>
<userClassPath nil="true"></userClassPath>
<vmParameters nil="true"></vmParameters>
<jreLocations nil="true"></jreLocations>
<javaInfo nil="true"></javaInfo>
</enabled>@seth
$ export JAVA_HOME=/usr/lib/jvm/java-23-openjdk
$ libreoffice
/home/stalker/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml:2: namespace error : Namespace prefix xsi for nil on enabled is not defined
<enabled xsi:nil="false">false<enabled nil="true"></enabled>
^
/home/stalker/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml:2: namespace error : Namespace prefix xsi for nil on enabled is not defined
<enabled xsi:nil="false">false<enabled nil="true"></enabled>
^
javaldx failed!
Warning: failed to read path from javaldx
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'Offline