stable

fontconfig-2.13.94-5.fc34

FEDORA-2022-1b9895f2c2 created by tagoh 2 years ago for Fedora 34

This release fixes the memory leak which causes aborting on fc-cat when opening cache files for non-existing font files. also, unexpected matching on postscriptname property.

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2022-1b9895f2c2

This update has been submitted for testing by tagoh.

2 years ago

This update's test gating status has been changed to 'waiting'.

2 years ago

This update's test gating status has been changed to 'failed'.

2 years ago

This update's test gating status has been changed to 'passed'.

2 years ago

This update has been pushed to testing.

2 years ago
BZ#1914716 [abrt] fontconfig: FcCacheFini(): fc-cat killed by SIGABRT
User Icon mitradranirban commented & provided feedback 2 years ago

I get core dump followed by fc-cat: fccache.c:807: FcCacheFini: Assertion `fcCacheChains[i] == NULL' failed. Aborted (core dumped) in my f34

User Icon tagoh commented & provided feedback 2 years ago

With this update? is it reproducible? how? please provide more information on it. thanks.

User Icon mitradranirban commented & provided feedback 2 years ago

Actually the command gives lots of output on terminal about every font and character range present and at the end gives this message. fccache.c:807: FcCacheFini: Assertion `fcCacheChains[i] == NULL' failed. Aborted (core dumped) It may be the intended behaviour

BZ#1914716 [abrt] fontconfig: FcCacheFini(): fc-cat killed by SIGABRT
User Icon tagoh commented & provided feedback 2 years ago

That sounds like there are some cache files causing this. this assertion means there is some memory leaks. the assertion shouldn't be happened. please add some information on that bug. We need to investigate the problem. please try to figure out which the fonts directory fc-cat asserts. you can try fc-cat /usr/share/fonts say. if it fails, try to dig it down such as fc-cat /usr/share/fonts/blahblahblah. if no assertion happens, it may fails at /usr/share/X11/fonts/Type1, /usr/share/X11/fonts/TTF, /usr/local/share/fonts, ~/.fonts, and/or ~/.local/share/fonts.

Thank you for your help.

User Icon mitradranirban commented & provided feedback 2 years ago

