[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: galeon crashing consistently on unstable?



Timothy Burt <tburt@phy.duke.edu> writes:

> Hi, Folks
> 
> I decided to try galeon again about a month ago, and it has done very
> well except for one thing: any time I try to access Preferences 
> (under Settings) it crashes, printing to the shell the lines
> 
> GnomeUI-ERROR **: file gnome-icon-item.c: line 304 (get_default_font): \
> assertion failed: (default_font != NULL)
> aborting...
> 
> I searched debian-user archives for this problem without luck.  Has anyone 
> seen/fixed the problem?

That's not a galeon error, but a gnome error:

#define DEFAULT_FONT_NAME "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*,"        \
                          "-*-*-medium-r-normal--10-*-*-*-*-*-*-*,*"

get_default_font (void)
{
        if (!default_font) {
                /* FIXME: this is never unref-ed */
                default_font = gdk_fontset_load (DEFAULT_FONT_NAME);
                g_assert (default_font != NULL);
        }

        return gdk_font_ref (default_font);
}

I don't know how gdk_fontset_load works, but you must not have any
fonts in defined in DEFAULT_FONT_NAME.  Try xfontsel and see what you
can come up with.

-- 
Brian Nelson <nelson@bignachos.com>



Reply to: