From unknown Mon Jun 16 23:47:11 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#10696 <10696@debbugs.gnu.org> To: bug#10696 <10696@debbugs.gnu.org> Subject: Status: 24.0.93; crash by null string display property Reply-To: bug#10696 <10696@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:47:11 +0000 retitle 10696 24.0.93; crash by null string display property reassign 10696 emacs submitter 10696 Kenichi Handa severity 10696 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 02 08:19:02 2012 Received: (at submit) by debbugs.gnu.org; 2 Feb 2012 13:19:02 +0000 Received: from localhost ([127.0.0.1]:50138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RswZ3-0004K1-MJ for submit@debbugs.gnu.org; Thu, 02 Feb 2012 08:19:02 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48758) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RswZ0-0004JU-7L for submit@debbugs.gnu.org; Thu, 02 Feb 2012 08:19:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RswYP-00011D-JP for submit@debbugs.gnu.org; Thu, 02 Feb 2012 08:18:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) 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.2 Received: from lists.gnu.org ([140.186.70.17]:57880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RswYP-000119-Hz for submit@debbugs.gnu.org; Thu, 02 Feb 2012 08:18:21 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RswYN-0007uu-Ub for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 08:18:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RswYM-00010a-2I for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 08:18:19 -0500 Received: from mx1.aist.go.jp ([150.29.246.133]:44116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RswYL-0000zz-FD for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 08:18:17 -0500 Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id q12DIBDH028838 for ; Thu, 2 Feb 2012 22:18:11 +0900 (JST) env-from (handa@m17n.org) Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id q12DIA8J029551 for ; Thu, 2 Feb 2012 22:18:10 +0900 (JST) env-from (handa@m17n.org) Received: by smtp1.aist.go.jp with ESMTP id q12DIAdU027434 for ; Thu, 2 Feb 2012 22:18:10 +0900 (JST) env-from (handa@m17n.org) From: Kenichi Handa To: bug-gnu-emacs@gnu.org Subject: 24.0.93; crash by null string display property Date: Thu, 02 Feb 2012 22:17:58 +0900 Message-ID: <87d39xtlvd.fsf@m17n.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Solaris 9 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.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.2 (----) Emacs crashes by this scenario. Start Emacs under gdb as this % cd .../emacs/src % gdb emacs (gdb) run -Q Then type this in *scratch* buffer. (put-text-property 1 3 'display "")C-j ESC < C-f C-b Then Emacs abort as this. Breakpoint 1, abort () at emacs.c:394 (gdb) bt full #0 abort () at emacs.c:394 No locals. #1 0x0817b0f6 in buf_charpos_to_bytepos (b=0x8486dd0, charpos=0) at marker.c:130 tail = 0x822923a best_above = -1073745816 best_above_byte = -1073744400 best_below = 2 best_below_byte = 2 #2 0x082286b8 in set_point (charpos=0) at intervals.c:1896 No locals. #3 0x0814de2d in adjust_point_for_property (last_pt=3, modified=0) at keyboard.c:1751 beg = 1 end = 3 val = 136909489 overlay = 138944682 tmp = 1 check_composition = 0 check_display = 1 check_invisible = 1 orig_pt = 2 #4 0x0814db44 in command_loop_1 () at keyboard.c:1692 cmd = 138969498 keybuf = {8, 240, -1073745576, 136124231, 139015362, 138944682, 139015360, 0, -1208056008, -1073807358, 1172880, 139015362, 138944682, 0, 0, 138944682, 139489658, 139152966, 137188261, 1346920704, 0, 0, 138944682, 138944682, -1073744400, -1073744684, -1073745528, 136114429, 2, 139152966} i = 1 prev_modiff = 179 prev_buffer = 0x8486dd0 already_adjusted = 0 #5 0x081cdf93 in internal_condition_case (bfun=0x814d0a6 , handlers=138975690, hfun=0x814ca67 ) at eval.c:1500 val = 139152966 c = { tag = 138944682, val = 138944682, next = 0xbffff2e8, gcpro = 0x0, jmp = {{ __jmpbuf = {-1073743984, -1073744400, -1073744684, -1073745240, -2117001572, 1200358899}, __mask_was_saved = 0, __saved_mask = { __val = {0, 0, 32, 7263168, 7258100, 7263168, 5906208, 0, 3221222048, 3221221976, 3221221988, 134537396, 1231096, 0, 3086911288, 3221159938, 134536417, 134535701, 3086919744, 1228788, 5872076, 24, 3221221756, 1150886, 7757812, 138898240, 3221222292, 5889536, 3086919832, 2, 4294967295, 1228788} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 138975690, var = 138944682, chosen_clause = 1, tag = 0xbffff1c0, next = 0x0 } #6 0x0814cdf7 in command_loop_2 (ignore=138944682) at keyboard.c:1159 val = -1073743984 #7 0x081cda8f in internal_catch (tag=138973666, func=0x814cdd3 , arg=138944682) at eval.c:1257 c = { tag = 138973666, val = 138944682, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {-1073743984, -1073744400, -1073744684, -1073744968, -2116559204, 1200062451}, __mask_was_saved = 0, __saved_mask = { __val = {0 , 6306222, 0, 0, 0, 138944682, 3221222328, 136021028, 138561896, 138944682, 138964432, 136450857, 142408960, 3221223312, 138561896, 138964432, 138561896} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #8 0x0814cdb3 in command_loop () at keyboard.c:1138 No locals. #9 0x0814c6a0 in recursive_edit_1 () at keyboard.c:758 count = 1 val = -1073744824 #10 0x0814c7f1 in Frecursive_edit () at keyboard.c:822 count = 0 buffer = 138944682 #11 0x0814acf6 in main (argc=2, argv=0xbffff834) at emacs.c:1715 dummy = -1073743992 stack_bottom_variable = 8 '\b' do_initial_setlocale = 1 skip_args = 0 rlim = { rlim_cur = 8388608, rlim_max = 18446744073709551615 } no_loadup = 0 junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x6ebff4 "|]\025" (gdb) xbacktrace (gdb) I'll be able to work on this problem next week, but anyone who can fix this bug earlier are welcome. --- Kenichi Handa handa@m17n.org In GNU Emacs 24.0.93.13 (i686-pc-linux-gnu, X toolkit, Xaw scroll bars) of 2012-02-02 on ubuntu Windowing system distributor `The X.Org Foundation', version 11.0.10706000 Configured using: `configure 'CFLAGS=-g'' 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: ja_JP.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: display-time-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-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. 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 mailabbrev gmm-utils mailheader emacsbug time sendmail regexp-opt rmail-spam-filter easymenu rmailsum rmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date japan-util tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd 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 loaddefs 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 dynamic-setting font-render-setting x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 02 10:19:21 2012 Received: (at submit) by debbugs.gnu.org; 2 Feb 2012 15:19:21 +0000 Received: from localhost ([127.0.0.1]:51011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RsyRV-0007I1-Cz for submit@debbugs.gnu.org; Thu, 02 Feb 2012 10:19:21 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46083) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RsyRT-0007Hq-8t for submit@debbugs.gnu.org; Thu, 02 Feb 2012 10:19:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsyQs-0001mD-9l for submit@debbugs.gnu.org; Thu, 02 Feb 2012 10:18:46 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_NUMERIC_HELO,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:36024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsyQs-0001m9-8P for submit@debbugs.gnu.org; Thu, 02 Feb 2012 10:18:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsyQm-00029F-PG for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 10:18:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsyQi-0001lN-Kc for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 10:18:36 -0500 Received: from plane.gmane.org ([80.91.229.3]:59524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsyQh-0001lC-Qp for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 10:18:32 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RsyQa-0000od-93 for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 16:18:24 +0100 Received: from 222.130.134.26 ([222.130.134.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 16:18:24 +0100 Received: from sdl.web by 222.130.134.26 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 16:18:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Leo Subject: Re: bug#10696: 24.0.93; crash by null string display property Date: Thu, 02 Feb 2012 23:18:09 +0800 Lines: 15 Message-ID: References: <87d39xtlvd.fsf@m17n.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 222.130.134.26 Face: iVBORw0KGgoAAAANSUhEUgAAACkAAAApAQAAAACAGz1bAAABKElEQVQYlWNg3NIt5FDPUPt7 4+X79Qyucz5/ugik+L2PBgKpyphaIK921q23QDnG0NBQoMr/vaWl9f8ZLL78uPv5PwN7RETfzXoG jhmFz27XM0RXmpuY/WfY+fv0Mc56BvFybfXA/wwL5t/wF61n2PU59axXPcOVzbmSW/8zrNt1benC /ww70hqUU/4zKCtrT9jwn8FhwynbufUMendE2aLqGRpdX9al1zM8eh17lKeeQcTMrdD5P8P3j/YT Q/8zXHSb7p1Qz/C4OM2JuZ7hgtI7K6AjqsMnf8j4z8C6xG1tw3+GqpqvsVn/GTzmpD9j/8/wP/oZ S/l/Bka+QO/g/wy15ueeFQL9N1O8mPU/g+umV3t1gdT0/1bTgHLqYVeXAlWKpMWt+w8Az82C9nHf X0cAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (Mac OS X 10.6.8) Cancel-Lock: sha1:KpCNfGZTjczno6ZjQfP3PFAdGWU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: -3.0 (---) On 2012-02-02 21:17 +0800, Kenichi Handa wrote: > % cd .../emacs/src > % gdb emacs > (gdb) run -Q > > Then type this in *scratch* buffer. > > (put-text-property 1 3 'display "")C-j > ESC < C-f C-b > > Then Emacs abort as this. Crash Emacs 23.4 too. Leo From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 04 04:29:42 2012 Received: (at 10696-done) by debbugs.gnu.org; 4 Feb 2012 09:29:42 +0000 Received: from localhost ([127.0.0.1]:53098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtbwE-0000SC-Dt for submit@debbugs.gnu.org; Sat, 04 Feb 2012 04:29:42 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:54266) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtbwC-0000S0-Df for 10696-done@debbugs.gnu.org; Sat, 04 Feb 2012 04:29:41 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LYV008003FGH600@a-mtaout22.012.net.il> for 10696-done@debbugs.gnu.org; Sat, 04 Feb 2012 11:28:56 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.149.90]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LYV008153O6AK70@a-mtaout22.012.net.il>; Sat, 04 Feb 2012 11:28:55 +0200 (IST) Date: Sat, 04 Feb 2012 11:28:55 +0200 From: Eli Zaretskii Subject: Re: bug#10696: 24.0.93; crash by null string display property In-reply-to: <87d39xtlvd.fsf@m17n.org> X-012-Sender: halo1@inter.net.il To: Kenichi Handa Message-id: <838vkjdk14.fsf@gnu.org> References: <87d39xtlvd.fsf@m17n.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10696-done Cc: 10696-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.2 (-) > From: Kenichi Handa > Date: Thu, 02 Feb 2012 22:17:58 +0900 > > Emacs crashes by this scenario. > > Start Emacs under gdb as this > > % cd .../emacs/src > % gdb emacs > (gdb) run -Q > > Then type this in *scratch* buffer. > > (put-text-property 1 3 'display "")C-j > ESC < C-f C-b > > Then Emacs abort as this. > > Breakpoint 1, abort () at emacs.c:394 > (gdb) bt full > #0 abort () at emacs.c:394 > No locals. > #1 0x0817b0f6 in buf_charpos_to_bytepos (b=0x8486dd0, charpos=0) > at marker.c:130 Fixed in revision 107088 on the trunk. From unknown Mon Jun 16 23:47:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 03 Mar 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator