You are not logged in.

#1 2026-06-06 21:52:40

sebalis
Member
Registered: 2016-12-22
Posts: 20

[SOLVED] keepassxc crashes with fontconfig 2.18.1

Hi,

after my latest full system update, KeePassXC crashes when I click on groups in my password database. The journal has these messages:

Jun 06 23:03:00 Io kernel: keepassxc[99319]: segfault at 562000000010 ip 00007f6d060e09ac sp 00007fff1b687a58 error 4 in libfontconfig.so.1.17.0[e9ac,7f6d060d8000+34000] likely on CPU 0 (core 0, socket 0)
Jun 06 23:03:00 Io kernel: Code: 8b 3e 4c 89 ee e8 84 2a 01 00 4c 8b 6d f0 e9 e0 fe ff ff 4c 89 6d f0 ff 15 79 d3 04 00 90 f3 0f 1e fa 48 89 f8 89 d7 49 89 c0 <4c> 03 40 10 74 5c 44 8b 48 04 41 8d 49 ff 39 ce 7e>

The update included a fontconfig update (2:2.17.1-1 → 2:2.18.1-1). I tried the following without success:

• recompile the package by downloading from https://gitlab.archlinux.org/archlinux/ … /keepassxc and running makepkg. There were test failures. When I disabled the tests by changing the check function in PKGBUILD I did get packages that I could install, but the crash still occurred.

• download the AppImage from https://keepassxc.org/download/#linux

The one thing that worked was to downgrade fontconfig to the previous version. I have blocked fontconfig updates for now, but of course I would like to remove that block as soon as possible.

Grateful for any ideas …

Last edited by sebalis (Yesterday 07:49:07)

Offline

#2 2026-06-07 01:35:29

sebalis
Member
Registered: 2016-12-22
Posts: 20

Re: [SOLVED] keepassxc crashes with fontconfig 2.18.1

fc-cache -r has fixed the problem. I did check the other threads briefly but only searched for KeePassXC, not fontconfig – otherwise I would have found this one, where I have now replied. Thanks :-)

Last edited by sebalis (2026-06-07 01:46:52)

Offline

#3 2026-06-07 10:58:15

PUE
Member
From: Earth/Europe/Austria
Registered: 2009-05-09
Posts: 52

Re: [SOLVED] keepassxc crashes with fontconfig 2.18.1

Oh wow, thanks!
I noticed messed up fonts in my console and dmenu since fontconfig 2.18. It looked like a messed up serif font instead of the usual clean sans.
Just now I noticed that keepassxc was segfaulting and found an issue connected to botan and downgrading did not solve it.
It turns out fontconfig was at fault all along!
Running fc-cache -r fixed it for me, thanks!

Offline

#4 Yesterday 05:56:38

Haakon
Member
From: Bergen, Norway
Registered: 2004-05-09
Posts: 110

Re: [SOLVED] keepassxc crashes with fontconfig 2.18.1

sebalis, could you fix the typo in the title to help searchers? It says 2.1.18, but you meant 2.18.1.

Offline

#5 Yesterday 07:49:33

sebalis
Member
Registered: 2016-12-22
Posts: 20

Re: [SOLVED] keepassxc crashes with fontconfig 2.18.1

Yes, of course. Thanks for pointing out the error, I have changed the subject now.

Offline

Board footer

Powered by FluxBB