Bug#1051683: libfontconfig1: "out of memory" errors when the working directory was deleted
Paul Wise
pabs at debian.org
Mon Sep 11 11:02:15 BST 2023
Package: libfontconfig1
Version: 2.14.2-5
Severity: minor
Usertags: warnings
When I run any program that uses fontconfig in a working directory that
doesn't exist, I get "out of memory" errors. The same thing does not
happen when the current directory does exist. The fontconfig library
seems to work fine in both cases, so the error seems to be spurious.
The lack of a valid working directory should not affect fontconfig
anyway, because it only works on files in /etc and ~/.config AFAIK.
$ mkdir foo ; ( cd foo ; sleep 5s ; fc-match > /dev/null ) & rmdir foo ; sleep 10s
[1] 2359576
Fontconfig error: "/etc/fonts/fonts.conf", line 86: out of memory
Fontconfig error: "/etc/fonts/fonts.conf", line 91: out of memory
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
[1]+ Done ( cd foo; sleep 5s; fc-match )
$ mkdir foo ; ( cd foo ; sleep 5s ; fc-match > /dev/null ) & echo not rmdir foo ; sleep 10s
[1] 2359806
not rmdir foo
[1]+ Done ( cd foo; sleep 5s; fc-match )
-- System Information:
Debian Release: trixie/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.4.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libfontconfig1 depends on:
ii fontconfig-config 2.14.2-5
ii libc6 2.37-7
ii libexpat1 2.5.0-2
ii libfreetype6 2.13.2+dfsg-1
libfontconfig1 recommends no packages.
libfontconfig1 suggests no packages.
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20230911/e4d36b55/attachment.sig>
More information about the Pkg-freedesktop-maintainers
mailing list