From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.bugs Subject: bug#18036: 24.4.50; Too large fringe width causes hang in redisplay Date: Wed, 16 Jul 2014 21:47:09 +0400 Message-ID: <53C6BA9D.6030308@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1405533030 15304 80.91.229.3 (16 Jul 2014 17:50:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2014 17:50:30 +0000 (UTC) To: 18036@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 16 19:50:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X7TLT-0002Kn-25 for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jul 2014 19:50:23 +0200 Original-Received: from localhost ([::1]:40593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7TLS-0004Lp-IA for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jul 2014 13:50:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7TLH-0004K6-7Y for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 13:50:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7TL8-0001SK-Lr for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 13:50:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7TL8-0001S4-IL for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 13:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X7TL7-00064c-NG for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 13:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Antipov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Jul 2014 17:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18036 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.140553297423302 (code B ref -1); Wed, 16 Jul 2014 17:50:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jul 2014 17:49:34 +0000 Original-Received: from localhost ([127.0.0.1]:56767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X7TKf-00063l-41 for submit@debbugs.gnu.org; Wed, 16 Jul 2014 13:49:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42389) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X7TKb-00063S-AW for submit@debbugs.gnu.org; Wed, 16 Jul 2014 13:49:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7TKN-0001GY-Vo for submit@debbugs.gnu.org; Wed, 16 Jul 2014 13:49:23 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7TKN-0001GM-Sp for submit@debbugs.gnu.org; Wed, 16 Jul 2014 13:49:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7TKG-0004A7-77 for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 13:49:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7TK9-00019d-65 for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 13:49:08 -0400 Original-Received: from forward4o.mail.yandex.net ([37.140.190.33]:53180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7TK8-00018X-Ld for bug-gnu-emacs@gnu.org; Wed, 16 Jul 2014 13:49:01 -0400 Original-Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [37.140.190.28]) by forward4o.mail.yandex.net (Yandex) with ESMTP id 7DAC15641023 for ; Wed, 16 Jul 2014 21:48:56 +0400 (MSK) Original-Received: from smtp3o.mail.yandex.net (localhost [127.0.0.1]) by smtp3o.mail.yandex.net (Yandex) with ESMTP id 51C4E1E275A for ; Wed, 16 Jul 2014 21:48:52 +0400 (MSK) Original-Received: from 73.gprs.mts.ru (73.gprs.mts.ru [213.87.132.73]) by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 13dwQHzV4a-moh4KQoS; Wed, 16 Jul 2014 21:48:51 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: a45de484-d9d9-40a6-a504-4c66fa8a18ef DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1405532931; bh=eVXuBK5xm6nS5dWCo/wH+JxwolUfaYf6o48doMvkHIE=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type:Content-Transfer-Encoding; b=pcmg1Oubfdi5WodfAo3MAdjmBOQbrIzIto7bVybUiTgj0qzoyzrUOPUKFfSpDo8Xc LYFDrokaIii649b0ErpXua67nosN9yzPL2Z1gbjUaSvB3ES3v2Yyd0HdS8ztDXoS/Z uHabsCQszBoPGmVUrzC4pGqkqz7xbf7q1n2agAo0= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:91589 Archived-At: Recently I erroneously set left-fringe-width to some large number (don't remember an exact value), and got infloop in redisplay afterwards: #0 0x000000000045578a in move_it_to (it=0x7fff7386b590, to_charpos=192, to_x=-1, to_y=-1, to_vpos=-1, op=8) at ../../trunk/src/xdisp.c:9319 #1 0x0000000000455af0 in move_it_vertically_backward (it=0x7fff7386d090, dy=306) at ../../trunk/src/xdisp.c:9400 #2 0x000000000046bdf2 in redisplay_window (window=..., just_this_one_p=false) at ../../trunk/src/xdisp.c:16475 #3 0x0000000000462d28 in redisplay_window_0 (window=...) at ../../trunk/src/xdisp.c:14247 #4 0x0000000000609711 in internal_condition_case_1 (bfun=0x462ce6 , arg=..., handlers=..., hfun=0x462cb5 ) at ../../trunk/src/eval.c:1373 #5 0x0000000000462c93 in redisplay_windows (window=...) at ../../trunk/src/xdisp.c:14227 #6 0x0000000000461aed in redisplay_internal () at ../../trunk/src/xdisp.c:13826 #7 0x000000000045f830 in redisplay () at ../../trunk/src/xdisp.c:13112 #8 0x000000000056af5c in read_char (commandflag=1, map=..., prev_event=..., used_mouse_menu=0x7fff7386f4bf, end_time=0x0) at ../../trunk/src/keyboard.c:2560 #9 0x000000000057a593 in read_key_sequence (keybuf=0x7fff7386f6a0, bufsize=30, prompt=..., dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at ../../trunk/src/keyboard.c:9084 #10 0x0000000000567f1e in command_loop_1 () at ../../trunk/src/keyboard.c:1438 #11 0x00000000006095a0 in internal_condition_case (bfun=0x567b5c , handlers=..., hfun=0x56732c ) at ../../trunk/src/eval.c:1349 #12 0x00000000005677fa in command_loop_2 (ignore=...) at ../../trunk/src/keyboard.c:1169 #13 0x0000000000608a23 in internal_catch (tag=..., func=0x5677d7 , arg=...) at ../../trunk/src/eval.c:1113 #14 0x00000000005677ae in command_loop () at ../../trunk/src/keyboard.c:1148 #15 0x0000000000566e58 in recursive_edit_1 () at ../../trunk/src/keyboard.c:769 #16 0x0000000000567028 in Frecursive_edit () at ../../trunk/src/keyboard.c:840 #17 0x0000000000564f2f in main (argc=4, argv=0x7fff7386fb28) at ../../trunk/src/emacs.c:1650 Recipe to reproduce is very simple: ./src/emacs -Q --eval '(progn (setq left-fringe-width 1000) (switch-to-buffer "test") (kill-buffer))' This recipe works for all X-aware configurations on GNU/Linux. Dmitry