[Bug 820134]
Akiro
820134 at bugs.launchpad.net
Fri Apr 27 09:46:01 UTC 2012
updated with FreeBSD and NetBSD support.
--
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/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:
New
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 at goats2 /etc/fonts $ lsb_release -rd
Description: Ubuntu 10.04.2 LTS
Release: 10.04
antarus at 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
More information about the foundations-bugs
mailing list