From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#2314: marked as done (Crash with word-wrap and wrap-prefix) Date: Sat, 14 Feb 2009 17:30:02 +0000 Message-ID: References: <87prhlvscz.fsf@cyd.mit.edu> <878wob2tt2.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1234632602-4446-0" X-Trace: ger.gmane.org 1234633437 8692 80.91.229.12 (14 Feb 2009 17:43:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2009 17:43:57 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 14 18:45:12 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LYOZg-0003uo-Jl for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Feb 2009 18:45:09 +0100 Original-Received: from localhost ([127.0.0.1]:47171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LYOYJ-0000r9-NL for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Feb 2009 12:43:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LYOYF-0000ql-4h for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2009 12:43:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LYOYD-0000qZ-Kd for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2009 12:43:37 -0500 Original-Received: from [199.232.76.173] (port=43914 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LYOYD-0000qW-E9 for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2009 12:43:37 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36063) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LYOYC-0005FU-St for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2009 12:43:37 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EHhYDi008635; Sat, 14 Feb 2009 09:43:34 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1EHU2rs004465; Sat, 14 Feb 2009 09:30:02 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 2314 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25312 Archived-At: This is a multi-part message in MIME format... ------------=_1234632602-4446-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 14 Feb 2009 12:30:20 -0500 with message-id <87prhlvscz.fsf@cyd.mit.edu> and subject line Re: Crash with word-wrap and wrap-prefix has caused the Emacs bug report #2314, regarding Crash with word-wrap and wrap-prefix to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 2314: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D2314 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1234632602-4446-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 12 Feb 2009 22:25:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,FVGT_m_MULTI_ODD, IMPRONONCABLE_2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1CMP0bk004360 for ; Thu, 12 Feb 2009 14:25:02 -0800 Received: from mx10.gnu.org ([199.232.76.166]:44119) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LXjxU-00046g-HY for emacs-pretest-bug@gnu.org; Thu, 12 Feb 2009 17:23:01 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LXjlS-0005wL-JT for emacs-pretest-bug@gnu.org; Thu, 12 Feb 2009 17:10:36 -0500 Received: from relay01.kiev.sovam.com ([62.64.120.200]:3602) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LXjlS-0005vv-7y for emacs-pretest-bug@gnu.org; Thu, 12 Feb 2009 17:10:34 -0500 Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.69) (envelope-from ) id 1LXjlO-000Ent-VQ for emacs-pretest-bug@gnu.org; Fri, 13 Feb 2009 00:10:31 +0200 From: Juri Linkov To: emacs-pretest-bug@gnu.org Subject: Crash with word-wrap and wrap-prefix Organization: JURTA Date: Fri, 13 Feb 2009 00:01:23 +0200 Message-ID: <878wob2tt2.fsf@jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanner-Signature: bb9f355b5be917825c280d06cf0e20ab X-DrWeb-checked: yes X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) I was trying to report a weirdness of a long wrap-prefix with non-nil word-wrap but got a crash. With emacs -Q, evaluate in *scratch*: (progn (setq word-wrap t wrap-prefix (make-string 120 ?\s)) (dotimes (i 25) (insert (make-string 120 ?.) "\n"))) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f0ea59a67a0 (LWP 9334)] 0x0000000000430f3f in underlying_face_id (it=0x7fffad9d6c30) at xdisp.c:3594 3594 if (NILP (it->stack[i].string)) (gdb) bt #0 0x0000000000430f3f in underlying_face_id (it=0x7fffad9d6c30) at xdisp.c:3594 #1 0x0000000000430d1e in handle_face_prop (it=0x7fffad9d6c30) at xdisp.c:3534 #2 0x0000000000430071 in handle_stop (it=0x7fffad9d6c30) at xdisp.c:3134 #3 0x000000000043870f in next_element_from_string (it=0x7fffad9d6c30) at xdisp.c:6270 #4 0x000000000043684a in get_next_display_element (it=0x7fffad9d6c30) at xdisp.c:5674 #5 0x0000000000452fdb in display_line (it=0x7fffad9d6c30) at xdisp.c:16597 #6 0x000000000044b617 in try_window (window=15654180, pos={charpos = 1, bytepos = 1}, check_margins=1) at xdisp.c:14054 #7 0x000000000044a1ff in redisplay_window (window=15654180, just_this_one_p=0) at xdisp.c:13677 #8 0x0000000000445cae in redisplay_window_0 (window=15654180) at xdisp.c:12272 #9 0x0000000000665594 in internal_condition_case_1 (bfun=0x445c72 , arg=15654180, handlers=12715829, hfun=0x445c47 ) at eval.c:1559 #10 0x0000000000445c28 in redisplay_windows (window=15654180) at xdisp.c:12251 #11 0x0000000000444daf in redisplay_internal (preserve_echo_area=0) at xdisp.c:11827 #12 0x0000000000442c5b in redisplay () at xdisp.c:11033 #13 0x00000000005c5dd6 in read_char (commandflag=1, nmaps=2, maps=0x7fffad9d8f20, prev_event=12357345, used_mouse_menu=0x7fffad9d92e8, end_time=0x0) at keyboard.c:2703 #14 0x00000000005d2b6b in read_key_sequence (keybuf=0x7fffad9d9490, bufsize=30, prompt=12357345, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9432 #15 0x00000000005c2b75 in command_loop_1 () at keyboard.c:1640 #16 0x000000000066540a in internal_condition_case (bfun=0x5c27db , handlers=12444417, hfun=0x5c210c ) at eval.c:1511 #17 0x00000000005c24fa in command_loop_2 () at keyboard.c:1357 #18 0x0000000000664de6 in internal_catch (tag=12425809, func=0x5c24e0 , arg=12357345) at eval.c:1247 #19 0x00000000005c24b4 in command_loop () at keyboard.c:1336 #20 0x00000000005c1c52 in recursive_edit_1 () at keyboard.c:951 #21 0x00000000005c1df5 in Frecursive_edit () at keyboard.c:1013 #22 0x00000000005c0269 in main (argc=2, argv=0x7fffad9d9db8) at emacs.c:1852 GNU Emacs 23.0.90 (x86_64-pc-linux-gnu) of 2009-02-12 -- Juri Linkov http://www.jurta.org/emacs/ ------------=_1234632602-4446-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2314-done) by emacsbugs.donarmstrong.com; 14 Feb 2009 17:29:33 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EHTUF3004375 for <2314-done@emacsbugs.donarmstrong.com>; Sat, 14 Feb 2009 09:29:32 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 8F48157E211; Sat, 14 Feb 2009 12:30:20 -0500 (EST) From: Chong Yidong To: Juri Linkov Cc: 2314-done@emacsbugs.donarmstrong.com Subject: Re: Crash with word-wrap and wrap-prefix Date: Sat, 14 Feb 2009 12:30:20 -0500 Message-ID: <87prhlvscz.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've checked in a fix. Thanks for spotting this. ------------=_1234632602-4446-0--