Bug 134386
| Summary: | mkfontdir/fc-cache segfault when scanning directory containing large Type 1 font collection | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Derek P. Moore <derek.p.moore> | ||||
| Component: | freetype | Assignee: | Carl Worth (Ampere) <cworth> | ||||
| Status: | CLOSED CANTFIX | QA Contact: | Brock Organ <borgan> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | xgl-maint | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-10-30 15:04:44 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Derek P. Moore
2004-10-01 21:30:09 UTC
Downgrading from Rawhide to the following packages fixed most of the font problems I was experiencing: xorg-x11-6.8.0-4 freetype-2.1.7-4 fontconfig-2.2.3-2 fc-cache, mkfontdir, etc. no longer segfault After the downgrade, however, rhgb, gdm, and gnome-session all take an extremely long time to start up. Once you've waited long enough for your GNOME session to start, the rest of the experience in X seems back to normal. I've upgraded xorg-x11 and fontconfig to Rawhide (xorg-x11-6.8.1-4, fontconfig-2.2.3-4), and the segfault problems haven't come back. I'm pretty sure it's the new freetype causing the problems, so I've moved this to a bug in the freetype component. Since downgrading in my previous comment and since upgrading xorg-x11, I have been having one small problem with the font subsystem confusing a few fonts (particularly noticable when using a web browser). I haven't restarted X or xfs since upgrading fontconfig, however, so I'll post a screenshot if I'm still having the font confusion problem after committing this bug update and restarting X/xfs. A few fonts are still being confused by the font subsystem. See the attached screenshot for details. Notice the weird font being used in the Slashdot headings. (The font confusion problem started after the initial downgrade to get X working again, and it still persists.) rhgb, gdm, and gnome-session are still taking a longer-than-normal amount of time to start up. It was taking much longer after I'd downgraded everything two days ago. Now that I've updated xorg-x11 and fontconfig to Rawhide, things are starting up a bit faster than last time, but it's still an abnormally long wait for things to get going. Created attachment 104752 [details]
Screenshot of fonts being confused by the font subsystem
Your startup times may improve if you run fc-cache as root. Do the crashes happen on any particular fonts, or is it a new font each time? If it happens only on particular fonts, which ones? The font mismatching seems most likely to be a fontconfig issue to me. Could you file a fontconfig bug at http://bugs.freedesktop.org with component "fontconfig". specifying what font you were expecting to get and what font you are actually getting. If you have created a .fonts.conf file in your home directory or otherwise changed the fontconfig directory, please make sure you are attaching that information. I agree that this appears to be either a freetype bug, or perhaps something relying on internal freetype interfaces which have possibly changed (that happens far too often). We do not have legal access to these proprietary fonts however, but can you determine which specific fonts cause this problem? That might help to narrow the problem down. Moving off of FC3Target. Marking as NEEDINFO. The long-time-to-start and font confusion problems are likely because fc-cache is also having problems with these fonts. Closing per lack of response to previous request for information. This bug was originally filed against FC3 and has remained in NEEDINFO state for quite some time. Many packages and bugfixes have been made since the last substantive bug report. Note that FC3 and FC4 are supported by Fedora Legacy for security fixes only. Please install a still supported version and retest. If it still occurs on FC5 or FC6, please reopen and assign to the correct version. Otherwise, if this a security issue, please change the product to Fedora Legacy. Thanks, and we are sorry that we did not get to this bug earlier. |