Subject: Cause of XF4 crashing (Was: mozilla 0.9.9, anyone?)
To: None <netbsd-help@netbsd.org>
From: Chris Baird <cjb@brushtail.apana.org.au>
List: netbsd-help
Date: 04/04/2002 21:39:32
>> This is also my experience, although it still _does_ crash on some
>> webpages (but what would we expect... :) It certainly does make
>> quite a difference compared to 0.9.8.
>
> I'm experiencing X server (xsrc-current/4.2.0) crashes on repeatedly
> trying to visit www.debian.org with either Mozilla-0.9.9 or Galeon.
After spending some time running XFree86 under gdb, I've found the
following cause of SEGV's:
----------------------------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
0x85b5843 in ?? ()
#0 0x85b5843 in ?? ()
#1 0x85b7150 in ?? ()
#2 0x80e1148 in FontFileOpenFont (client=0x8727d00, fpe=0x8732fe0, flags=0,
name=0x88d2080 "-b&h-luxi sans-medium-r-normal--14-*-0-0-p-*-iso10646-12.1980-0",
namelen=55, format=512, fmask=31, id=8482380, pFont=0xbfbfd4ec,
aliasName=0xbfbfd4f0, non_cachable_font=0x0)
at fontfile.c:429
#3 0x80cc0aa in doOpenFont (client=0x8727d00, c=0x88d2040)
at dixfonts.c:283
#4 0x80cc41f in OpenFont (client=0x8727d00, fid=8482380, flags=0, lenfname=55,
pfontname=0x899000c "-b&h-luxi sans-medium-r-normal--14-*-0-0-p-*-iso10646-1")
at dixfonts.c:458
#5 0x80b133f in ProcOpenFont (client=0x8727d00) at dispatch.c:1310
[...]
----------------------------------------------------------------------
So, ttf was responsible. (And sure enough, commenting it out of the
Modules section in /etc/X11/XFConfig86, I've yet to see a crash.)
--
Chris Baird,, <abuse@brushtail.apana.org.au>