Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c1ce39d0a566ff6081c67eae923225141e8d70e4
Ticket: 635242ffffffffffffffffffffffffffffffffff
font families broken on MacOS X
User & Date: reowen on 2002-11-07 23:14:24
Changes

  1. assignee changed to: "das"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    the command:
      font families
    crashes on MacOS X. This is with the aqua version of Tk 8.4.1. Errors include a lot of lines similar to:
    
    Nov  7 15:00:01 rowen /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Support/ATSServer: FOExceptionMainHandler caught a fatal exception at 0x0000b65c 
    
    Nov  7 15:00:01 rowen /Applications/Utilities/Wish Shell.app/Contents/MacOS/Wish Shell: kCGErrorFailure : GetGlyphAddresses failed: status = 8
    
    Nov  7 15:00:02 rowen /Applications/Utilities/Wish Shell.app/Contents/MacOS/Wish Shell: kCGErrorFailure : GetGlyphAddresses failed: status = 5
    
    and always end with the following:
    
    *** malloc_zone_malloc[29768]: argument too large: -12910904
    Nov  7 15:00:02 rowen crashdump: Crash report written to: /Users/rowen/Library/Logs/CrashReporter/Wish Shell.crash.log
    
    The crash is a problem but the GetGlpyshAddresses failed error is also a problem. It is the latter that actually caused me to discover the former.
    
    I normally program in Python and use it's Tk interface called Tkinter. A Python font selection widget I'd written was giving "GetGlyphAddress failed" errors, though otherwise it worked fine (no crashes). It turns out that the list of fonts returned by Tk includes some that have very weird characters in their names (such as what appears to be Chinese). Python got the list from Tk just fine (with no errors) but when I used this list to create an option menu, that's when Tk started complaining about GetGlyphAddress failed errors. In Python my current workaround is to filter out any font names with non-ascii characters. The widget then runs without errors.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "reowen"
  9. subsystem changed to: "68. Mac Classic (obsolete)"
  10. title changed to: "font families broken on MacOS X"
  11. type changed to: "Bug"