From unknown Sat Aug 16 18:42:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9330: 24.0.50; xassert failure in redisplay of composed characters Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Aug 2011 11:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9330 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 9330@debbugs.gnu.org Cc: handa@m17n.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: Eli Zaretskii Received: via spool by submit@debbugs.gnu.org id=B.131375228419211 (code B ref -1); Fri, 19 Aug 2011 11:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Aug 2011 11:11:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuMyx-0004zm-7z for submit@debbugs.gnu.org; Fri, 19 Aug 2011 07:11:23 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuMyu-0004ze-Lq for submit@debbugs.gnu.org; Fri, 19 Aug 2011 07:11:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuMws-0003D7-SY for submit@debbugs.gnu.org; Fri, 19 Aug 2011 07:09:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:54103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuMws-0003D3-Qy for submit@debbugs.gnu.org; Fri, 19 Aug 2011 07:09:14 -0400 Received: from eggs.gnu.org ([140.186.70.92]:44822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuMwr-0007J9-O2 for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 07:09:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuMwq-0003Cn-F4 for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 07:09:13 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:51549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuMwp-0003CW-W3 for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 07:09:12 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LQ600L009IDXZ00@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 14:07:39 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.124.178.145]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQ600HPI9KPI0FA@a-mtaout20.012.net.il>; Fri, 19 Aug 2011 14:07:39 +0300 (IDT) Date: Fri, 19 Aug 2011 14:07:41 +0300 From: Eli Zaretskii X-012-Sender: halo1@inter.net.il Message-id: <83zkj5r75u.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.4 (----) 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.4 (----) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': C-h H M-: (setq bidi-display-reordering nil) C-u 765 M-x goto-char RET C-p Emacs aborts in this assertion: xassert (IT_BYTEPOS (*it) == CHAR_TO_BYTE (IT_CHARPOS (*it))); This abort doesn't happen if bidi-display-reordering is turned on. The backtrace is below: #0 w32_abort () at w32fns.c:7182 #1 0x011690b3 in set_iterator_to_next (it=0x82e4b0, reseat_p=1) at xdisp.c:6630 #2 0x0116ced6 in move_it_in_display_line_to (it=0x82e4b0, to_charpos=765, to_x=-1, op=MOVE_TO_POS) at xdisp.c:8063 #3 0x0116db9c in move_it_to (it=0x82e4b0, to_charpos=765, to_x=-1, to_y=-1, to_vpos=-1, op=8) at xdisp.c:8341 #4 0x0111b210 in Fvertical_motion (lines=-4, window=55242245) at indent.c:2067 #5 0x01037d2b in Ffuncall (nargs=2, args=0x82ee10) at eval.c:2984 #6 0x01124c86 in exec_byte_code (bytestr=20612529, vector=20612669, maxdepth=20, args_template=52369434, nargs=0, args=0x0) at bytecode.c:785 #7 0x01038c2c in funcall_lambda (fun=20612493, nargs=2, arg_vector=0x82f074) at eval.c:3212 #8 0x010380c7 in Ffuncall (nargs=3, args=0x82f070) at eval.c:3030 #9 0x01124c86 in exec_byte_code (bytestr=20612313, vector=20612405, maxdepth=16, args_template=52369434, nargs=0, args=0x0) at bytecode.c:785 #10 0x01038c2c in funcall_lambda (fun=20612261, nargs=4, arg_vector=0x82f2c4) at eval.c:3212 #11 0x010380c7 in Ffuncall (nargs=5, args=0x82f2c0) at eval.c:3030 #12 0x01124c86 in exec_byte_code (bytestr=20611633, vector=20611341, maxdepth=20, args_template=52369434, nargs=0, args=0x0) at bytecode.c:785 #13 0x01124236 in Fbyte_code (bytestr=20611633, vector=20611341, maxdepth=20) at bytecode.c:423 #14 0x01035e4c in eval_sub (form=20611622) at eval.c:2335 #15 0x01033902 in internal_lisp_condition_case (var=52611362, bodyform=20611622, handlers=20611366) at eval.c:1440 #16 0x01125541 in exec_byte_code (bytestr=20611505, vector=20611573, maxdepth=20, args_template=52369434, nargs=0, args=0x0) at bytecode.c:981 #17 0x01038c2c in funcall_lambda (fun=20611477, nargs=2, arg_vector=0x82f8e4) at eval.c:3212 #18 0x010380c7 in Ffuncall (nargs=3, args=0x82f8e0) at eval.c:3030 #19 0x01123cb3 in Fcall_interactively (function=52733698, record_flag=52369434, keys=52390661) at callint.c:857 #20 0x01037da0 in Ffuncall (nargs=4, args=0x82fb80) at eval.c:2988 #21 0x0103723b in call3 (fn=52534634, arg1=52733698, arg2=52369434, arg3=52369434) at eval.c:2781 #22 0x0101ff42 in Fcommand_execute (cmd=52733698, record_flag=52369434, keys=52369434, special=52369434) at keyboard.c:10274 #23 0x01006404 in command_loop_1 () at keyboard.c:1572 #24 0x01033a0c in internal_condition_case (bfun=0x100543f , handlers=52427162, hfun=0x1004c69 ) at eval.c:1486 #25 0x010050a5 in command_loop_2 (ignore=52369434) at keyboard.c:1156 #26 0x010333cc in internal_catch (tag=52425186, func=0x1005082 , arg=52369434) at eval.c:1247 #27 0x0100505d in command_loop () at keyboard.c:1135 #28 0x01004627 in recursive_edit_1 () at keyboard.c:756 #29 0x01004949 in Frecursive_edit () at keyboard.c:820 #30 0x010027be in main (argc=2, argv=0xa32790) at emacs.c:1705 Lisp Backtrace: "vertical-motion" (0x82ee14) "line-move-visual" (0x82f074) "line-move" (0x82f2c4) "byte-code" (0x82f4a0) "previous-line" (0x82f8e4) "call-interactively" (0x82fb84) If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file d:/gnu/bzr/emacs/trunk/etc/DEBUG. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-08-19 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug help-mode easymenu view time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From unknown Sat Aug 16 18:42:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9330: 24.0.50; xassert failure in redisplay of composed characters Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Aug 2019 02:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9330 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: handa@m17n.org, 9330@debbugs.gnu.org Received: via spool by 9330-submit@debbugs.gnu.org id=B9330.15662693931322 (code B ref 9330); Tue, 20 Aug 2019 02:50:02 +0000 Received: (at 9330) by debbugs.gnu.org; 20 Aug 2019 02:49:53 +0000 Received: from localhost ([127.0.0.1]:60728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzuDY-0000LF-Rd for submit@debbugs.gnu.org; Mon, 19 Aug 2019 22:49:53 -0400 Received: from quimby.gnus.org ([80.91.231.51]:39934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzuDX-0000L7-NZ for 9330@debbugs.gnu.org; Mon, 19 Aug 2019 22:49:52 -0400 Received: from [12.144.191.101] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hzuDT-000275-FP; Tue, 20 Aug 2019 04:49:50 +0200 From: Lars Ingebrigtsen References: <83zkj5r75u.fsf@gnu.org> Date: Mon, 19 Aug 2019 19:49:45 -0700 In-Reply-To: <83zkj5r75u.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Aug 2011 14:07:41 +0300") Message-ID: <87lfvozh2u.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > C-h H > M-: (setq bidi-display-reordering nil) > C-u 765 M-x goto-char RET > C-p > > Emacs aborts in this assertion: > > xassert (IT_BYTEPOS (*it) == CHAR_TO_BYTE (IT_CHARPOS (*it))); > > This abort [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > C-h H > M-: (setq bidi-display-reordering nil) > C-u 765 M-x goto-char RET > C-p > > Emacs aborts in this assertion: > > xassert (IT_BYTEPOS (*it) == CHAR_TO_BYTE (IT_CHARPOS (*it))); > > This abort doesn't happen if bidi-display-reordering is turned on. > > The backtrace is below: > > #0 w32_abort () at w32fns.c:7182 > #1 0x011690b3 in set_iterator_to_next (it=0x82e4b0, reseat_p=1) > at xdisp.c:6630 I tried reproducing this old bug in Emacs 27, but was unable to, but perhaps it's just tricky to reproduce as the HELLO file has changed substantially in the seven years that have passed. Is this bug still present? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 19 22:50:00 2019 Received: (at control) by debbugs.gnu.org; 20 Aug 2019 02:50:00 +0000 Received: from localhost ([127.0.0.1]:60731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzuDg-0000LZ-4I for submit@debbugs.gnu.org; Mon, 19 Aug 2019 22:50:00 -0400 Received: from quimby.gnus.org ([80.91.231.51]:39948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzuDe-0000LR-9n for control@debbugs.gnu.org; Mon, 19 Aug 2019 22:49:58 -0400 Received: from [12.144.191.101] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hzuDb-00027O-Cs for control@debbugs.gnu.org; Tue, 20 Aug 2019 04:49:57 +0200 Date: Mon, 19 Aug 2019 19:49:53 -0700 Message-Id: <87k1b8zh2m.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #9330 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 9330 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 9330 + moreinfo quit From unknown Sat Aug 16 18:42:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Eli Zaretskii Subject: bug#9330: closed (Re: bug#9330: 24.0.50; xassert failure in redisplay of composed characters) Message-ID: References: <83h86bly5k.fsf@gnu.org> <83zkj5r75u.fsf@gnu.org> X-Gnu-PR-Message: they-closed 9330 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: moreinfo Reply-To: 9330@debbugs.gnu.org Date: Tue, 20 Aug 2019 14:17:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1566310622-25436-1" This is a multi-part message in MIME format... ------------=_1566310622-25436-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #9330: 24.0.50; xassert failure in redisplay of composed characters 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 9330@debbugs.gnu.org. --=20 9330: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D9330 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1566310622-25436-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 9330-done) by debbugs.gnu.org; 20 Aug 2019 14:17:00 +0000 Received: from localhost ([127.0.0.1]:33513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i04wV-0006by-TR for submit@debbugs.gnu.org; Tue, 20 Aug 2019 10:17:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i04wU-0006bm-OG for 9330-done@debbugs.gnu.org; Tue, 20 Aug 2019 10:16:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i04wP-0001Ro-Ca; Tue, 20 Aug 2019 10:16:53 -0400 Received: from [176.228.60.248] (port=4165 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i04wN-0005Jm-Ve; Tue, 20 Aug 2019 10:16:53 -0400 Date: Tue, 20 Aug 2019 17:16:55 +0300 Message-Id: <83h86bly5k.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <87lfvozh2u.fsf@mouse.gnus.org> (message from Lars Ingebrigtsen on Mon, 19 Aug 2019 19:49:45 -0700) Subject: Re: bug#9330: 24.0.50; xassert failure in redisplay of composed characters References: <83zkj5r75u.fsf@gnu.org> <87lfvozh2u.fsf@mouse.gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 9330-done Cc: 9330-done@debbugs.gnu.org, handa@m17n.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: 9330@debbugs.gnu.org, handa@m17n.org > Date: Mon, 19 Aug 2019 19:49:45 -0700 > > Eli Zaretskii writes: > > > C-h H > > M-: (setq bidi-display-reordering nil) > > C-u 765 M-x goto-char RET > > C-p > > > > Emacs aborts in this assertion: > > > > xassert (IT_BYTEPOS (*it) == CHAR_TO_BYTE (IT_CHARPOS (*it))); > > > > This abort doesn't happen if bidi-display-reordering is turned on. > > > > The backtrace is below: > > > > #0 w32_abort () at w32fns.c:7182 > > #1 0x011690b3 in set_iterator_to_next (it=0x82e4b0, reseat_p=1) > > at xdisp.c:6630 > > I tried reproducing this old bug in Emacs 27, but was unable to, but > perhaps it's just tricky to reproduce as the HELLO file has changed > substantially in the seven years that have passed. > > Is this bug still present? No, it isn't, neither with the current HELLO nor with the one that was current at the time the bug was file. So I'm closing the bug. Thanks for noticing it. ------------=_1566310622-25436-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Aug 2011 11:11:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuMyx-0004zm-7z for submit@debbugs.gnu.org; Fri, 19 Aug 2011 07:11:23 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QuMyu-0004ze-Lq for submit@debbugs.gnu.org; Fri, 19 Aug 2011 07:11:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuMws-0003D7-SY for submit@debbugs.gnu.org; Fri, 19 Aug 2011 07:09:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:54103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuMws-0003D3-Qy for submit@debbugs.gnu.org; Fri, 19 Aug 2011 07:09:14 -0400 Received: from eggs.gnu.org ([140.186.70.92]:44822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuMwr-0007J9-O2 for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 07:09:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuMwq-0003Cn-F4 for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 07:09:13 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:51549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuMwp-0003CW-W3 for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 07:09:12 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LQ600L009IDXZ00@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2011 14:07:39 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.124.178.145]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQ600HPI9KPI0FA@a-mtaout20.012.net.il>; Fri, 19 Aug 2011 14:07:39 +0300 (IDT) Date: Fri, 19 Aug 2011 14:07:41 +0300 From: Eli Zaretskii Subject: 24.0.50; xassert failure in redisplay of composed characters X-012-Sender: halo1@inter.net.il To: bug-gnu-emacs@gnu.org Message-id: <83zkj5r75u.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit Cc: handa@m17n.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: -4.4 (----) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': C-h H M-: (setq bidi-display-reordering nil) C-u 765 M-x goto-char RET C-p Emacs aborts in this assertion: xassert (IT_BYTEPOS (*it) == CHAR_TO_BYTE (IT_CHARPOS (*it))); This abort doesn't happen if bidi-display-reordering is turned on. The backtrace is below: #0 w32_abort () at w32fns.c:7182 #1 0x011690b3 in set_iterator_to_next (it=0x82e4b0, reseat_p=1) at xdisp.c:6630 #2 0x0116ced6 in move_it_in_display_line_to (it=0x82e4b0, to_charpos=765, to_x=-1, op=MOVE_TO_POS) at xdisp.c:8063 #3 0x0116db9c in move_it_to (it=0x82e4b0, to_charpos=765, to_x=-1, to_y=-1, to_vpos=-1, op=8) at xdisp.c:8341 #4 0x0111b210 in Fvertical_motion (lines=-4, window=55242245) at indent.c:2067 #5 0x01037d2b in Ffuncall (nargs=2, args=0x82ee10) at eval.c:2984 #6 0x01124c86 in exec_byte_code (bytestr=20612529, vector=20612669, maxdepth=20, args_template=52369434, nargs=0, args=0x0) at bytecode.c:785 #7 0x01038c2c in funcall_lambda (fun=20612493, nargs=2, arg_vector=0x82f074) at eval.c:3212 #8 0x010380c7 in Ffuncall (nargs=3, args=0x82f070) at eval.c:3030 #9 0x01124c86 in exec_byte_code (bytestr=20612313, vector=20612405, maxdepth=16, args_template=52369434, nargs=0, args=0x0) at bytecode.c:785 #10 0x01038c2c in funcall_lambda (fun=20612261, nargs=4, arg_vector=0x82f2c4) at eval.c:3212 #11 0x010380c7 in Ffuncall (nargs=5, args=0x82f2c0) at eval.c:3030 #12 0x01124c86 in exec_byte_code (bytestr=20611633, vector=20611341, maxdepth=20, args_template=52369434, nargs=0, args=0x0) at bytecode.c:785 #13 0x01124236 in Fbyte_code (bytestr=20611633, vector=20611341, maxdepth=20) at bytecode.c:423 #14 0x01035e4c in eval_sub (form=20611622) at eval.c:2335 #15 0x01033902 in internal_lisp_condition_case (var=52611362, bodyform=20611622, handlers=20611366) at eval.c:1440 #16 0x01125541 in exec_byte_code (bytestr=20611505, vector=20611573, maxdepth=20, args_template=52369434, nargs=0, args=0x0) at bytecode.c:981 #17 0x01038c2c in funcall_lambda (fun=20611477, nargs=2, arg_vector=0x82f8e4) at eval.c:3212 #18 0x010380c7 in Ffuncall (nargs=3, args=0x82f8e0) at eval.c:3030 #19 0x01123cb3 in Fcall_interactively (function=52733698, record_flag=52369434, keys=52390661) at callint.c:857 #20 0x01037da0 in Ffuncall (nargs=4, args=0x82fb80) at eval.c:2988 #21 0x0103723b in call3 (fn=52534634, arg1=52733698, arg2=52369434, arg3=52369434) at eval.c:2781 #22 0x0101ff42 in Fcommand_execute (cmd=52733698, record_flag=52369434, keys=52369434, special=52369434) at keyboard.c:10274 #23 0x01006404 in command_loop_1 () at keyboard.c:1572 #24 0x01033a0c in internal_condition_case (bfun=0x100543f , handlers=52427162, hfun=0x1004c69 ) at eval.c:1486 #25 0x010050a5 in command_loop_2 (ignore=52369434) at keyboard.c:1156 #26 0x010333cc in internal_catch (tag=52425186, func=0x1005082 , arg=52369434) at eval.c:1247 #27 0x0100505d in command_loop () at keyboard.c:1135 #28 0x01004627 in recursive_edit_1 () at keyboard.c:756 #29 0x01004949 in Frecursive_edit () at keyboard.c:820 #30 0x010027be in main (argc=2, argv=0xa32790) at emacs.c:1705 Lisp Backtrace: "vertical-motion" (0x82ee14) "line-move-visual" (0x82f074) "line-move" (0x82f2c4) "byte-code" (0x82f4a0) "previous-line" (0x82f8e4) "call-interactively" (0x82fb84) If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file d:/gnu/bzr/emacs/trunk/etc/DEBUG. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-08-19 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug help-mode easymenu view time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) ------------=_1566310622-25436-1--