Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: fontconfig (Ubuntu)
       Status: New => Confirmed

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

Title:
  libfontconfig causes SIGBUS due to mmap and NFS interaction.

Status in Fontconfig - Font Configuration Library:
  Fix Released
Status in “fontconfig” package in Ubuntu:
  Confirmed

Bug description:
  https://bugs.freedesktop.org/show_bug.cgi?id=39278

  Summarized:

  man mmap specifies the occasions when sigbus is sent:

         SIGBUS Attempted  access  to  a  portion  of the buffer that does not 
correspond to the file (for
                example, beyond the end of the file, including the case where 
another  process  has  trun‐
                cated the file).

  If users are using homedirectories on NFS; a simple NFS failure may
  cause a file size to change.

  Users originally reported this problem running eclipse and seeing 3-4
  crashes per day.

  I believe the workaround we are proposing is to modify
  /etc/fonts/fonts.conf

  <!-- Font cache directory list -->

          <cachedir>/var/cache/fontconfig</cachedir>
          <cachedir>~/.fontconfig</cachedir>
          <config>
  and just remove the ~/.fontconfig section (possibly replacing it with 
something on local disk if that is supported.)

  
  antarus@goats2 /etc/fonts $ lsb_release -rd
  Description:    Ubuntu 10.04.2 LTS
  Release:        10.04

  
  antarus@goats2 /etc/fonts $ apt-cache policy fontconfig
  fontconfig:
    Installed: 2.8.0-2ubuntu1
    Candidate: 2.8.0-2ubuntu1

  I expect fontconfig to handle mmap's properly. Upstream is aware of the 
problem but I don't see a fix yet.
  The application SIGBUS's

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to