[xorg-bugzilla-noise] [Bug 905] New: mkfontscale crashes when processing MSungStd-Light-Acro.otf

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 20 07:35:22 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to         
the URL shown below and enter yourcomments there.  
  
https://freedesktop.org/bugzilla/show_bug.cgi?id=905       
  
           Summary: mkfontscale crashes when processing MSungStd-Light-
                    Acro.otf
           Product: xorg
           Version: CVS_head
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Lib/Freetype2
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: roland.mainz at nrubsig.org
                CC: eich at pdx.freedesktop.org,torrey at mrcla.com


2004-07-20-trunk on Darwin/PPC (Darwin lamancha.opendarwin.org 7.0.0 Darwin
Kernel Version 7.0.0: Wed Sep 24 15:48:39 PDT 2003;
root:xnu/xnu-517.obj~1/RELEASE_PPC  Power Macintosh powerpc), "mkfontscale"
crashes while processing "MSungStd-Light-Acro.otf" like this:
-- snip --
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x00404884 in cff_cmap_unicode_init (cmap=0x622f50) at
../../extras/freetype2/src/cff/cffcmap.c:167
167           FT_UInt      sid = charset->sids[n];
(gdb) where
#0  0x00404884 in cff_cmap_unicode_init (cmap=0x622f50) at
../../extras/freetype2/src/cff/cffcmap.c:167
#1  0x003d9edc in FT_CMap_New (clazz=0x46117c, init_data=0x0,
charmap=0xbffff160, acmap=0x0) at ../../extras/freetype2/src/base/ftobjs.c:2261
#2  0x00400108 in cff_face_init (stream=0x61db60, face=0x1800200, face_index=0,
num_params=0, params=0x0) at ../../extras/freetype2/src/cff/cffobjs.c:667
#3  0x003d8904 in open_face (driver=0x6013a0, stream=0x61db60, face_index=0,
num_params=0, params=0x0, aface=0xbffff250) at
../../extras/freetype2/src/base/ftobjs.c:910
#4  0x003d8cd0 in FT_Open_Face (library=0x6011d0, args=0xbffff2d0, face_index=0,
aface=0xbffff3c4) at ../../extras/freetype2/src/base/ftobjs.c:1619
#5  0x003deb0c in FT_New_Face (library=0x6011d0, pathname=0x61b690
"/Users/gisburn/tmp/allfonts/test1/MSungStd-Light-Acro.otf", face_index=0,
aface=0xbffff3c4) at ftmac.c:996
#6  0x00004408 in doDirectory (dirname_given=0xbffffe24
"/Users/gisburn/tmp/allfonts/test1", numEncodings=0, encodingsToDo=0x0) at
mkfontscale.c:832
#7  0x00002554 in main (argc=2, argv=0xbffffd4c) at mkfontscale.c:264
(gdb) quit
The program is running.  Exit anyway? (y or n) y
-- snip --

Steps to reproduce:
1. Grab all available fonts:
% find / 2>/dev/null | egrep  -i "\.ttf|\.ttc|\.otf|\.otc|\.pfa|\.pfb" | tee
allfonts.txt
2. Link them into one directory:
% mkdir test001
% cd test001
% cat ../allfonts.txt | while read i ; do ln -s "$i" . ; done
3. Run "mkfontscale":
% mkfontscale

Result:
Core dump when processing MSungStd-Light-Acro.otf

Expected result:
No core dump       
  
  
--        
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email      
  
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list