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

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

bug#9184: 24.0.50; Non-nil bidi-display-reordering aborts emacs when cal


From: Ari Roponen
Subject: bug#9184: 24.0.50; Non-nil bidi-display-reordering aborts emacs when calling org-agenda
Date: Thu, 28 Jul 2011 08:16:18 +0300

This command crashes bzr emacs:

$ ./emacs -Q -eval "(setq-default bidi-display-reordering t)" -eval 
"(org-agenda)"
Fatal error (6)Aborted

GDB shows this (emacs was compiled with -O0 -ggdb):

$ gdb --args ./emacs -Q -eval "(setq-default bidi-display-reordering t)" -eval 
"(org-agenda)"
GNU gdb (GDB) Fedora (7.3.50.20110722-1.fc16)
...
(gdb) r
Starting program: /usr/local/repos/bzr/emacs/quickfixes/src/emacs -Q -eval 
\(setq-default\ bidi-display-reordering\ t\) -eval \(org-agenda\)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe4601700 (LWP 13820)]
[New Thread 0x7fffe3e00700 (LWP 13821)]

Breakpoint 1, abort () at emacs.c:380
380       kill (getpid (), SIGABRT);
(gdb) xbacktrace
"pos-visible-in-window-p" (0xffff9ce8)
"byte-code" (0xffffa0f0)
"fit-window-to-buffer" (0xffffa8d8)
"org-fit-window-to-buffer" (0xffffadd8)
"byte-code" (0xffffb1f0)
"org-agenda-get-restriction-and-command" (0xffffb978)
"byte-code" (0xffffbd80)
"org-agenda" (0xffffc440)
"eval" (0xffffc820)
"command-line-1" (0xffffcd38)
"command-line" (0xffffd2a0)
"normal-top-level" (0xffffd6e0)
(gdb) bt
#0  abort () at emacs.c:380
#1  0x0000000000436711 in compute_display_string_end (charpos=577, string=
    0x7fffffff9a90) at xdisp.c:3269
#2  0x00000000004d7cbb in bidi_fetch_char (bytepos=577, charpos=577, disp_pos=
    0x7fffffff9ac8, string=0x7fffffff9a90, frame_window_p=1, ch_len=
    0x7fffffff97a8, nchars=0x7fffffff97a0) at bidi.c:919
#3  0x00000000004d8fdd in bidi_resolve_explicit_1 (bidi_it=0x7fffffff9788)
    at bidi.c:1299
#4  0x00000000004d9375 in bidi_resolve_explicit (bidi_it=0x7fffffff9788)
    at bidi.c:1436
#5  0x00000000004d96dc in bidi_resolve_weak (bidi_it=0x7fffffff9788)
    at bidi.c:1519
#6  0x00000000004d9e60 in bidi_resolve_neutral (bidi_it=0x7fffffff9788)
    at bidi.c:1743
#7  0x00000000004da1c4 in bidi_type_of_next_char (bidi_it=0x7fffffff9788)
    at bidi.c:1881
#8  0x00000000004da60c in bidi_level_of_next_char (bidi_it=0x7fffffff9788)
    at bidi.c:1992
#9  0x00000000004dab90 in bidi_move_to_visually_next (bidi_it=0x7fffffff9788)
    at bidi.c:2200
#10 0x000000000043f8fa in set_iterator_to_next (it=0x7fffffff8e10, reseat_p=1)
    at xdisp.c:6600
#11 0x0000000000443ac9 in move_it_in_display_line_to (it=0x7fffffff8e10,
---Type <return> to continue, or q <return> to quit---q
to_charQuit
(gdb) up
#1  0x0000000000436711 in compute_display_string_end (charpos=577, string=
    0x7fffffff9a90) at xdisp.c:3269
3269        abort ();
(gdb) l
3264
3265      if (charpos >= eob || (string->s && !STRINGP (object)))
3266        return eob;
3267
3268      if (NILP (Fget_char_property (pos, Qdisplay, object)))
3269        abort ();
3270
3271      /* Look forward for the first character where the `display' property
3272         changes.  */
3273      pos = Fnext_single_char_property_change (pos, Qdisplay, object, Qnil);
(gdb)

In GNU Emacs 24.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.1.10)
 of 2011-07-26 on arirop
Windowing system distributor `Fedora Project', version 11.0.11002000
configured using `configure  '--with-x-toolkit=gtk3''

-- 
Ari Roponen





reply via email to

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