Subject: pkg/29837: pkgsrc/fontconfig (and ethereal and firefox) core dumps on TrueType fonts
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <rquinn@sec.sprint.net>
List: pkgsrc-bugs
Date: 03/30/2005 16:01:00
>Number:         29837
>Category:       pkg
>Synopsis:       pkgsrc/fontconfig (and ethereal and firefox) core dumps on TrueType fonts
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 30 16:01:00 +0000 2005
>Originator:     Rob Quinn
>Release:        pkgsrc-current, Solaris2.8
>Organization:
>Environment:
>Description:
fontconfig (and packages that use it, like ethereal and firefox) crash on the openwin TrueType directory.  This probably isn't a pkgsrc bug, but a good work around is needed since this makes the latest firefox (with security fixes) unusable on my Solaris machines.

>How-To-Repeat:
#fc-cache -v
fc-cache: "/usr/pkg/lib/X11/fonts": skipping, 0 fonts, 8 dirs
fc-cache: "/usr/pkg/lib/X11/fonts/100dpi": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/pkg/lib/X11/fonts/75dpi": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/pkg/lib/X11/fonts/PEX": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/pkg/lib/X11/fonts/Speedo": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/pkg/lib/X11/fonts/Type1": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/pkg/lib/X11/fonts/cyrillic": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/pkg/lib/X11/fonts/local": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/pkg/lib/X11/fonts/misc": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/pkg/lib/X11/fonts/TTF": skipping, no such directory
fc-cache: "/usr/pkg/lib/X11/fonts/Type1": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/openwin/lib/X11/fonts": caching, 0 fonts, 13 dirs
fc-cache: "/usr/openwin/lib/X11/fonts/TrueType": Bus error (core dumped)

#ethereal 
Bus error (core dumped)

>Fix:
(re)move /usr/openwin/lib/X11/fonts/TrueType/ directory.