You are not logged in.

#1 2025-06-13 12:11:39

hirnschmalz
Member
Registered: 2020-11-19
Posts: 40

[SOLVED] LibreOffice recovery loop

I just did update all packages and now I'm unable to open any document in LibreOffice. Every time I try to, LibreOffice shows the recovery dialog, If I try to recover another empty recovery dialog is shown.

What I've tried so far

  • Use libreoffice-still instead of libreoffice-fresh

  • Disable OpenCL/OpenGL as described in https://wiki.archlinux.org/title/LibreO … or_crashes.

  • Start in recovery mode and reset user settings and also do a factory reset

  • Remove the libreoffice directory in my .config directory

If I try to open a document from the CLI I get the follwing error

# libreoffice --norestore -o Documents/Sample.odt
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
free(): invalid pointer
Unspecified Application Error

Last edited by hirnschmalz (2025-06-13 14:29:09)

Offline

#2 2025-06-13 12:42:14

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,714

Re: [SOLVED] LibreOffice recovery loop

I just did update all packages and now

Nothing in your IgnorePkg list?
libreoffice-still has only seen rebuilds over the past month. What was actually in that update?

Start in recovery mode and reset user settings and also do a factory reset

Did the part where you start in recovery mode actually work?
This disables HW acceleration and there's a bunch of issues w/ mesa and nvidia right now…

Offline

#3 2025-06-13 13:15:51

tekstryder
Member
Registered: 2013-02-14
Posts: 504

Re: [SOLVED] LibreOffice recovery loop

hirnschmalz wrote:

Every time I try to, LibreOffice shows the recovery dialog, If I try to recover another empty recovery dialog is shown.

If I try to open a document from the CLI I get the follwing error

# libreoffice --norestore -o Documents/Sample.odt
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
free(): invalid pointer
Unspecified Application Error

I have seen that exact set of symptoms, and the free error as well. But only when setting:

SAL_USE_VCLPLUGIN=gtk4

You didn't perhaps set that in your environment?

systemctl --user show-environment | grep SAL

I forgot to file a bug report upstream about this, so sorry about your issue, but thanks for the reminder!

EDIT: Another options is to try the stable QT frontend:

SAL_USE_VCLPLUGIN=qt5 libreoffice

Last edited by tekstryder (2025-06-13 13:33:38)

Offline

#4 2025-06-13 14:28:41

hirnschmalz
Member
Registered: 2020-11-19
Posts: 40

Re: [SOLVED] LibreOffice recovery loop

Nothing in your IgnorePkg list?
libreoffice-still has only seen rebuilds over the past month. What was actually in that update?

No ignored packages.
I was working in libreoffice-fresh, but tried libreoffice-still just to verify that it is not a problem of libreoffice-fresh.

Did the part where you start in recovery mode actually work?

Nope.

I have seen that exact set of symptoms, and the free error as well. But only when setting:

SAL_USE_VCLPLUGIN=gtk4

That actually caused the problem. Somehow this setting made it into my .zshenv (I have to figure out when/why). Removing this solved the problem. THX!!!

Offline

#5 2025-07-21 11:41:59

tekstryder
Member
Registered: 2013-02-14
Posts: 504

Re: [SOLVED] LibreOffice recovery loop

hirnschmalz wrote:
tesktryder wrote:

I have seen that exact set of symptoms, and the free error as well. But only when setting:

SAL_USE_VCLPLUGIN=gtk4

That actually caused the problem. Somehow this setting made it into my .zshenv (I have to figure out when/why). Removing this solved the problem. THX!!!

I filed a bug report for this issue last week and it's been fixed now.

https://bugs.documentfoundation.org/sho … ?id=167572

I built LO 25.2.5.2 this morning with the patch and verified the GTK4 backend is now functional.

The fix might make it into 25.2.6 and will be in 25.8.x.

Offline

Board footer

Powered by FluxBB