Fontconfig error: "/etc/fonts/conf.d/65-khmer.conf", line 14: out of memory

Bug #1272862 reported by Marius Gedminas on 2014-01-26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
fonts-khmeros (Ubuntu)
ubuntu-release-upgrader (Ubuntu)

Bug Description

Ever since gnome 3.10 showed up in the gnome3-team PPA for saucy I've been seeing these three errors repeated on the console when launching GUI apps:

Fontconfig error: "/etc/fonts/conf.d/65-khmer.conf", line 14: out of memory
Fontconfig error: "/etc/fonts/conf.d/65-khmer.conf", line 23: out of memory
Fontconfig error: "/etc/fonts/conf.d/65-khmer.conf", line 32: out of memory

Even running dot from graphviz to produce an image prints these errors.

This did not happen with fontconfig 2.10.93-0ubuntu1.

/etc/fonts/conf.d/65-khmer.conf looks like a simple file with no fancy stuff in it (attached, just in case).

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: fontconfig 2.11.0-0ubuntu1~saucy1 [origin: LP-PPA-gnome3-team-gnome3]
Uname: Linux 3.13.0-031300rc7-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Sun Jan 26 11:04:58 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-07-25 (549 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
SourcePackage: fontconfig
UpgradeStatus: Upgraded to saucy on 2013-10-17 (100 days ago)

Marius Gedminas (mgedmin) wrote :
Oleksii Chyrkov (fess89) wrote :

This bug also affects me on Ubuntu 13.10 when running various apps from console (for example LibreOffice Writer).

Miguel Carranza (miguel-fcreal) wrote :

i have exactly the same problem, even in the same lines, since i update to gnome 3.10. now i cant even log in. i'm using ubuntu gnome 13.10 32 bits

Hristo Erinin (zorlem) wrote :

This error is reported during the upgrade from 13.10 to 14.04 (alpha/beta) in the console output.

Marius Gedminas (mgedmin) wrote :

The warnings disappeared for me after I did `apt-get purge fonts-khmeros-core`. (I was curious if they would just change to mention some other config file, but no, they're gone.)

Adam Niedling (krychek) on 2014-05-07
tags: added: trusty
Adam Niedling (krychek) wrote :

I'm using unity, not gnome and I also have this problem. I don't think it's related to gnome.

no longer affects: ubuntu (Ubuntu)
auquicu (aebsbkrs) wrote :

Upgraded to trusty and started getting precisely the same three error messages.
After "apt-get purge fonts-khmeros-core" the errors went away.
After "apt-get install fonts-khmeros-core" the errors did not come back.
Maybe something was wrong in /etc/fonts/conf.d/65-khmer.conf.
The bad 65-khmer.conf and the working 65-khmer.conf differ by three occurrences of <match target="font"> (with corresponding </match>). These three occurrences cause the three error messages.
Of course the "out of memory" points to a fontconfig bug.

Harri Luuppala (harri-luuppala) wrote :

After upgrade from 12.04 LTS to 14.04 LTS got this error message with three fonts "/etc/fonts/conf.d/65-khmer.conf"

# uname -a
Linux harri-Veriton-X2610G 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Starting firefox from shell did show the issue.
SOLVED (thanks to Marius Gedminas' propsal) by `sudo apt-get purge fonts-khmeros-core`

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers