fontconfig segmentation fault during package installation

Bug #1259510 reported by Davi Medrade
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fontconfig (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

During update, while doing post-install processing, apt-get reports that the process died with a SIGSEGV, and /var/log/fontconfig.log has only one line: "Segmentation fault (core dumped)".

I realize that this is not enough information, but I don't know what other information would be relevant (and/or how to obtain it), so I'd appreciate it if anyone could tell me what other information about my system or what other logs I need to add.

A few days earlier, I had a problem where I couldn't log in, and it turned out to be a segfault in libfreetype.so. After I had copied several fonts from a Windows partition, fc-cache crashed and that seems to be what caused the segfaults in FreeType. I realized that the fonts I copied from the Windows partition had permissions 640, so they weren't readable when I ran fc-cache from my regular user account. After I chmod'ed them to 644 and ran fc-cache, the FreeType segfaults stopped and I was able to log back into X, but ever since then, whenever I try to update fontconfig, it segfaults in the post-install step and apt-get reports one package "not fully installed" (or something to that effect).

I don't know if both problems are related. I just mentioned the fc-cache/libfreetype issue because it seemed odd to me that two font-related packages would start segfaulting within days of each other.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: fontconfig 2.11.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.12.0-5.13-generic 3.12.2
Uname: Linux 3.12.0-5-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.12.7-0ubuntu1
Architecture: i386
CurrentDesktop: Unity
Date: Tue Dec 10 09:12:19 2013
InstallationDate: Installed on 2013-12-01 (9 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131130)
SourcePackage: fontconfig
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Davi Medrade (davimedrade) wrote :
Revision history for this message
Davi Medrade (davimedrade) wrote :

Now I can't do an apt-get dist-upgrade because new packages that depend on fontconfig don't install due to apt not being able to finish setting it up.

For example:

dpkg: dependency problems prevent configuration of libpango-1.0-0:i386:
 libpango-1.0-0:i386 depends on fontconfig (>= 2.1.91); however:
  Package fontconfig is not configured yet.

dpkg: error processing libpango-1.0-0:i386 (--configure):
 dependency problems - leaving unconfigured

summary: - segmentation fault
+ fontconfig segmentation fault during package installation
Revision history for this message
niv (nivw2008) wrote :

To solve this error when upgrading 14.04->14.10 I ran:
$ dpkg -D40 -i ~/Downloads/fontconfig_2.11.0-0ubuntu4.1_amd64.deb
Then I notice this file caused the error, so I seek the packge owning it:
$ dpkg -S /usr/share/fonts/truetype/unfonts-core/UnBatangBold.ttf
I then remove that package:
$ sudo apt-get remove fonts-unfonts-core
I know resume the pakcages install:
$ sudo apt-get install -f

which works ok now.

Changed in fontconfig (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.