Subject: bug#5984: Crash displaying composed characters

From: Eli Zaretskii <[email-masked]>
Date: Tue, 20 Apr 2010 18:06:58 +0300

> From: Juanma Barranquero <[email-masked]>
> Date: Tue, 20 Apr 2010 15:42:16 +0200
> Cc: 
> 
> Package: emacs
> Version: 24.0.50
> 
> Discussed in the thread of bug#5973
> 
>     Juanma
> 
> 
> 
> 
> Breakpoint 1, w32_abort () at w32fns.c:7349
> 7349      button = MessageBox (NULL,
> (gdb) bt
> #0  w32_abort () at w32fns.c:7349
> #1  0x012be7c9 in temp_set_point_both (buffer=0x34b6e00, charpos=32,
> bytepos=33) at intervals.c:1944
> #2  0x012772b4 in autocmp_chars (cft_element=50852182, charpos=29,
> bytepos=29, limit=31, win=0x350b400, face=0x4e8c100, string=49838082)
>    at composite.c:1002
> #3  0x01278591 in composition_reseat_it (cmp_it=0x88db74, charpos=29,
> bytepos=29, endpos=32, w=0x350b400, face=0x4e8c100, string=49838082)
>    at composite.c:1147
> #4  0x01069fcb in next_element_from_buffer (it=0x88d6f8) at xdisp.c:6834
> #5  0x01066642 in get_next_display_element (it=0x88d6f8) at xdisp.c:5828

I see the same crash in Emacs 23.1.96, which means two things:

  . It has nothing to do with bidi code (phew!)

  . It is much more urgent to fix