emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: GTK build crashes under X


From: Jan Djärv
Subject: Re: GTK build crashes under X
Date: Fri, 08 Dec 2006 08:05:56 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20061107)



Stephen Berman skrev:
On Thu, 07 Dec 2006 11:11:18 +0100 Stephen Berman wrote:

This was the state of things last night.  This morning I wanted to
pursue it but, to my surprise, I now cannot get GTK-Emacs to segfault.
I first started it with no ~/.fonts.cache-2 and no
/var/cache/fontconfig (and without setting LD_LIBRARY_PATH to
/usr/local/lib) and, as last night, it started slow and a ~1.6 MB
large ~/.fonts.cache-2 was rebuilt.  But then I could start further
instances without deleting ~/.fonts.cache-2, unlike last night.
Moreover, when I moved fontconfig back into /var/cache/, I still could
start GTK-Emacs (and a big ~/.fonts.cache-2 was again rebuilt).
That's the current situation.  So, I'm pleased that I have GTK-Emacs
back again, but I would still like to know why I lost it in the first
place, so if anyone has an suggestions, I'd be grateful.

Well, now I can get GTK-Emacs to segfault again :-).  I noticed that
the desktop fonts didn't look as sharp as they normally do (it took me
a while to notice this, probably because the fonts in Emacs are always
not so sharp :-), so I ran fc-cache, exited KDE and logged on again.
Now my desktop fonts are back to their previous sharpness, but
Emacs-GTK segfaults again with the standard invocation (but I can
start it by setting LD_LIBRARY_PATH to /usr/local/lib).  So if someone
is able to advise me how to debug this, I can try to do it.


It is hard if Emacs doesn't fail with the debug-compiled fontconfig. Does wxGTK install fonts? The cache handling seems to have some bug in it. As it only fails sometimes it might be that the code that builds or reads the cache have some uninitialized variable that gets random garbage. Sometimes that garbage is OK, sometimes it isn't.

If you rebuild the cache several times with the same fontconfig, are the ~/.fonts.cache-2 then identical? And are they different if you rebuild with the fontconfig you compiled? Does any other Gnome/GTK application fail when Emacs fails or is it just Emacs?

        Jan D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]