fc-cache crashed with SIGSEGV in IA__FcStrCmp()

Bug #1232711 reported by Mark Bennison on 2013-09-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fontconfig (Ubuntu)

Bug Description

This error occurred during the upgrade to Ubuntu 13.10 final beta from a fully patched 13.04

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: fontconfig 2.10.93-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-31.46-generic
Uname: Linux 3.8.0-31-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
Date: Sun Sep 29 11:33:18 2013
ExecutablePath: /usr/bin/fc-cache
InstallationDate: Installed on 2013-06-30 (90 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
ProcCmdline: fc-cache -s -f -v
 Segfault happened at: 0x7fca2c41ad04 <FcStrSetMember+52>: movzbl -0x1(%rax),%ecx
 PC (0x7fca2c41ad04) ok
 source "-0x1(%rax)" (0x00000021) not located in a known VMA region (needed readable region)!
 destination "%ecx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: fontconfig
 FcStrSetMember () from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
 ?? () from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
 FcStrSetAdd () from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
 ?? () from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
 ?? () from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
Title: fc-cache crashed with SIGSEGV in FcStrSetMember()
UpgradeStatus: Upgraded to saucy on 2013-09-29 (0 days ago)

Mark Bennison (mark-bennison) wrote :
information type: Private → Public

 IA__FcStrCmp (s2=0x2430000 "/usr/share/fonts/truetype/google-fonts/Caudex-Bold.ttf", s1=0x22 <Address 0x22 out of bounds>) at fcstr.c:237
 IA__FcStrSetMember (set=set@entry=0x24915c0, s=s@entry=0x2430000 "/usr/share/fonts/truetype/google-fonts/Caudex-Bold.ttf") at fcstr.c:1223
 _FcStrSetAppend (set=set@entry=0x24915c0, s=s@entry=0x2430000 "/usr/share/fonts/truetype/google-fonts/Caudex-Bold.ttf") at fcstr.c:1194
 IA__FcStrSetAdd (set=set@entry=0x24915c0, s=s@entry=0x249da50 "/usr/share/fonts/truetype/google-fonts/Caudex-Bold.ttf") at fcstr.c:1246
 FcDirScanConfig (set=0x242ead0, dirs=0x243cb60, blanks=<optimized out>, dir=<optimized out>, force=<optimized out>, config=0x242e010) at fcdir.c:205

Changed in fontconfig (Ubuntu):
importance: Undecided → Medium
summary: - fc-cache crashed with SIGSEGV in FcStrSetMember()
+ fc-cache crashed with SIGSEGV in IA__FcStrCmp()
tags: removed: need-amd64-retrace
Mark Bennison (mark-bennison) wrote :

After looking at /var/log/fontconfig.log I see the last entry is

/usr/share/fonts/truetype/google-fonts: Segmentation fault (core dumped)

Removing this folder then lets fontconfig complete.

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

Other bug subscribers