[Bug 342717] Re: fc-cache segfaults when scanning an italic BDF font with empty SETWIDTH_NAME

Danny Guinther DannyGuinther at gmail.com
Sun Dec 22 14:36:22 UTC 2013


Related to the security issue, I don't know if the attached font is
segfaulting for the same reason, but I had a session ending segfault
when running fc-cache -fv. I went through the ~3000 custom fonts I have,
and this is the only one I could find that segfaults. Though oddly, the
segfault only killed my gnome-session the first time.

I don't know if it's a fontconfig issue or a gnome issue, but with the
font in a font load path other gnome issues occur as well: If gnome is
locked, the unlock dialog won't appear. If no session exists and you try
to login, the login seems to succeed, but the desktop never loads.
Removing the font resolves these issues.

Running fontconfig version 2.11.0 on Trusty.

** Attachment added: "Font that causes a segfault when running fc-cache -fv"
   https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/342717/+attachment/3934285/+files/ahronbd.ttf

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fontconfig in Ubuntu.
https://bugs.launchpad.net/bugs/342717

Title:
  fc-cache segfaults when scanning an italic BDF font with empty
  SETWIDTH_NAME

Status in “fontconfig” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: fontconfig

  Steps to reproduce:
  1. Save the attached .bdf font into an empty, temporary directory.
  2. Run the following command:
      fc-cache .

  Expected results:
  - fc-cache scans the directory, finds no usable fonts, quits cleanly.

  Actual results:
  - Segmentation fault.

  Notes: Deleting either of the properties in the font prevents the
  crash, as does changing the value of "SETWIDTH_NAME" to be non-empty.

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 8.10
  Package: fontconfig 2.6.0-1ubuntu4
  ProcEnviron:
   PATH=/home/username/bin:/home/username/bin-shared:/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_AU.UTF-8
   SHELL=/bin/bash
  SourcePackage: fontconfig
  Uname: Linux 2.6.27-11-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/342717/+subscriptions



More information about the foundations-bugs mailing list