What to do when libreoffice is crashing on a new document in a loop?

Hello all,

Some system details first;

  • CachyOS linux
  • I’m using a laptop; Lenovo LOQ 15ARP9
  • Specs are 24 gigs of ram, RTX 4060, Ryzen 7 7435HS.

I have an issue running Libreoffice. It used to work fine around a month ago and i haven’t needed it since till today. When opening base it works fine, but going on to open a document or any of the functions (draw, impress, calc, writer etc…) results in it crashing and saying that it needs to recover a document.
Needless to stay it sticks me in a loop of crashing and recovering said untitled document.

I’ve found the article about this issue and attempted all fixes; turning off hardware acceleration, creating a new user profile (not that the original was corrupted? i tested the “test for corruption” method and it didn’t yield a positive result), resetting to factory settings, reinstalling the software and just about none of them work.

Do any of you fine folk have a solution, please? I’m going to need to create some presentations soon and I realllllly don’t want to use google draw or sheets or something.

1 Like

Which version of LO do you use? Version packed by the distribution or version directly downloaded from LO?
.
You could try to start LO from konsole for getting the default window look (not gtk or kde) by SAL_USE_VCLPLUGIN=gen libreoffice25.8
(this special for LO 25.8, might also be soffice instead…)

Oh i forgot to mention that.
I’m using LO 26.2.7-3. It’s packed by the distribution.
.
Using this command SAL_USE_VCLPLUGIN=gen libreoffice 26.2.7-3
returns /home/barney/26.2.7-3 does not exist

It doesn’t start LO at all.

Use

SAL_USE_VCLPLUGIN=gen libreoffice26.2

or

SAL_USE_VCLPLUGIN=gen soffice

Unfortunately only the soffice command worked but it didn’t help. Crash loop still happens.

I’m installing atm libreoffice-fresh to see if the bug occurs with either versions or just stable as nightrunner suggested.

This is a known bug with libreoffice-stable. I reproduced the issue with a fresh install on Arch Linux. See comment at the following link:

I installed libreoffice-fresh to have a working install. Not sure how long they will take to fix the stable release. I hope that helps!

—
nightrunner

Removed still and installed fresh. it worked.

I don’t understand how a stable version has a bug for a while now, but at least i can go back to work.

Thank you.

Hi,

I faced the same problem today, also on CachyOS. I found a solution that works for my system in the ArchLinux forum (Libreoffice Writer File-New crashes - recovery file dialog / Newbie Corner / Arch Linux Forums) by downgrading the zxing-cpp package to version 3.1.1-1.

You can check the installed package version of zxing-cpp via the command

pacman -Q zxing-cpp

If it is larger than 3.1.1-1, check if the 3.1.1-1 version is still cached via the command

ls -lh /var/cache/pacman/pkg/zxing-cpp*

If it is, you can downgrade to version 3.1.1-1 via the command

sudo pacman -U /var/cache/pacman/pkg/zxing-cpp-3.1.1-1.1-x86_64_v4.pkg.tar.zst

Hope this helps, good luck!