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

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

Re: xassert in get_glyph_face_and_encoding


From: Kim F. Storm
Subject: Re: xassert in get_glyph_face_and_encoding
Date: Tue, 08 Mar 2005 09:31:02 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Juri Linkov <address@hidden> writes:

> address@hidden (Kim F. Storm) writes:
>> Do you have a way to reproduce this?
>
> No, I get such crashes not more often than once a month.
> Maybe this is related somehow to the fact that I have redefined quite
> a lot of faces (including `isearch' face).
>
> I will try to provide more debug info if I get another such crash
> after you changes.  You could also add xassert or printf to
> clear_face_cache if it helps.

Redisplay unconditionally calls clear_face_cache on approx. every 500
redisplays, so I don't think it will say anything useful.

Probably, the crash is not seen very often because you have to do
something special to trigger it, but since the face cache is only
cleared every 500 redisplay, the chance of doing that special thing
and having the face cache cleared at the same time is very slim...


Perhaps changing CLEAR_FACE_CACHE_COUNT from 500 to 2 would
trigger the bug much more often...  Can you try that?

If you do this, and the crash doesn't happen, could you try to revert
my change to redisplay_internal in xdisp.c from yesterday, and see if
the crash happens.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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