From unknown Sat Aug 09 09:38:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6030: bidi crash in display_line Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: eliz@gnu.org, bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Apr 2010 22:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6030 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6030@debbugs.gnu.org Cc: eliz@gnu.org X-Debbugs-Original-To: Bug-Gnu-Emacs X-Debbugs-Original-Xcc: eliz@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.127214800317727 (code B ref -1); Sat, 24 Apr 2010 22:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Apr 2010 22:26:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5noA-0004bs-Bu for submit@debbugs.gnu.org; Sat, 24 Apr 2010 18:26:42 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5no7-0004bn-H8 for submit@debbugs.gnu.org; Sat, 24 Apr 2010 18:26:40 -0400 Received: from lists.gnu.org ([199.232.76.165]:56709) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O5no5-0007yV-UW for submit@debbugs.gnu.org; Sat, 24 Apr 2010 18:26:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5no5-00030q-8j for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2010 18:26:37 -0400 Received: from [140.186.70.92] (port=39018 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5no2-0002yV-OZ for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2010 18:26:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00, FILL_THIS_FORM_LOAN, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, T_FILL_THIS_FORM autolearn=no version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5ncw-0007jB-3d for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2010 18:15:07 -0400 Received: from mail-bw0-f223.google.com ([209.85.218.223]:56930) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5ncv-0007iy-Pp for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2010 18:15:06 -0400 Received: by bwz23 with SMTP id 23so10961033bwz.26 for ; Sat, 24 Apr 2010 15:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=FldZAqCgfREuO7+OEezHb1Op+/TLy2REjMtvv5Bldek=; b=DmfYmnd4o5PjJHCXsDVTe4hSL3zxFa0oYIYfJlw8q/ZZWgebfXDkqQWDqgPjCIz5qA Kz5/5VyjNdAINxRmhdbn2Fo7t9W5RRg4wfQYVAYsKJhkqBNlLzVK8ZXx1d1a8RgWmnA4 KMRMhECiZN0UjIio9sMs5QFU3OtzBt5Lj6UQo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=K/yVFZknmCspoJttg5rdHltnr4XG5b5hb/tmz7dSk69NrcXXGndLQ35McPf2e5HV1X Al2StlnQnCfzGYYD1yaBsMpLRlK5dLZL6Uy4tP+WAwyYXkKtWek4Og0z6LWMSw+3tLeC 6qJSSkuyxltIr22ExtIFyTKMRt6mffNJAERRo= Received: by 10.204.74.32 with SMTP id s32mr1199464bkj.148.1272147304099; Sat, 24 Apr 2010 15:15:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.81.29 with HTTP; Sat, 24 Apr 2010 15:14:44 -0700 (PDT) From: Juanma Barranquero Date: Sun, 25 Apr 2010 00:14:44 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.2 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.5 (----) Package: emacs Version: 24.0.50 X-Debbugs-Cc: eliz@gnu.org I'm getting a crash just by doing emacs -Q --eval "(setq-default bidi-display-reordering t)" Backtrace attached. Juanma Breakpoint 1, w32_abort () at w32fns.c:7349 7349 button = MessageBox (NULL, (gdb) bt #0 w32_abort () at w32fns.c:7349 #1 0x01090475 in display_line (it=0x88d470) at xdisp.c:17983 #2 0x01084e14 in try_window (window=55319557, pos=..., flags=1) at xdisp.c:14733 #3 0x01083232 in redisplay_window (window=55319557, just_this_one_p=0) at xdisp.c:14354 #4 0x0107c127 in redisplay_window_0 (window=55319557) at xdisp.c:12646 #5 0x010366be in internal_condition_case_1 (bfun=0x107c0f4 , arg=55319557, handlers=49502846, hfun=0x107c0d3 ) at eval.c:1560 #6 0x0107c0ba in redisplay_windows (window=55319557) at xdisp.c:12625 #7 0x01079d29 in redisplay_internal (preserve_echo_area=0) at xdisp.c:12197 #8 0x01076939 in redisplay () at xdisp.c:11427 #9 0x0100a784 in read_char (commandflag=1, nmaps=2, maps=0x88f960, prev_event=49518618, used_mouse_menu=0x88fa38, end_time=0x0) at keyboard.c:2576 #10 0x0101d7c4 in read_key_sequence (keybuf=0x88fbcc, bufsize=30, prompt=49518618, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9402 #11 0x01007bf7 in command_loop_1 () at keyboard.c:1636 #12 0x010365d6 in internal_condition_case (bfun=0x100734e , handlers=49576178, hfun=0x1006a75 ) at eval.c:1512 #13 0x01006f4f in command_loop_2 () at keyboard.c:1356 #14 0x01036058 in internal_catch (tag=49574346, func=0x1006f2a , arg=49518618) at eval.c:1248 #15 0x01006f08 in command_loop () at keyboard.c:1335 #16 0x01006180 in recursive_edit_1 () at keyboard.c:950 #17 0x0100669b in Frecursive_edit () at keyboard.c:1012 #18 0x01002a95 in main (argc=4, argv=0xc72ca0) at emacs.c:1784 (gdb) frame 1 #1 0x01090475 in display_line (it=0x88d470) at xdisp.c:17983 17983 abort (); (gdb) p it $1 = (struct it *) 0x88d470 (gdb) p *it $2 = { window = 55319557, w = 0x34c1c00, f = 0x34c1a00, method = GET_FROM_BUFFER, stop_charpos = 192, prev_stop = 0, base_level_stop = 0, end_charpos = 192, s = 0x0, string_nchars = 0, region_beg_charpos = -1, region_end_charpos = -1, redisplay_end_trigger_charpos = 0, multibyte_p = 1, header_line_p = 0, string_from_display_prop_p = 0, ellipsis_p = 0, avoid_cursor_p = 0, dp = 0x3104200, dpvec = 0x0, dpend = 0x0, dpvec_char_len = 0, dpvec_face_id = 0, saved_face_id = 0, ctl_chars = {0 }, start = { pos = { charpos = 191, bytepos = 191 }, overlay_string_index = -1, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = -1 }, current = { pos = { charpos = 192, bytepos = 192 }, overlay_string_index = -1, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = -1 }, n_overlay_strings = 0, overlay_strings = {0 }, string_overlays = {0 }, string = 49518618, from_overlay = 0, stack = {{ string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 0 } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 0 } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 0 } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 0 } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 0 } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }}, sp = 0, selective = 0, what = IT_EOB, face_id = 0, selective_display_ellipsis_p = 1, ctl_arrow_p = 1, face_box_p = 0, start_of_box_run_p = 0, end_of_box_run_p = 0, overlay_strings_at_end_processed_p = 1, ignore_overlay_strings_at_pos_p = 0, glyph_not_available_p = 0, starts_in_middle_of_char_p = 0, face_before_selective_p = 0, constrain_row_ascent_descent_p = 0, line_wrap = WINDOW_WRAP, base_face_id = 0, c = 0, len = 1, cmp_it = { stop_pos = 192, id = -1, ch = -2, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, char_to_display = 32, image_id = 0, slice = { x = 49518618, y = 49518618, width = 49518618, height = 49518618 }, space_width = 49518618, voffset = 0, tab_width = 8, font_height = 49518618, object = 49557509, position = { charpos = 192, bytepos = 192 }, truncation_pixel_width = 0, continuation_pixel_width = 0, first_visible_x = 0, last_visible_x = 640, last_visible_y = 560, extra_line_spacing = 0, max_extra_line_spacing = 0, override_ascent = -1, override_descent = 0, override_boff = 0, glyph_row = 0x34861c8, area = TEXT_AREA, nglyphs = 1, pixel_width = 8, ascent = 12, descent = 4, max_ascent = 0, max_descent = 0, phys_ascent = 12, phys_descent = 4, max_phys_ascent = 0, max_phys_descent = 0, current_x = 0, continuation_lines_width = 0, eol_pos = { charpos = 0, bytepos = 0 }, current_y = 48, first_vpos = 0, vpos = 3, hpos = 0, left_user_fringe_bitmap = 0, right_user_fringe_bitmap = 0, left_user_fringe_face_id = 0, right_user_fringe_face_id = 0, bidi_p = 0, bidi_it = { bytepos = 192, charpos = 192, ch = -1, ch_len = 1, type = STRONG_L, type_after_w1 = NEUTRAL_B, orig_type = NEUTRAL_B, resolved_level = 0, invalid_levels = 0, invalid_rl_levels = -1, prev_was_pdf = 0, prev = { bytepos = 191, charpos = 191, type = UNKNOWN_BT, type_after_w1 = NEUTRAL_B, orig_type = NEUTRAL_B }, last_strong = { bytepos = 188, charpos = 188, type = UNKNOWN_BT, type_after_w1 = UNKNOWN_BT, orig_type = UNKNOWN_BT }, next_for_neutral = { bytepos = 192, charpos = 192, type = STRONG_L, type_after_w1 = NEUTRAL_B, orig_type = NEUTRAL_B }, prev_for_neutral = { bytepos = 192, charpos = 192, type = STRONG_L, type_after_w1 = NEUTRAL_B, orig_type = NEUTRAL_B }, next_for_ws = { bytepos = 0, charpos = 0, type = UNKNOWN_BT, type_after_w1 = UNKNOWN_BT, orig_type = UNKNOWN_BT }, next_en_pos = -1, ignore_bn_limit = 0, sor = L2R, scan_dir = 1, stack_idx = 0, level_stack = {{ level = 0, override = NEUTRAL_DIR } }, first_elt = 0, paragraph_dir = L2R, new_paragraph = 1, separator_limit = 192 }, paragraph_embedding = NEUTRAL_DIR } (gdb) From unknown Sat Aug 09 09:38:16 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Juanma Barranquero Subject: bug#6030: closed (Re: bug#6030: bidi crash in display_line) Message-ID: References: <83ljcbzc7m.fsf@gnu.org> X-Gnu-PR-Message: they-closed 6030 X-Gnu-PR-Package: emacs Reply-To: 6030@debbugs.gnu.org Date: Sun, 25 Apr 2010 17:15:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1272215703-23105-1" This is a multi-part message in MIME format... ------------=_1272215703-23105-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #6030: bidi crash in display_line which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 6030@debbugs.gnu.org. --=20 6030: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6030 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1272215703-23105-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 6030-done) by debbugs.gnu.org; 25 Apr 2010 17:14:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O65PV-00060I-Gx for submit@debbugs.gnu.org; Sun, 25 Apr 2010 13:14:25 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O65PT-00060C-8y for 6030-done@debbugs.gnu.org; Sun, 25 Apr 2010 13:14:24 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L1F00H00ZN7QX00@a-mtaout22.012.net.il> for 6030-done@debbugs.gnu.org; Sun, 25 Apr 2010 20:14:17 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.124.71.78]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L1F00F0AZVRZ360@a-mtaout22.012.net.il>; Sun, 25 Apr 2010 20:14:16 +0300 (IDT) Date: Sun, 25 Apr 2010 20:14:21 +0300 From: Eli Zaretskii Subject: Re: bug#6030: bidi crash in display_line In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Message-id: <83ljcbzc7m.fsf@gnu.org> References: X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 6030-done Cc: 6030-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Cc: eliz@gnu.org > From: Juanma Barranquero > Date: Sun, 25 Apr 2010 00:14:44 +0200 > > Package: emacs > Version: 24.0.50 > X-Debbugs-Cc: eliz@gnu.org > > I'm getting a crash just by doing > > emacs -Q --eval "(setq-default bidi-display-reordering t)" > > Backtrace attached. Thanks. This is fixed in revno 100033. ------------=_1272215703-23105-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Apr 2010 22:26:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5noA-0004bs-Bu for submit@debbugs.gnu.org; Sat, 24 Apr 2010 18:26:42 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5no7-0004bn-H8 for submit@debbugs.gnu.org; Sat, 24 Apr 2010 18:26:40 -0400 Received: from lists.gnu.org ([199.232.76.165]:56709) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O5no5-0007yV-UW for submit@debbugs.gnu.org; Sat, 24 Apr 2010 18:26:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5no5-00030q-8j for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2010 18:26:37 -0400 Received: from [140.186.70.92] (port=39018 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5no2-0002yV-OZ for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2010 18:26:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00, FILL_THIS_FORM_LOAN, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, T_FILL_THIS_FORM autolearn=no version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5ncw-0007jB-3d for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2010 18:15:07 -0400 Received: from mail-bw0-f223.google.com ([209.85.218.223]:56930) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5ncv-0007iy-Pp for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2010 18:15:06 -0400 Received: by bwz23 with SMTP id 23so10961033bwz.26 for ; Sat, 24 Apr 2010 15:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=FldZAqCgfREuO7+OEezHb1Op+/TLy2REjMtvv5Bldek=; b=DmfYmnd4o5PjJHCXsDVTe4hSL3zxFa0oYIYfJlw8q/ZZWgebfXDkqQWDqgPjCIz5qA Kz5/5VyjNdAINxRmhdbn2Fo7t9W5RRg4wfQYVAYsKJhkqBNlLzVK8ZXx1d1a8RgWmnA4 KMRMhECiZN0UjIio9sMs5QFU3OtzBt5Lj6UQo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=K/yVFZknmCspoJttg5rdHltnr4XG5b5hb/tmz7dSk69NrcXXGndLQ35McPf2e5HV1X Al2StlnQnCfzGYYD1yaBsMpLRlK5dLZL6Uy4tP+WAwyYXkKtWek4Og0z6LWMSw+3tLeC 6qJSSkuyxltIr22ExtIFyTKMRt6mffNJAERRo= Received: by 10.204.74.32 with SMTP id s32mr1199464bkj.148.1272147304099; Sat, 24 Apr 2010 15:15:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.81.29 with HTTP; Sat, 24 Apr 2010 15:14:44 -0700 (PDT) From: Juanma Barranquero Date: Sun, 25 Apr 2010 00:14:44 +0200 Message-ID: Subject: bidi crash in display_line To: Bug-Gnu-Emacs Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.5 (----) Package: emacs Version: 24.0.50 X-Debbugs-Cc: eliz@gnu.org I'm getting a crash just by doing emacs -Q --eval "(setq-default bidi-display-reordering t)" Backtrace attached. Juanma Breakpoint 1, w32_abort () at w32fns.c:7349 7349 button = MessageBox (NULL, (gdb) bt #0 w32_abort () at w32fns.c:7349 #1 0x01090475 in display_line (it=0x88d470) at xdisp.c:17983 #2 0x01084e14 in try_window (window=55319557, pos=..., flags=1) at xdisp.c:14733 #3 0x01083232 in redisplay_window (window=55319557, just_this_one_p=0) at xdisp.c:14354 #4 0x0107c127 in redisplay_window_0 (window=55319557) at xdisp.c:12646 #5 0x010366be in internal_condition_case_1 (bfun=0x107c0f4 , arg=55319557, handlers=49502846, hfun=0x107c0d3 ) at eval.c:1560 #6 0x0107c0ba in redisplay_windows (window=55319557) at xdisp.c:12625 #7 0x01079d29 in redisplay_internal (preserve_echo_area=0) at xdisp.c:12197 #8 0x01076939 in redisplay () at xdisp.c:11427 #9 0x0100a784 in read_char (commandflag=1, nmaps=2, maps=0x88f960, prev_event=49518618, used_mouse_menu=0x88fa38, end_time=0x0) at keyboard.c:2576 #10 0x0101d7c4 in read_key_sequence (keybuf=0x88fbcc, bufsize=30, prompt=49518618, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9402 #11 0x01007bf7 in command_loop_1 () at keyboard.c:1636 #12 0x010365d6 in internal_condition_case (bfun=0x100734e , handlers=49576178, hfun=0x1006a75 ) at eval.c:1512 #13 0x01006f4f in command_loop_2 () at keyboard.c:1356 #14 0x01036058 in internal_catch (tag=49574346, func=0x1006f2a , arg=49518618) at eval.c:1248 #15 0x01006f08 in command_loop () at keyboard.c:1335 #16 0x01006180 in recursive_edit_1 () at keyboard.c:950 #17 0x0100669b in Frecursive_edit () at keyboard.c:1012 #18 0x01002a95 in main (argc=4, argv=0xc72ca0) at emacs.c:1784 (gdb) frame 1 #1 0x01090475 in display_line (it=0x88d470) at xdisp.c:17983 17983 abort (); (gdb) p it $1 = (struct it *) 0x88d470 (gdb) p *it $2 = { window = 55319557, w = 0x34c1c00, f = 0x34c1a00, method = GET_FROM_BUFFER, stop_charpos = 192, prev_stop = 0, base_level_stop = 0, end_charpos = 192, s = 0x0, string_nchars = 0, region_beg_charpos = -1, region_end_charpos = -1, redisplay_end_trigger_charpos = 0, multibyte_p = 1, header_line_p = 0, string_from_display_prop_p = 0, ellipsis_p = 0, avoid_cursor_p = 0, dp = 0x3104200, dpvec = 0x0, dpend = 0x0, dpvec_char_len = 0, dpvec_face_id = 0, saved_face_id = 0, ctl_chars = {0 }, start = { pos = { charpos = 191, bytepos = 191 }, overlay_string_index = -1, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = -1 }, current = { pos = { charpos = 192, bytepos = 192 }, overlay_string_index = -1, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = -1 }, n_overlay_strings = 0, overlay_strings = {0 }, string_overlays = {0 }, string = 49518618, from_overlay = 0, stack = {{ string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 0 } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 0 } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 0 } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 0 } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 0 } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }}, sp = 0, selective = 0, what = IT_EOB, face_id = 0, selective_display_ellipsis_p = 1, ctl_arrow_p = 1, face_box_p = 0, start_of_box_run_p = 0, end_of_box_run_p = 0, overlay_strings_at_end_processed_p = 1, ignore_overlay_strings_at_pos_p = 0, glyph_not_available_p = 0, starts_in_middle_of_char_p = 0, face_before_selective_p = 0, constrain_row_ascent_descent_p = 0, line_wrap = WINDOW_WRAP, base_face_id = 0, c = 0, len = 1, cmp_it = { stop_pos = 192, id = -1, ch = -2, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, char_to_display = 32, image_id = 0, slice = { x = 49518618, y = 49518618, width = 49518618, height = 49518618 }, space_width = 49518618, voffset = 0, tab_width = 8, font_height = 49518618, object = 49557509, position = { charpos = 192, bytepos = 192 }, truncation_pixel_width = 0, continuation_pixel_width = 0, first_visible_x = 0, last_visible_x = 640, last_visible_y = 560, extra_line_spacing = 0, max_extra_line_spacing = 0, override_ascent = -1, override_descent = 0, override_boff = 0, glyph_row = 0x34861c8, area = TEXT_AREA, nglyphs = 1, pixel_width = 8, ascent = 12, descent = 4, max_ascent = 0, max_descent = 0, phys_ascent = 12, phys_descent = 4, max_phys_ascent = 0, max_phys_descent = 0, current_x = 0, continuation_lines_width = 0, eol_pos = { charpos = 0, bytepos = 0 }, current_y = 48, first_vpos = 0, vpos = 3, hpos = 0, left_user_fringe_bitmap = 0, right_user_fringe_bitmap = 0, left_user_fringe_face_id = 0, right_user_fringe_face_id = 0, bidi_p = 0, bidi_it = { bytepos = 192, charpos = 192, ch = -1, ch_len = 1, type = STRONG_L, type_after_w1 = NEUTRAL_B, orig_type = NEUTRAL_B, resolved_level = 0, invalid_levels = 0, invalid_rl_levels = -1, prev_was_pdf = 0, prev = { bytepos = 191, charpos = 191, type = UNKNOWN_BT, type_after_w1 = NEUTRAL_B, orig_type = NEUTRAL_B }, last_strong = { bytepos = 188, charpos = 188, type = UNKNOWN_BT, type_after_w1 = UNKNOWN_BT, orig_type = UNKNOWN_BT }, next_for_neutral = { bytepos = 192, charpos = 192, type = STRONG_L, type_after_w1 = NEUTRAL_B, orig_type = NEUTRAL_B }, prev_for_neutral = { bytepos = 192, charpos = 192, type = STRONG_L, type_after_w1 = NEUTRAL_B, orig_type = NEUTRAL_B }, next_for_ws = { bytepos = 0, charpos = 0, type = UNKNOWN_BT, type_after_w1 = UNKNOWN_BT, orig_type = UNKNOWN_BT }, next_en_pos = -1, ignore_bn_limit = 0, sor = L2R, scan_dir = 1, stack_idx = 0, level_stack = {{ level = 0, override = NEUTRAL_DIR } }, first_elt = 0, paragraph_dir = L2R, new_paragraph = 1, separator_limit = 192 }, paragraph_embedding = NEUTRAL_DIR } (gdb) ------------=_1272215703-23105-1--