Subject: Re: bug#6306: 24.0.50; Emacs aborts when doing cursor movement with manual setting of bidi-paragraph-direction

From: Eli Zaretskii <[email-masked]>
Date: Sun, 30 May 2010 22:05:59 +0300

> From: David Engster <[email-masked]>
> Date: Sat, 29 May 2010 23:39:01 +0200
> Cc: 
> 
> I'm using Emacs/GTK+ from Git with the latest commit being
> 
> Author: Eli Zaretskii <[email-masked]>
> Date:   Sat May 29 10:55:40 2010 +0300
> 
> Emacs aborts on my machine when doing the following actions:
> 
> *) emacs -Q
> 
> *) Enter in the scratch buffer:
> 
>    (setq bidi-display-reordering t)
> 
>  and evaluate with C-x C-e.
> 
> *) Hit <Return> and then enter
> 
>    (setq bidi-paragraph-direction 'right-to-left)
> 
>  and evaluate with C-x C-e.
> 
> *) Hit 4 times <up>
> 
> Emacs aborts with
> 
> Breakpoint 1, abort () at emacs.c:437
> 437       kill (getpid (), SIGABRT);

Thank you for such an easily reproducible test case.  As a matter of
fact, I already saw a crash for exactly the same reason, but my recipe
was much more complicated.  With yours, debugging this was a snap.

This bug should be fixed now (revno 100485).