From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#10696: 24.0.93; crash by null string display property Date: Thu, 02 Feb 2012 22:17:58 +0900 Message-ID: <87d39xtlvd.fsf@m17n.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328188790 23183 80.91.229.3 (2 Feb 2012 13:19:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2012 13:19:50 +0000 (UTC) To: 10696@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 02 14:19:50 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RswZp-0004Eh-8d for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Feb 2012 14:19:49 +0100 Original-Received: from localhost ([::1]:42030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RswZo-0000Ut-NF for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Feb 2012 08:19:48 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RswZg-0000UY-9C for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 08:19:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RswZb-0001Py-N2 for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 08:19:40 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RswZb-0001Pt-Iy for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 08:19:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rswa2-0004LM-9U for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 08:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kenichi Handa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Feb 2012 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10696 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132818874216620 (code B ref -1); Thu, 02 Feb 2012 13:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Feb 2012 13:19:02 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) Original-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) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56380 Archived-At: 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)