Bug 118713 - ttmkfdir segfaults
ttmkfdir segfaults
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: ttmkfdir (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Yu Shao
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-19 07:59 EST by Karsten Hopp
Modified: 2007-11-30 17:10 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-03-19 13:59:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Karsten Hopp 2004-03-19 07:59:41 EST
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
Comment 1 Yu Shao 2004-03-19 13:59:26 EST
Fixed in 3.0.9-11, see also my comments here:
http://bugs.xfree86.org/show_bug.cgi?id=420

Note You need to log in before you can comment on or make changes to this bug.