You are not logged in.
Hi all,
today I did my daily (excluding Saturday) "pacman -Syu", as a result KDE stopped showing its logging screen (there was just a black screen with my mouse cursor moving). I was able to switch sessions (Ctrl+Alt+F3), login from command line and start with "startplasma-wayland", but the usual login screen didn't work.
After some downgrading, the only 2 packages left to downgrade are:
fontconfig-2:2.17.0-1
lib32-fontconfig-2:2.17.0-1
Updating those 2 packages results in the black screen with cursor instead of KDE login screen.
After again downgrading, the login problem is again gone:
pacman -U [url]https://archive.archlinux.org/packages/f/fontconfig/fontconfig-2:2.16.2-1-x86_64.pkg.tar.zst[/url] [url]https://archive.archlinux.org/packages/l/lib32-fontconfig/lib32-fontconfig-2:2.16.2-1-x86_64.pkg.tar.zst[/url]
When trying to update `fontconfig` or `lib32-contconfig`, there are errors on the command line:
➜ ~ sudo pacman -S fontconfig
resolving dependencies...
looking for conflicting packages...
Packages (1) fontconfig-2:2.17.0-1
Total Installed Size: 1.12 MiB
Net Upgrade Size: 0.01 MiB
:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [#######################################################################################] 100%
(1/1) checking package integrity [#######################################################################################] 100%
(1/1) loading package files [#######################################################################################] 100%
(1/1) checking for file conflicts [#######################################################################################] 100%
(1/1) checking available disk space [#######################################################################################] 100%
:: Processing package changes...
(1/1) upgrading fontconfig [#######################################################################################] 100%
Rebuilding fontconfig cache...
*** buffer overflow detected ***: terminated
/tmp/alpm_UAE6YC/.INSTALL: line 1: 2220 Aborted (core dumped) /usr/bin/fc-cache -rs
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating fontconfig configuration...
(3/5) Refreshing PackageKit...
(4/5) Updating fontconfig cache...
*** buffer overflow detected ***: terminated
error: command terminated by signal 6: Aborted
(5/5) Updating 32-bit fontconfig cache...
Here is what requires both:
➜ ~ sudo pacman -R lib32-fontconfig fontconfig
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing fontconfig breaks dependency 'fontconfig' required by appstream
:: removing fontconfig breaks dependency 'fontconfig' required by appstream-glib
:: removing fontconfig breaks dependency 'fontconfig' required by avidemux-cli
:: removing fontconfig breaks dependency 'fontconfig' required by cairo
:: removing fontconfig breaks dependency 'fontconfig' required by efl
:: removing fontconfig breaks dependency 'fontconfig' required by electron31
:: removing fontconfig breaks dependency 'libfontconfig.so=1-64' required by electron31
:: removing fontconfig breaks dependency 'fontconfig' required by electron32
:: removing fontconfig breaks dependency 'libfontconfig.so=1-64' required by electron32
:: removing fontconfig breaks dependency 'fontconfig' required by electron33
:: removing fontconfig breaks dependency 'libfontconfig.so=1-64' required by electron33
:: removing fontconfig breaks dependency 'fontconfig' required by electron34
:: removing fontconfig breaks dependency 'libfontconfig.so=1-64' required by electron34
:: removing fontconfig breaks dependency 'fontconfig' required by electron35
:: removing fontconfig breaks dependency 'libfontconfig.so=1-64' required by electron35
:: removing fontconfig breaks dependency 'fontconfig' required by electron36
:: removing fontconfig breaks dependency 'libfontconfig.so=1-64' required by electron36
:: removing fontconfig breaks dependency 'fontconfig' required by ffmpeg
:: removing fontconfig breaks dependency 'fontconfig' required by ffmpeg4.4
:: removing fontconfig breaks dependency 'fontconfig' required by fltk
:: removing fontconfig breaks dependency 'libfontconfig.so=1-64' required by fltk
:: removing fontconfig breaks dependency 'fontconfig' required by gd
:: removing fontconfig breaks dependency 'fontconfig' required by ghostscript
:: removing fontconfig breaks dependency 'fontconfig' required by gimp
:: removing fontconfig breaks dependency 'fontconfig' required by gtk2
:: removing fontconfig breaks dependency 'fontconfig' required by gtk3
:: removing fontconfig breaks dependency 'fontconfig' required by gtk4
:: removing fontconfig breaks dependency 'fontconfig' required by imagemagick
:: removing lib32-fontconfig breaks dependency 'lib32-fontconfig' required by lib32-cairo
:: removing fontconfig breaks dependency 'fontconfig' required by libass
:: removing fontconfig breaks dependency 'fontconfig' required by libbluray
:: removing fontconfig breaks dependency 'fontconfig' required by libcupsfilters
:: removing fontconfig breaks dependency 'fontconfig' required by libgdiplus
:: removing fontconfig breaks dependency 'fontconfig' required by libreoffice-still
:: removing fontconfig breaks dependency 'fontconfig' required by libxft
:: removing fontconfig breaks dependency 'fontconfig' required by openscenegraph
:: removing fontconfig breaks dependency 'fontconfig' required by pango
:: removing fontconfig breaks dependency 'fontconfig' required by plasma-workspace
:: removing fontconfig breaks dependency 'fontconfig' required by poppler
:: removing fontconfig breaks dependency 'fontconfig' required by qt5-base
:: removing fontconfig breaks dependency 'fontconfig' required by qt6-base
:: removing fontconfig breaks dependency 'fontconfig' required by qt6-webengine
:: removing lib32-fontconfig breaks dependency 'lib32-fontconfig' required by steam
:: removing fontconfig breaks dependency 'fontconfig' required by texlive-bin
:: removing fontconfig breaks dependency 'fontconfig' required by vlc
:: removing fontconfig breaks dependency 'fontconfig' required by webkit2gtk
:: removing fontconfig breaks dependency 'fontconfig' required by webkit2gtk-4.1
:: removing fontconfig breaks dependency 'fontconfig' required by wine
:: removing fontconfig breaks dependency 'fontconfig' required by wxwidgets-gtk3
:: removing fontconfig breaks dependency 'fontconfig' required by xorg-x11perf
Where do I go from here? Do I need to run some command prior to updating the packages? Do I need to report a bug somewhere?
I would like to keep my system up-to-date.
Best regards and thanks,
Simeon
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The update problem was resolved by removing font: LateefGR-Regular.ttf
The package for that was:
ttf-sil-lateef
For others, removing this font helped: DaiBannaSIL-Bold.ttf
The bug is tracked here: https://gitlab.freedesktop.org/fontconf … issues/481
Last edited by trancexpress (Yesterday 14:58:14)
Offline
"/usr/bin/fc-cache -rs" segfaults and leaves a core dump behind, https://wiki.archlinux.org/title/Core_d … _core_dump
sudo fc-cache -rsv
might hint which font is causing this
Offline
Thank you for the help!
"/usr/bin/fc-cache -rs" segfaults and leaves a core dump behind, https://wiki.archlinux.org/title/Core_d … _core_dump
I'm not sure that is the case, am I missing a core dump from "fc-cache" below?
➜ ~ ls -ltr /var/lib/systemd/coredump/
total 323556
-rw-r-----+ 1 root root 65565019 Jun 19 21:37 core.steamwebhelper.1000.9b238c610a7b451db1a52b841b24dd1c.2327.1750358256000000.zst
-rw-r-----+ 1 root root 821393 Jun 20 15:13 core.veracrypt.1000.72bbcb4201e941f388b56f720f6cf9a3.69387.1750421634000000.zst
-rw-r-----+ 1 root root 6437405 Jun 24 16:49 core.dolphin.1000.0aad9f2f2a654158a67bdb1b810491a2.103251.1750772945000000.zst
-rw-r----- 1 root root 11127271 Jun 26 20:28 core.kwin_wayland.1000.892206bfcc3a4cd8a5435c0810b7e5e6.1097.1750958888000000.zst
-rw-r-----+ 1 root root 15055139 Jun 26 20:28 core.Discord.1000.892206bfcc3a4cd8a5435c0810b7e5e6.5409.1750958889000000.zst
-rw-r-----+ 1 root root 110325299 Jun 26 20:28 core.librewolf.1000.892206bfcc3a4cd8a5435c0810b7e5e6.5562.1750958890000000.zst
-rw-r-----+ 1 root root 67105773 Jun 26 20:28 core.Discord.1000.892206bfcc3a4cd8a5435c0810b7e5e6.5681.1750958890000000.zst
-rw-r-----+ 1 root root 3772992 Jun 26 21:03 core.xdg-desktop-por.1000.892206bfcc3a4cd8a5435c0810b7e5e6.119645.1750961029000000.zst
-rw-r-----+ 1 root root 823480 Jun 27 13:49 core.veracrypt.1000.e7a4561d0b084332b96d3ad1e829d1f1.65573.1751021350000000.zst
-rw-r----- 1 root root 3811393 Jun 29 09:44 core.sddm-greeter-qt.972.c395b66543ba48df9036bc82bbbc6ed4.925.1751179457000000.zst
-rw-r----- 1 root root 3794347 Jun 29 09:46 core.sddm-greeter-qt.972.ce7d6a5a27064a1788c19c119912ef7e.942.1751179619000000.zst
-rw-r----- 1 root root 3803588 Jun 29 09:52 core.sddm-greeter-qt.972.ea3323047b6d4266967252bd6f9307a7.929.1751179929000000.zst
-rw-r----- 1 root root 3797457 Jun 29 10:05 core.sddm-greeter-qt.972.24be76a5dfcd49cab932703764c6ca1b.933.1751180702000000.zst
-rw-r----- 1 root root 3800411 Jun 29 10:10 core.sddm-greeter-qt.972.0cdb8b34ba264444abc70e85cb363dca.922.1751181033000000.zst
-rw-r----- 1 root root 3802337 Jun 29 10:12 core.sddm-greeter-qt.972.60cf28f01bb44f10af71960a4cf9a8bf.905.1751181134000000.zst
-rw-r----- 1 root root 3813562 Jun 29 10:15 core.sddm-greeter-qt.972.88997047907041e4b2404b8ff31a0c57.937.1751181310000000.zst
-rw-r----- 1 root root 3804685 Jun 29 10:19 core.sddm-greeter-qt.972.148269c406434356ba38ae45b472093b.941.1751181544000000.zst
-rw-r----- 1 root root 3796155 Jun 29 10:33 core.sddm-greeter-qt.972.dc81c43579434bf3a1600462ef3a630b.932.1751182406000000.zst
-rw-r-----+ 1 root root 712991 Jun 29 10:33 core.kde-open.1000.dc81c43579434bf3a1600462ef3a630b.1173.1751182439000000.zst
-rw-r----- 1 root root 3787917 Jun 29 10:41 core.sddm-greeter-qt.972.1e7579f6e95d46a59c854f4f29f652b9.946.1751182882000000.zst
-rw-r----- 1 root root 3800357 Jun 29 10:51 core.sddm-greeter-qt.972.2d0998ade9994dec817ab4463b1d1890.938.1751183517000000.zst
-rw-r----- 1 root root 3802896 Jun 29 10:58 core.sddm-greeter-qt.972.604d225a2f834c0da448c61f10fa3695.923.1751183934000000.zst
-rw-r----- 1 root root 3804803 Jun 29 12:32 core.sddm-greeter-qt.972.9456234ebd324b42841d72d7f17f65de.925.1751189562000000.zst
➜ ~ coredumpctl list
...
Thu 2025-06-26 20:28:09 EEST 1097 1000 1000 SIGABRT inaccessible /usr/bin/kwin_wayland -
Thu 2025-06-26 20:28:13 EEST 5409 1000 1000 SIGTRAP present /opt/discord/Discord 14.3M
Thu 2025-06-26 20:28:13 EEST 5562 1000 1000 SIGSEGV present /usr/lib/librewolf/librewolf 105.2M
Thu 2025-06-26 20:28:19 EEST 5681 1000 1000 SIGABRT present /opt/discord/Discord 63.9M
Thu 2025-06-26 21:03:49 EEST 119645 1000 1000 SIGSEGV present /usr/lib/xdg-desktop-portal-kde 3.5M
Fri 2025-06-27 13:49:10 EEST 65573 1000 1000 SIGABRT present /usr/bin/veracrypt 804.1K
Sun 2025-06-29 10:33:59 EEST 1173 1000 1000 SIGABRT present /usr/bin/kde-open 696.2K
➜ ~ coredumpctl info
Hint: You are currently not seeing messages from other users and the system.
Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
Pass -q to turn off this notice.
PID: 1173 (kde-open)
UID: 1000 (sandreev)
GID: 1000 (sandreev)
Signal: 6 (ABRT)
Timestamp: Sun 2025-06-29 10:33:59 EEST (2h 24min ago)
Command Line: kde-open
Executable: /usr/bin/kde-open
Control Group: /user.slice/user-1000.slice/session-2.scope
Unit: session-2.scope
Slice: user-1000.slice
Session: 2
Owner UID: 1000 (sandreev)
Boot ID: dc81c43579434bf3a1600462ef3a630b
Machine ID: 433c10ccc2ea4da385beba4075176bf7
Hostname: hotride
Storage: /var/lib/systemd/coredump/core.kde-open.1000.dc81c43579434bf3a1600462ef3a630b.1173.1751182439000000.zst (present)
Size on Disk: 696.2K
Message: Process 1173 (kde-open) of user 1000 dumped core.
Stack trace of thread 1173:
#0 0x00007fe925aa774c n/a (libc.so.6 + 0x9774c)
#1 0x00007fe925a4ddc0 raise (libc.so.6 + 0x3ddc0)
#2 0x00007fe925a3557a abort (libc.so.6 + 0x2557a)
#3 0x00007fe926091217 n/a (libQt6Core.so.6 + 0x91217)
#4 0x00007fe9260920ec _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x920ec)
#5 0x00007fe9268e215a n/a (libQt6Gui.so.6 + 0xe215a)
#6 0x00007fe926998438 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt6Gui.so.6 + 0x198438)
#7 0x00007fe92616c0f5 _ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0x16c0f5)
#8 0x00007fe9269984ce _ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0x1984ce)
#9 0x00007fe9272fa766 _ZN19QApplicationPrivate4initEv (libQt6Widgets.so.6 + 0xfa766)
#10 0x000055fcfdbf8156 n/a (/usr/bin/kde-open + 0x5156)
#11 0x00007fe925a376b5 n/a (libc.so.6 + 0x276b5)
#12 0x00007fe925a37769 __libc_start_main (libc.so.6 + 0x27769)
#13 0x000055fcfdbf8e95 n/a (/usr/bin/kde-open + 0x5e95)
ELF object binary architecture: AMD x86-64
sudo fc-cache -rsv
might hint which font is causing this
Before updating:
➜ ~ sudo fc-cache -rsv
[sudo] password for root:
Font directories:
/usr/share/fonts
/usr/local/share/fonts
/usr/share/fonts/100dpi
/usr/share/fonts/75dpi
/usr/share/fonts/Adwaita
/usr/share/fonts/TTF
/usr/share/fonts/adobe-source-code-pro
/usr/share/fonts/cantarell
/usr/share/fonts/encodings
/usr/share/fonts/gnu-free
/usr/share/fonts/gsfonts
/usr/share/fonts/liberation
/usr/share/fonts/mathjax2
/usr/share/fonts/noto
/usr/share/fonts/util
/usr/share/fonts/wenquanyi
/usr/share/fonts/TTF/arabeyes
/usr/share/fonts/encodings/large
/usr/share/fonts/mathjax2/HTML-CSS
/usr/share/fonts/wenquanyi/wqy-zenhei
/usr/share/fonts/mathjax2/HTML-CSS/Asana-Math
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Pagella
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Termes
/usr/share/fonts/mathjax2/HTML-CSS/Latin-Modern
/usr/share/fonts/mathjax2/HTML-CSS/Neo-Euler
/usr/share/fonts/mathjax2/HTML-CSS/STIX-Web
/usr/share/fonts/mathjax2/HTML-CSS/TeX
/usr/share/fonts/mathjax2/HTML-CSS/Asana-Math/woff
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Pagella/woff
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Termes/woff
/usr/share/fonts/mathjax2/HTML-CSS/Latin-Modern/woff
/usr/share/fonts/mathjax2/HTML-CSS/Neo-Euler/woff
/usr/share/fonts/mathjax2/HTML-CSS/STIX-Web/woff
/usr/share/fonts/mathjax2/HTML-CSS/TeX/woff
/usr/share/fonts: caching, new cache contents: 0 fonts, 14 dirs
/usr/share/fonts/100dpi: caching, new cache contents: 398 fonts, 0 dirs
/usr/share/fonts/75dpi: caching, new cache contents: 398 fonts, 0 dirs
/usr/share/fonts/Adwaita: caching, new cache contents: 24 fonts, 0 dirs
/usr/share/fonts/TTF: caching, new cache contents: 186 fonts, 1 dirs
/usr/share/fonts/TTF/arabeyes: caching, new cache contents: 72 fonts, 0 dirs
/usr/share/fonts/adobe-source-code-pro: caching, new cache contents: 30 fonts, 0 dirs
/usr/share/fonts/cantarell: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/gnu-free: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/liberation: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/mathjax2: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS: caching, new cache contents: 0 fonts, 7 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Asana-Math: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Asana-Math/woff: caching, new cache contents: 23 fonts, 0 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Pagella: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Pagella/woff: caching, new cache contents: 23 fonts, 0 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Termes: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Termes/woff: caching, new cache contents: 23 fonts, 0 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Latin-Modern: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Latin-Modern/woff: caching, new cache contents: 24 fonts, 0 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Neo-Euler: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Neo-Euler/woff: caching, new cache contents: 17 fonts, 0 dirs
/usr/share/fonts/mathjax2/HTML-CSS/STIX-Web: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/STIX-Web/woff: caching, new cache contents: 55 fonts, 0 dirs
/usr/share/fonts/mathjax2/HTML-CSS/TeX: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/TeX/woff: caching, new cache contents: 22 fonts, 0 dirs
/usr/share/fonts/noto: caching, new cache contents: 613 fonts, 0 dirs
/usr/share/fonts/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/wenquanyi: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/wenquanyi/wqy-zenhei: caching, new cache contents: 3 fonts, 0 dirs
/usr/local/share/fonts: skipping, no such directory
/usr/share/fonts/100dpi: skipping, looped directory detected
/usr/share/fonts/75dpi: skipping, looped directory detected
/usr/share/fonts/Adwaita: skipping, looped directory detected
/usr/share/fonts/TTF: skipping, looped directory detected
/usr/share/fonts/adobe-source-code-pro: skipping, looped directory detected
/usr/share/fonts/cantarell: skipping, looped directory detected
/usr/share/fonts/encodings: skipping, looped directory detected
/usr/share/fonts/gnu-free: skipping, looped directory detected
/usr/share/fonts/gsfonts: skipping, looped directory detected
/usr/share/fonts/liberation: skipping, looped directory detected
/usr/share/fonts/mathjax2: skipping, looped directory detected
/usr/share/fonts/noto: skipping, looped directory detected
/usr/share/fonts/util: skipping, looped directory detected
/usr/share/fonts/wenquanyi: skipping, looped directory detected
/usr/share/fonts/TTF/arabeyes: skipping, looped directory detected
/usr/share/fonts/encodings/large: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS: skipping, looped directory detected
/usr/share/fonts/wenquanyi/wqy-zenhei: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Asana-Math: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Pagella: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Termes: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Latin-Modern: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Neo-Euler: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/STIX-Web: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/TeX: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Asana-Math/woff: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Pagella/woff: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Termes/woff: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Latin-Modern/woff: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Neo-Euler/woff: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/STIX-Web/woff: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/TeX/woff: skipping, looped directory detected
/var/cache/fontconfig: cleaning cache directory
fc-cache: succeeded
After updating:
➜ ~ sudo fc-cache -rsv
*** buffer overflow detected ***: terminated
Last edited by trancexpress (Yesterday 10:03:24)
Offline
I have had this exact same problem since yesterday. In my case, this also breaks gdm and (presumably) steam-native.
Last edited by epsiloneridani (Yesterday 10:26:12)
Offline
# gdb fc-cache -rs
# strace -o /tmp/fc-cache.strace fc-cache -rs
Offline
The last font that it appears to check for me is "/usr/share/fonts/dai-banna-sil/DaiBannaSIL-Bold.ttf", owned by ttf-google-fonts-git. Removing that package completely fixes the issue. Thank you!
Offline
➜ ~ sudo pacman -S fontconfig
[sudo] password for root:
resolving dependencies...
looking for conflicting packages...
Packages (1) fontconfig-2:2.17.0-1
Total Installed Size: 1.12 MiB
Net Upgrade Size: 0.01 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#######################################################################################] 100%
(1/1) checking package integrity [#######################################################################################] 100%
(1/1) loading package files [#######################################################################################] 100%
(1/1) checking for file conflicts [#######################################################################################] 100%
(1/1) checking available disk space [#######################################################################################] 100%
:: Processing package changes...
(1/1) upgrading fontconfig [#######################################################################################] 100%
Rebuilding fontconfig cache...
*** buffer overflow detected ***: terminated
/tmp/alpm_dSWm61/.INSTALL: line 1: 12305 Aborted (core dumped) /usr/bin/fc-cache -rs
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating fontconfig configuration...
(3/5) Refreshing PackageKit...
(4/5) Updating fontconfig cache...
*** buffer overflow detected ***: terminated
error: command terminated by signal 6: Aborted
(5/5) Updating 32-bit fontconfig cache...
➜ ~ gdb --args fc-cache -rs
GNU gdb (GDB) 16.3
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from fc-cache...
Downloading separate debug info for /usr/bin/fc-cache
Reading symbols from /home/sandreev/.cache/debuginfod_client/6049d5ddbe43a31103944e57a9dcd7836ef2b0c7/debuginfo...
(gdb) run
Starting program: /usr/bin/fc-cache -rs
Downloading 2.21 M separate debug info for /usr/lib/libfontconfig.so.1
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
*** buffer overflow detected ***: terminated
Program received signal SIGABRT, Aborted.
Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007ffff7dd7813 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#2 0x00007ffff7d7ddc0 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007ffff7d6557a in __GI_abort () at abort.c:73
#4 0x00007ffff7d665c9 in __libc_message_impl (fmt=fmt@entry=0x7ffff7ef2216 "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:134
#5 0x00007ffff7e64a09 in __GI___fortify_fail (msg=msg@entry=0x7ffff7ef21fd "buffer overflow detected") at fortify_fail.c:24
#6 0x00007ffff7e64374 in __GI___chk_fail () at chk_fail.c:28
#7 0x00007ffff7f4b4c1 in strcpy (__dest=<optimized out>, __src=<optimized out>, __dest=<optimized out>, __src=<optimized out>) at /usr/include/bits/string_fortified.h:81
#8 FcFontCapabilities (face=0x5555555f8250) at ../fontconfig/src/fcfreetype.c:2671
#9 FcFreeTypeQueryFaceInternal (face=0x5555555f8250, file=file@entry=0x5555555f2c10 "/usr/share/fonts/TTF/LateefGR-Regular.ttf", id=id@entry=0, cs_share=cs_share@entry=0x7fffffffd5c0, ls_share=ls_share@entry=0x7fffffffd5b8,
nm_share=nm_share@entry=0x7fffffffd5b0) at ../fontconfig/src/fcfreetype.c:1774
#10 0x00007ffff7f4d56c in IA__FcFreeTypeQueryAll (file=file@entry=0x5555555f2c10 "/usr/share/fonts/TTF/LateefGR-Regular.ttf", id=0, id@entry=4294967295, blanks=blanks@entry=0x0, count=count@entry=0x0, set=set@entry=0x5555555f2810)
at ../fontconfig/src/fcfreetype.c:2217
#11 0x00007ffff7f4daa2 in FcFileScanFontConfig (set=0x5555555f2810, file=0x5555555f2c10 "/usr/share/fonts/TTF/LateefGR-Regular.ttf", config=0x55555555f570) at ../fontconfig/src/fcdir.c:90
#12 FcFileScanConfig (set=set@entry=0x5555555f2810, dirs=dirs@entry=0x5555555f2790, file=0x5555555f2c10 "/usr/share/fonts/TTF/LateefGR-Regular.ttf", config=config@entry=0x55555555f570) at ../fontconfig/src/fcdir.c:159
#13 0x00007ffff7f4e0ec in FcDirScanConfig (set=set@entry=0x5555555f2810, dirs=dirs@entry=0x5555555f2790, dir=dir@entry=0x5555555f0fb0 "/usr/share/fonts/TTF", force=force@entry=1, config=config@entry=0x55555555f570)
at ../fontconfig/src/fcdir.c:276
#14 0x00007ffff7f4e319 in FcDirCacheScan (dir=0x5555555f0fb0 "/usr/share/fonts/TTF", config=0x55555555f570) at ../fontconfig/src/fcdir.c:356
#15 0x00007ffff7f3c7fa in IA__FcDirCacheRead (dir=0x5555555f0fb0 "/usr/share/fonts/TTF", force=0, config=0x55555555f570) at ../fontconfig/src/fcdir.c:465
#16 FcConfigAddDirList (config=config@entry=0x55555555f570, set=set@entry=FcSetSystem, dirSet=0x55555555f6c0) at ../fontconfig/src/fccfg.c:524
#17 0x00007ffff7f3c8b8 in IA__FcConfigBuildFonts (config=config@entry=0x55555555f570) at ../fontconfig/src/fccfg.c:557
#18 0x00007ffff7f3d740 in IA__FcConfigSetCurrent (config=config@entry=0x55555555f570) at ../fontconfig/src/fccfg.c:576
#19 0x00005555555561a0 in main (argc=<optimized out>, argv=0x7fffffffdb48) at ../fontconfig/fc-cache/fc-cache.c:365
➜ ~ ls -ltr /var/lib/systemd/coredump/
...
-rw-r-----+ 1 root root 204365 Jun 29 13:23 core.fc-cache.1000.794607c710dd4ecebeb4370c89054c39.12523.1751192629000000.zst
➜ ~ coredumpctl info fc-cache
Hint: You are currently not seeing messages from other users and the system.
Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
Pass -q to turn off this notice.
PID: 12523 (fc-cache)
UID: 1000 (sandreev)
GID: 1000 (sandreev)
Signal: 6 (ABRT)
Timestamp: Sun 2025-06-29 13:23:49 EEST (29s ago)
Command Line: fc-cache -rs
Executable: /usr/bin/fc-cache
Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole@4112d678a8e64eb8afaac6a4c680808c.service
Unit: user@1000.service
User Unit: app-org.kde.konsole@4112d678a8e64eb8afaac6a4c680808c.service
Slice: user-1000.slice
Owner UID: 1000 (sandreev)
Boot ID: 794607c710dd4ecebeb4370c89054c39
Machine ID: 433c10ccc2ea4da385beba4075176bf7
Hostname: hotride
Storage: /var/lib/systemd/coredump/core.fc-cache.1000.794607c710dd4ecebeb4370c89054c39.12523.1751192629000000.zst (present)
Size on Disk: 199.5K
Message: Process 12523 (fc-cache) of user 1000 dumped core.
Stack trace of thread 12523:
#0 0x00007f8b843c574c n/a (libc.so.6 + 0x9774c)
#1 0x00007f8b8436bdc0 raise (libc.so.6 + 0x3ddc0)
#2 0x00007f8b8435357a abort (libc.so.6 + 0x2557a)
#3 0x00007f8b843545c9 n/a (libc.so.6 + 0x265c9)
#4 0x00007f8b84452a09 __fortify_fail (libc.so.6 + 0x124a09)
#5 0x00007f8b84452374 __chk_fail (libc.so.6 + 0x124374)
#6 0x00007f8b845394c1 n/a (libfontconfig.so.1 + 0x1b4c1)
#7 0x00007f8b8453b56c FcFreeTypeQueryAll (libfontconfig.so.1 + 0x1d56c)
#8 0x00007f8b8453baa2 n/a (libfontconfig.so.1 + 0x1daa2)
#9 0x00007f8b8453c0ec n/a (libfontconfig.so.1 + 0x1e0ec)
#10 0x00007f8b8453c319 n/a (libfontconfig.so.1 + 0x1e319)
#11 0x00007f8b8452a7fa n/a (libfontconfig.so.1 + 0xc7fa)
#12 0x00007f8b8452a8b8 FcConfigBuildFonts (libfontconfig.so.1 + 0xc8b8)
#13 0x00007f8b8452b740 FcConfigSetCurrent (libfontconfig.so.1 + 0xd740)
#14 0x000055e33d7a71a0 n/a (/usr/bin/fc-cache + 0x21a0)
#15 0x00007f8b843556b5 n/a (libc.so.6 + 0x276b5)
#16 0x00007f8b84355769 __libc_start_main (libc.so.6 + 0x27769)
#17 0x000055e33d7a74b5 n/a (/usr/bin/fc-cache + 0x24b5)
ELF object binary architecture: AMD x86-64
So something with this font?
/usr/share/fonts/TTF/LateefGR-Regular.ttf
Offline
You can use "pacman -Qo /usr/share/fonts/TTF/LateefGR-Regular.ttf" to find out which package owns the font.
Last edited by epsiloneridani (Yesterday 10:29:35)
Offline
https://gitlab.freedesktop.org/fontconf … issues/481
Even if, doesn't justify the overflow.
Offline
Yes, I agree. This can be used for DOS attacks.
Offline
As follows from https://gitlab.freedesktop.org/fontconf … te_2982078, the crash is caused by DaiBannaSIL-Bold.ttf font. With this font removed, I have no problems with fontconfig-2:2.17.0-1.
(Dai Banna SIL is a Unicode font for New Tai Lue characters. It was installed in ttf-google-fonts-git packages from AUR, but as a matter of fact, I do not need this font at all)
Offline
➜ ~ sudo pacman -R ttf-sil-lateef
checking dependencies...
Packages (1) ttf-sil-lateef-1.200-7
Total Removed Size: 0.69 MiB
:: Do you want to remove these packages? [Y/n] Y
:: Processing package changes...
(1/1) removing ttf-sil-lateef [#######################################################################################] 100%
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Refreshing PackageKit...
(3/5) Updating fontconfig cache...
(4/5) Updating 32-bit fontconfig cache...
(5/5) Updating X fontdir indices...
➜ ~ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (2) fontconfig-2:2.17.0-1 lib32-fontconfig-2:2.17.0-1
Total Installed Size: 1.45 MiB
Net Upgrade Size: 0.01 MiB
:: Proceed with installation? [Y/n] Y
(2/2) checking keys in keyring [#######################################################################################] 100%
(2/2) checking package integrity [#######################################################################################] 100%
(2/2) loading package files [#######################################################################################] 100%
(2/2) checking for file conflicts [#######################################################################################] 100%
(2/2) checking available disk space [#######################################################################################] 100%
:: Processing package changes...
(1/2) upgrading fontconfig [#######################################################################################] 100%
Rebuilding fontconfig cache...
(2/2) upgrading lib32-fontconfig [#######################################################################################] 100%
Rebuilding 32-bit fontconfig cache...
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating fontconfig configuration...
(3/5) Refreshing PackageKit...
(4/5) Updating fontconfig cache...
(5/5) Updating 32-bit fontconfig cache...
So its gone now. I'm not sure what I needed the font for, seems to be installed from AUR...
Anyway, thank you, probably I don't need the font.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks. (there's already an open upstream bug, so not much more to do here)
Offline