From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2314: Crash with word-wrap and wrap-prefix Date: Fri, 13 Feb 2009 00:01:23 +0200 Organization: JURTA Message-ID: <878wob2tt2.fsf@jurta.org> Reply-To: Juri Linkov , 2314@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234478659 10587 80.91.229.12 (12 Feb 2009 22:44:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2009 22:44:19 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 12 23:45:32 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 1LXkJA-0003zv-Bj for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Feb 2009 23:45:25 +0100 Original-Received: from localhost ([127.0.0.1]:58554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXkHq-0008UT-A5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Feb 2009 17:44:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXkHR-0008Hh-IB for bug-gnu-emacs@gnu.org; Thu, 12 Feb 2009 17:43:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXkHQ-0008Gx-Oq for bug-gnu-emacs@gnu.org; Thu, 12 Feb 2009 17:43:37 -0500 Original-Received: from [199.232.76.173] (port=57488 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXkHQ-0008Gn-9i for bug-gnu-emacs@gnu.org; Thu, 12 Feb 2009 17:43:36 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51100) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LXkHP-0008Hr-QY for bug-gnu-emacs@gnu.org; Thu, 12 Feb 2009 17:43:36 -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 n1CMhYpu009196; Thu, 12 Feb 2009 14:43:34 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1CMU5lF005754; Thu, 12 Feb 2009 14:30:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 12 Feb 2009 22:30:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2314 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12344775064540 (code B ref -1); Thu, 12 Feb 2009 22:30:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 12 Feb 2009 22:25:06 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-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 Original-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 Original-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 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (x86_64-pc-linux-gnu) 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) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 12 Feb 2009 17:43:36 -0500 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:25255 gmane.emacs.pretest.bugs:23907 Archived-At: 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/