[Xquartz-dev] Some fonts crash server? was Re: The 2.1.0 package and Apple System Fonts

Ben Byer bbyer at apple.com
Sat Dec 8 17:44:51 PST 2007

On Dec 2, 2007, at 3:03 PM, Merle Reinhart wrote:

> Not a problem.  All is back and right with the world.
> However, I didn't quite let go it it.  Fink with Tiger made copies  
> of the Apple System Fonts to use with X11.  So, since they already  
> existed and had mkfontscale and mkfontdir already run (today in  
> fact), I added that directory via xset.
> The Fink package is applesystemfonts and it adds them in /sw/lib/X11/ 
> fonts/applettf which is the directory it tried adding via xset:
> Font Path:
>  /usr/X11/lib/X11/fonts/misc/,/usr/X11/lib/X11/fonts/TTF/,/usr/X11/ 
> lib/X11/fonts/OTF,/usr/X11/lib/X11/fonts/Type1/,/usr/X11/lib/X11/ 
> fonts/100dpi/,/usr/X11/lib/X11/fonts/75dpi/,/sw/lib/X11/fonts/ 
> applettf/
> Well, I no longer get a hung system, however, I do wind up crashing  
> Xquartz (I'm only including the thread that crashed):
> Exception Type:  EXC_BAD_ACCESS (SIGBUS)
> Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000b003b000
> Crashed Thread:  1
> Thread 1 Crashed:
> 0   libSystem.B.dylib             	0xffff07c7 __memcpy + 39
> 1   Xquartz                       	0x00008a75 doListFontsAndAliases  
> + 1205
> 2   Xquartz                       	0x00008fd1 ListFonts + 289
> So, things still look a bit iffy adding fonts (in general, I don't  
> need to do this, but I find the Monaco font handy at times).

Sorry for the delayed response on this.   This is a bug, and we should  
be able to fix it, but I'm guessing it's caused by some specific font  
on your system.  Can you try to narrow it down?  (Unfortunately, you  
might just have to start moving fonts back and forth between  
directories until you find one font that makes the crash happen.)
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer

More information about the Xquartz-dev mailing list