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

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

bug#9496: 24.0.50; Segfault on TAB-only composition


From: Kenichi Handa
Subject: bug#9496: 24.0.50; Segfault on TAB-only composition
Date: Fri, 11 Nov 2011 16:15:38 +0900

In article <8739g0tcp5.fsf@gnu.org>, Johan Bockgård <bojohan@gnu.org> writes:

> (insert (compose-string "\t"))

> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000004d45d4 in x_set_glyph_string_gc (s=0x7fffffffae80) at xterm.c:1061
> 1061      PREPARE_FACE_FOR_DISPLAY (s->f, s->face);
> (gdb) bt
> #0  0x00000000004d45d4 in x_set_glyph_string_gc (s=0x7fffffffae80)
>     at xterm.c:1061
> #1  x_draw_glyph_string (s=0x7fffffffae80) at xterm.c:2683

> This problem is not new, but due to other changes it now makes
> `describe-char' (C-u C-x =) crash when executed on a tab character.


> 2011-09-13  Johan Bockgård  <bojohan@gnu.org>

>       * xdisp.c (fill_composite_glyph_string): Always set s->face, to
>       avoid a crash.

Thank you.  Although we have not yet decided what is the
right displaying of such a composition, I've just installed
your fix at least to avoid crash.

---
Kenichi Handa
handa@m17n.org





reply via email to

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