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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/286175

Title:
  evince crashed with SIGSEGV in FcConfigSubstituteWithPat()

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to