$ fc-cat > fc-cat.txt /usr/share/X11/fonts/Type1: No such file or directory /usr/share/X11/fonts/TTF: No such file or directory /home/artim/.local/share/fonts: No such file or directory /home/artim/.local/share/flatpak/exports/share/fonts: No such file or directory /var/lib/flatpak/exports/share/fonts: No such file or directory /usr/local/share/fonts: No such file or directory fc-cat: fccache.c:807: FcCacheFini: Assertion `fcCacheChains[i] == NULL' failed. Aborted (core dumped)

These directories do not exist in my f34-KDE Plasma. The generated text file lists all fonts in my system with their details

User Icon tagoh commented & provided feedback 2 years ago

Sorry but that doesn't help. can you try with fc-cat /path/to/fontdir one by one? That would be best if it is reproducible here but if not, I need a cache file which is reproducible this issue.

User Icon mitradranirban commented & provided feedback 2 years ago

$ fc-cat /usr/share/fonts "aajohan-comfortaa" 0 ".dir" "adobe-source-code-pro" 0 ".dir" "cantarell" 0 ".dir" "dejavu-sans-fonts" 0 ".dir" "dejavu-sans-mono-fonts" 0 ".dir" "dejavu-serif-fonts" 0 ".dir" "google-carlito-fonts" 0 ".dir" "google-droid-sans-fonts" 0 ".dir" "google-noto" 0 ".dir" "google-noto-cjk" 0 ".dir" "google-noto-emoji" 0 ".dir" "google-noto-vf" 0 ".dir" "ht-caladea-fonts" 0 ".dir" "jomolhari-fonts" 0 ".dir" "julietaula-montserrat" 0 ".dir" "khmer-os-system-fonts" 0 ".dir" "liberation-mono" 0 ".dir" "liberation-sans" 0 ".dir" "liberation-serif" 0 ".dir" "lohit-assamese" 0 ".dir" "lohit-bengali" 0 ".dir" "lohit-devanagari" 0 ".dir" "lohit-gujarati" 0 ".dir" "lohit-kannada" 0 ".dir" "lohit-odia" 0 ".dir" "lohit-tamil" 0 ".dir" "lohit-telugu" 0 ".dir" "opensymbol" 0 ".dir" "paktype-naskh-basic" 0 ".dir" "pt-sans-fonts" 0 ".dir" "sil-abyssinica-fonts" 0 ".dir" "sil-mingzat" 0 ".dir" "sil-nuosu" 0 ".dir" "sil-padauk" 0 ".dir" "smc-meera" 0 ".dir" "stix-fonts" 0 ".dir" "thai-scalable" 0 ".dir" "urw-base35" 0 ".dir" $ fc-cat ~/.fonts/ "a" 0 ".dir" "j" 0 ".dir" "l" 0 ".dir" "m" 0 ".dir" $ fc-cat ~/.local/share/fonts /home/artim/.local/share/fonts: No such file or directory fc-cat: fccache.c:807: FcCacheFini: Assertion fcCacheChains[i] == NULL' failed. Aborted (core dumped) $ fc-cat /usr/share/X11/fonts /usr/share/X11/fonts: No such file or directory fc-cat: fccache.c:807: FcCacheFini: AssertionfcCacheChains[i] == NULL' failed. Aborted (core dumped) $ fc-cat /usr/local/share/fonts /usr/local/share/fonts: No such file or directory fc-cat: fccache.c:807: FcCacheFini: Assertion fcCacheChains[i] == NULL' failed. Aborted (core dumped) $ fc-cat /usr/share/X11/fonts/Type1 /usr/share/X11/fonts/Type1: No such file or directory fc-cat: fccache.c:807: FcCacheFini: AssertionfcCacheChains[i] == NULL' failed. Aborted (core dumped) $ fc-cat /usr/share/X11/fonts/TTF /usr/share/X11/fonts/TTF: No such file or directory fc-cat: fccache.c:807: FcCacheFini: Assertion fcCacheChains[i] == NULL' failed. Aborted (core dumped) $ fc-cat /var/lib/flatpak/exports/share/fonts /var/lib/flatpak/exports/share/fonts: No such file or directory fc-cat: fccache.c:807: FcCacheFini: AssertionfcCacheChains[i] == NULL' failed. Aborted (core dumped) Hope that helps

User Icon tagoh commented & provided feedback 2 years ago

Well, I tried to install F34 from Live and make sure if I have the latest packages installed. then, I ran fc-cat /usr/local/share/fonts. I can see the assertion happened. After confirming the problem, I followed the above steps of the dnf command to install the updating package. then, tried it again. no assertions.

So I confirmed the issue was fixed by updates. please make sure again if you have fontconfig-2.13.94-5.fc34 installed. thanks.

BZ#1914716 [abrt] fontconfig: FcCacheFini(): fc-cat killed by SIGABRT
User Icon mitradranirban commented & provided feedback 2 years ago
karma

I installed the update again sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-1b9895f2c2 Now I am seeing $ fc-cat /usr/local/share/fonts /usr/local/share/fonts: No such file or directory Probably the install was not proper last time

This update has been submitted for stable by bodhi.

2 years ago

This update has been pushed to stable.

2 years ago

Please login to add feedback.

Metadata
Type
bugfix
Karma
1
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
14 days
Dates
submitted
2 years ago
in testing
2 years ago
in stable
2 years ago
BZ#1914716 [abrt] fontconfig: FcCacheFini(): fc-cat killed by SIGABRT
0
1
BZ#1946871 fc-match ":postscriptname=LiberationSans" returns LiberationSansNarrow
0
0

Automated Test Results