GNU bug report logs - #9739
24.0.90; abort at find_row_edges xdisp.c:18714

Previous Next

Package: emacs;

Reported by: lihaitao <at> gmail.com

Date: Wed, 12 Oct 2011 17:28:02 UTC

Severity: important

Merged with 9738

Found in version 24.0.90

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: lihaitao <at> gmail.com
Cc: 9739 <at> debbugs.gnu.org, lihaitao <at> gmail.com
Subject: bug#9739: 24.0.90; abort at find_row_edges xdisp.c:18714
Date: Wed, 12 Oct 2011 20:02:03 +0200
> From: lihaitao <at> gmail.com
> Date: Thu, 13 Oct 2011 01:22:58 +0800
> Cc: Haitao Li <lihaitao <at> gmail.com>
> 
> I met this issue when using egg-log command by egg.el[1]. I can
> reproduce this bug everytime.
> 
> Step to reproduce:
>   - Open a directory which is a git work tree. For example, a clone of
>     http://github.com/git/git.git 
>   - M-x egg-log 
>   - Press the `s' key
> 
> Full backtrace attach at the end of this mail.

I don't have any git trees on my machine, and don't have egg-log
installed.  So please see if the patch below solves this problem.

=== modified file 'src/bidi.c'
--- src/bidi.c	2011-10-12 15:12:52 +0000
+++ src/bidi.c	2011-10-12 17:56:48 +0000
@@ -808,7 +808,6 @@ bidi_init_it (EMACS_INT charpos, EMACS_I
   bidi_it->nchars = -1;	/* to be computed in bidi_resolve_explicit_1 */
   bidi_it->first_elt = 1;
   bidi_set_paragraph_end (bidi_it);
-  bidi_it->paragraph_dir = NEUTRAL_DIR;
   bidi_it->new_paragraph = 1;
   bidi_it->separator_limit = -1;
   bidi_it->type = NEUTRAL_B;

=== modified file 'src/xdisp.c'
--- src/xdisp.c	2011-10-12 15:12:52 +0000
+++ src/xdisp.c	2011-10-12 17:56:28 +0000
@@ -19479,6 +19479,7 @@ See also `bidi-paragraph-direction'.  */
 	    bytepos--;
 	}
       bidi_init_it (pos, bytepos, FRAME_WINDOW_P (SELECTED_FRAME ()), &itb);
+      itb.paragraph_dir = NEUTRAL_DIR;
       itb.string.s = NULL;
       itb.string.lstring = Qnil;
       itb.string.bufpos = 0;





This bug report was last modified 13 years and 228 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.