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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to