GNU bug report logs - #9184
24.0.50; Non-nil bidi-display-reordering aborts emacs when calling org-agenda

Previous Next

Package: emacs;

Reported by: Ari Roponen <ari.roponen <at> gmail.com>

Date: Thu, 28 Jul 2011 05:17:02 UTC

Severity: normal

Found in version 24.0.50

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9184 in the body.
You can then email your comments to 9184 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9184; Package emacs. (Thu, 28 Jul 2011 05:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ari Roponen <ari.roponen <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 28 Jul 2011 05:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ari Roponen <ari.roponen <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 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 sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Thu, 28 Jul 2011 06:47:02 GMT) Full text and rfc822 format available.

Notification sent to Ari Roponen <ari.roponen <at> gmail.com>:
bug acknowledged by developer. (Thu, 28 Jul 2011 06:47:03 GMT) Full text and rfc822 format available.

Message #10 received at 9184-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ari Roponen <ari.roponen <at> gmail.com>
Cc: 9184-done <at> debbugs.gnu.org
Subject: Re: bug#9184: 24.0.50;
	Non-nil bidi-display-reordering aborts emacs when calling org-agenda
Date: Thu, 28 Jul 2011 02:46:11 -0400
> From: Ari Roponen <ari.roponen <at> gmail.com>
> 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

Fixed in revision 105331 on the trunk.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 25 Aug 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 257 days ago.

Previous Next


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