Bug 118713
| Summary: | ttmkfdir segfaults | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karsten Hopp <karsten> |
| Component: | ttmkfdir | Assignee: | Yu Shao <yshao> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | eng-i18n-bugs, mharris |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-03-19 18:59:26 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: | |||
Fixed in 3.0.9-11, see also my comments here: http://bugs.xfree86.org/show_bug.cgi?id=420 |
Description of problem: ttmkfdir -d /usr/share/fonts/ja/TrueType -o /usr/share/fonts/ja/TrueType/fonts.scale segfaults (as an example, there were several segfaults during an update to latest-fc2). Version-Release number of selected component (if applicable): ttmkfdir-3.0.9-1 How reproducible: always Steps to Reproduce: 1. default FC2 /usr/share/fonts/ja/TrueType/ directory, no changes at all 2. ttmkfdir -d /usr/share/fonts/ja/TrueType -o /usr/share/fonts/ja/TrueType/fonts.scale 3. segfault Actual results: ttmkfdir -d /usr/share/fonts/ja/TrueType -o /usr/share/fonts/ja/TrueType/fonts.scale Program received signal SIGSEGV, Segmentation fault. 0x0805702b in yylex(char*, Encodings_t&) ( current_file=0xfeeffbd0 "/usr/X11R6/lib/X11/fonts/encodings/./iso8859-6.8x.enc", dest=@0x8685510) at encoding.l:112 112 (*cur_map)[i] = -1; (gdb) bt #0 0x0805702b in yylex(char*, Encodings_t&) ( current_file=0xfeeffbd0 "/usr/X11R6/lib/X11/fonts/encodings/./iso8859-6.8x.enc", dest=@0x8685510) at encoding.l:112 #1 0x0805567a in Encodings_t::ReadEncodings() (this=0x8685510) at encoding.cpp:100 #2 0x0805579e in Encodings_t (this=0x8685510) at encoding.cpp:110 #3 0x0805307e in util::Singleton<Encodings_t, Encodings_t>::instance() () at util.h:12 #4 0x08050cc9 in Face (this=0xfef00db0, filename=@0xfef00ef0) at ttf.cpp:150 #5 0x0804aada in main (argc=5, argv=0xfef00fc4) at ttmkfdir.cpp:66