Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: sonar on 05 March 2023, 14:44:52

Title: [SOLVED] LibreOffice Does Not Start
Post by: sonar on 05 March 2023, 14:44:52
On KDE go to menu type 'writer' and try to start Libre Office. Libre Office does not start. If you already have it installed and its starts OK. Remove its all traces .inis and .configs or whatever it pollutes home folder (.local .cache or whatever it does not appy to standard) and then install it and try to lounch it. NOT STARTING.
Title: Re: LibreOffice Does Not Start
Post by: Surf3r on 05 March 2023, 18:08:13
 
LibreOffice has 165 dependencies. Look up which of those 165 dependencies (https://archlinux.org/packages/extra/x86_64/libreoffice-fresh/) you've messed with that may have triggered the problem. Either downgrade or reinstall those dependencies

Title: Re: LibreOffice Does Not Start
Post by: TheExplorer on 15 March 2023, 17:42:42
LibreOffice has 165 dependencies. Look up which of those 165 dependencies (https://archlinux.org/packages/extra/x86_64/libreoffice-fresh/) you've messed with that may have triggered the problem. Either downgrade or reinstall those dependencies

Not sure if the topic starter's problem and mine are connected but today I installed LibreOffice for the first time on a clean system (no messing with its packages etc.).

LibreOffice starts with a 'Recover files' dialog box. Strange... Okay. Pressed 'No', removed files and continued. Then tried to choose Options from the Tools menu... And it simply segfaults/crashes. Nothing helps here, either removing of user configs or using SAL_USE_VCLPLUGIN=gtk3 soffice, or editing the /etc/profile.d/libreoffice-fresh.sh file as other forums and Arch Wiki suggests. Nothing helps.

If started from the console, here is the output:

Code: [Select]
libreoffice 

(soffice:5099): Gtk-WARNING **: 18:13:11.256: Theme directory  of theme Adwaita has no size field

terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'


Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3f263)[0x7fd8961a5263]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3f460)[0x7fd8961a5460]
/usr/lib/libc.so.6(+0x38f50)[0x7fd895ebdf50]
/usr/lib/libc.so.6(+0x878ec)[0x7fd895f0c8ec]
/usr/lib/libc.so.6(gsignal+0x18)[0x7fd895ebdea8]
/usr/lib/libc.so.6(abort+0xd7)[0x7fd895ea753d]
/usr/lib/libstdc++.so.6(+0x9a833)[0x7fd895ccd833]
/usr/lib/libstdc++.so.6(+0xa6d0c)[0x7fd895cd9d0c]
/usr/lib/libstdc++.so.6(+0xa6d79)[0x7fd895cd9d79]
/usr/lib/libstdc++.so.6(__cxa_rethrow+0x4f)[0x7fd895cda02f]
/usr/lib/libreoffice/program/libfwklo.so(+0x8f2ad)[0x7fd8950952ad]
/usr/lib/libreoffice/program/libfwklo.so(+0xde463)[0x7fd8950e4463]
/usr/lib/libreoffice/program/libsvxlo.so(+0x143ab4)[0x7fd8944ceab4]
/usr/lib/libreoffice/program/libsofficeapp.so(+0x33df7)[0x7fd8960b9df7]
/usr/lib/libreoffice/program/libsofficeapp.so(+0x3403f)[0x7fd8960ba03f]
/usr/lib/libreoffice/program/libvcllo.so(+0x70bddd)[0x7fd892c7bddd]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3f39a)[0x7fd8961a539a]
/usr/lib/libc.so.6(+0x38f50)[0x7fd895ebdf50]
/usr/lib/libreoffice/program/libsfxlo.so(+0x19465c)[0x7fd894a2965c]
/usr/lib/libreoffice/program/libsfxlo.so(+0x1f08b2)[0x7fd894a858b2]
/usr/lib/libreoffice/program/libsfxlo.so(_ZN13SfxDispatcher7ExecuteEt11SfxCallModePK10SfxItemSetS3_t+0x1d0)[0x7fd894a8c2c0]
/usr/lib/libreoffice/program/libsfxlo.so(+0x227f91)[0x7fd894abcf91]
/usr/lib/libreoffice/program/libsfxlo.so(+0x2283ad)[0x7fd894abd3ad]
/usr/lib/libreoffice/program/libfwklo.so(+0x2031bf)[0x7fd8952091bf]
/usr/lib/libreoffice/program/libvcllo.so(_ZN4Menu6SelectEv+0x8f)[0x7fd892940f1f]
/usr/lib/libreoffice/program/libvcllo.so(+0x440108)[0x7fd8929b0108]
/usr/lib/libreoffice/program/libvcllo.so(_ZN16SalUserEventList18DispatchUserEventsEb+0x189)[0x7fd892c268e9]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0xe5eb0)[0x7fd88bf3beb0]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x19b)[0x7fd88effbafb]
/usr/lib/libglib-2.0.so.0(+0xb75d9)[0x7fd88f0585d9]
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x32)[0x7fd88eff9382]
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so(+0xef544)[0x7fd88bf45544]
/usr/lib/libreoffice/program/libvcllo.so(+0x706b13)[0x7fd892c76b13]
/usr/lib/libreoffice/program/libvcllo.so(_ZN11Application7ExecuteEv+0x8e)[0x7fd892c7c15e]
/usr/lib/libreoffice/program/libsofficeapp.so(+0x3a9dc)[0x7fd8960c09dc]
/usr/lib/libreoffice/program/libvcllo.so(_Z10ImplSVMainv+0x38a)[0x7fd892c8094a]
/usr/lib/libreoffice/program/libsofficeapp.so(soffice_main+0x136)[0x7fd8960d72b6]
/usr/lib/libreoffice/program/soffice.bin(+0x1031)[0x55e211275031]
/usr/lib/libc.so.6(+0x23790)[0x7fd895ea8790]
/usr/lib/libc.so.6(__libc_start_main+0x8a)[0x7fd895ea884a]
/usr/lib/libreoffice/program/soffice.bin(+0x1065)[0x55e211275065]

So, when I choose Tools -> Options the console gives me this very line:

Code: [Select]
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'

And then the rest of the output.

I have jre-openjdk installed too if that matters. Others suggest to disable Java in LO settings. But, the thing is that I simply CAN'T get there :)

So, yes, I can confirm that LO doesn't work on Artix for some reason.
Title: Re: LibreOffice Does Not Start
Post by: Artist on 15 March 2023, 23:04:27
Are you runnign LO-fresh or -still?
What happens if you run:
sudo pacman -U https://archive.artixlinux.org/packages/l/liborcus/liborcus-0.17.2-4-x86_64.pkg.tar.zst
and start LO again?

artist
Title: Re: LibreOffice Does Not Start
Post by: tintin on 16 March 2023, 05:24:30
Are you runnign LO-fresh or -still?
I use the "fresh" version.


Quote
What happens if you run:
sudo pacman -U https://archive.artixlinux.org/packages/l/liborcus/liborcus-0.17.2-4-x86_64.pkg.tar.zst
and start LO again?
THANKS !
Now libreoffice calc starts again.
Title: Re: [SOLVED] LibreOffice Does Not Start
Post by: Surf3r on 16 March 2023, 16:58:44

 I've said it from the start, it's a dependency problem in this case 'liborcus' had to be downgraded, exactly as predicted. This happens in
 general with programs with numerous dependencies and also shows up more often on rolling distros.

Title: Re: [SOLVED] LibreOffice Does Not Start
Post by: TheExplorer on 16 March 2023, 17:53:30
it's a dependency problem in this case 'liborcus' had to be downgraded

Thanks. Now it works.