[Bug 286175] Re: evince crashed with SIGSEGV in FcConfigSubstituteWithPat()

Sagawa 286175 at bugs.launchpad.net
Sun Aug 28 08:24:49 UTC 2011


I guess unmasking FPU's denormal exception flag is a trigger of this
bug.

I made a small source code, bug.c, to demonstrate it.

Please compile it with following instruction:
| % gcc -o bug bug.c -lfontconfig
Then run it.
| % ./bug
| zsh: floating point exception  ./bug
The code crashed with SIGFPE.

But the following:
| % gcc -DBUG_OFF -o bug bug.c -lfontconfig
| % ./bug
It works fine.

** Attachment added: "Proof of concept"
   https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/286175/+attachment/2325297/+files/bug.c

-- 
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/286175

Title:
  evince crashed with SIGSEGV in FcConfigSubstituteWithPat()

Status in “cairo” package in Ubuntu:
  Confirmed
Status in “fontconfig” package in Ubuntu:
  Confirmed
Status in “cairo” source package in Intrepid:
  Won't Fix
Status in “fontconfig” source package in Intrepid:
  Won't Fix

Bug description:
  Binary package hint: evince

  Opening a pdf document from the web.

  Crashed before it was able to render anything.

  Link: http://www.copyright.gov/history/1790act.pdf

  STEPS TO REPRODUCE:
  1. Make sure GNOME is running, evince gets fontconfig info from another library (it doesn't access FC directly)
  2. Open evince on any file, then close it.
  3. Install or remove a font (try mstcorefonts)
  4. Open evince with a document (i.e., try the link provided above). It SHOULD crash.

  ProblemType: Crash
  Architecture: amd64
  DistroRelease: Ubuntu 8.10
  ExecutablePath: /usr/bin/evince
  NonfreeKernelModules: nvidia
  Package: evince 2.24.0-0ubuntu2
  ProcAttrCurrent: unconfined
  ProcCmdline: evince file:///home/username/Documents/Grad_School/SI-519/SI519%20-%20SyllabusF2008.%20Aug.%2026.pdf
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  Signal: 11
  SourcePackage: evince
  StacktraceTop:
   FcConfigSubstituteWithPat ()
   GlobalParams::getDisplayFont (this=0x2989190, 
   CairoFont::create (gfxFont=0x7fc1eeb14f70, 
   CairoFontEngine::getFont (this=0x7fc1eea017e0, 
   CairoOutputDev::updateFont (this=0x7fc1eea020a0,
  Title: evince crashed with SIGSEGV in FcConfigSubstituteWithPat()
  Uname: Linux 2.6.27-7-generic x86_64
  UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev sambashare video

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




More information about the foundations-bugs mailing list