[Dillo-dev] Unexplained Dillo Segfault

corvid corvid at lavabit.com
Tue Jun 15 17:36:03 CEST 2010

rogerx wrote:
> On Mon, Jun 14, 2010 at 09:31:25PM +0000, corvid wrote:
> >rogerx wrote:
> >> Every time I visit a web page, I get an unexplained segfault (viewing with
> >> strace).
> >> 
> >> This has been occurring for 1-3 months now.
> >> 
> >> I've recently realized a GCC bug with Mozilla based browsers here:
> >> http://bugs.gentoo.org/show_bug.cgi?id=270120
> >> 
> >> 
> >> I think on one segfault with Dillo, I did get a "bad var font" error, but later
> >> lost the url -- so I can only try to recall the exact error.
> >> 
> >> I doubt this is font related as I have several fonts installed. (Following is a
> >> quick search of "font" within package manager search function.)
> >
> >[snip]
> >
> >Without a gdb backtrace or anything, I can't help but assume that this
> >the fltk font problem showing up again...
> Well, by luck, here's a backtrace with some good info.  (Most of the other back
> traces contained little useful info.)


> bad font: variable

Okay, good. Guess I'll have to start digging into the fltk font stuff
again at some point. In the meantime, let's try to make it stop breaking
for you.

fltk's src/x11/Font_xlfd.cxx asks for "fixed" and "variable" under
certain conditions. In my case, they seem to be (looking in
fixed        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
variable     -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-1

And then in my /usr/lib/X11/fonts/misc/fonts.dir, there's
6x13-ISO8859-1.pcf.gz -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
and then /usr/lib/X11/fonts/100dpi/fonts.dir has
helvB12-ISO8859-1.pcf.gz -adobe-helvetica-bold-r-normal--17-120-100-100-p-92-iso8859-1
and /usr/lib/X11/fonts/75dpi/fonts.dir has
helvB12-ISO8859-1.pcf.gz -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1

Do you have whatever font 'variable' is set to in your fonts.alias?

More information about the Dillo-dev mailing list