Juri Linkov <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (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 <[EMAIL PROTECTED]> http://www.cua.dk _______________________________________________ Emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
