--- Begin Message ---
Subject: |
Re: Looping in redisplay due to font problem |
Date: |
Mon, 06 Oct 2008 11:32:45 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
In article <87vdw91wl1.fsf@cyd.mit.edu>, Chong Yidong <cyd@stupidchicken.com>
writes:
> > And, what does "Emacs begins looping while in redisplay" exactly mean?
> Emacs is unresponsive to any further input, and the character "o" in
> "Corsivo" flickers. Interrupting the loop in gdb gives the following
> backtrace. It seems to be stuck in an Xft function.
> #0 0x00007f54662e1433 in select () from /lib/libc.so.6
> #1 0x00007f546403b2b6 in ?? () from /usr/lib/libxcb.so.1
> #2 0x00007f546403b8eb in ?? () from /usr/lib/libxcb.so.1
> #3 0x00007f546403c050 in xcb_send_request () from /usr/lib/libxcb.so.1
> #4 0x00007f5466e71f1a in _XPutXCBBuffer () from /usr/lib/libX11.so.6
> #5 0x00007f5466e72267 in ?? () from /usr/lib/libX11.so.6
> #6 0x00007f54650be5a3 in XRenderFillRectangle () from
> /usr/lib/libXrender.so.1
> #7 0x00007f5466c1f5b1 in XftDrawRect () from /usr/lib/libXft.so.2
> #8 0x0000000000656080 in xftfont_draw (s=0x7fff725843b0, from=0, to=1,
> x=100,
Does Emacs always stop at that place when you repeat "cont"
and "stop"?
---
Kenichi Handa
handa@ni.aist.go.jp
--- End Message ---
--- Begin Message ---
Subject: |
Re: Looping in redisplay due to font problem |
Date: |
Thu, 09 Oct 2008 12:45:45 -0400 |
I found the bug: it's an infloop in update_text_area which can happen
when the pixel width of the current glyph is smaller than the lbearing
of the next glyph. I'm not sure why the bug was triggered only under
the situation I described; maybe, only that exact geometry and font
produced the numbers leading to the infloop.
I've checked in a fix.
--- End Message ---