From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Devon Sean McCullough Newsgroups: gmane.emacs.bugs Subject: bug#45898: 27.1; wedged in redisplay again Date: Fri, 15 Jan 2021 13:13:16 -0500 Message-ID: <46b65e3f-cf3d-a3f2-9a9a-100e58274ff6@jovi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34871"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 To: 45898@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 15 19:14:25 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l0Tc9-0008wW-H9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Jan 2021 19:14:25 +0100 Original-Received: from localhost ([::1]:39336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0Tc8-0002Vf-7Q for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Jan 2021 13:14:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0Tbq-0002VM-3o for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2021 13:14:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l0Tbm-0003uv-0C for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2021 13:14:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l0Tbl-0002Jx-SB for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2021 13:14:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Devon Sean McCullough Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jan 2021 18:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45898 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16107344228878 (code B ref -1); Fri, 15 Jan 2021 18:14:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Jan 2021 18:13:42 +0000 Original-Received: from localhost ([127.0.0.1]:41709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0TbR-0002J8-KE for submit@debbugs.gnu.org; Fri, 15 Jan 2021 13:13:41 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:33468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0TbP-0002J0-Af for submit@debbugs.gnu.org; Fri, 15 Jan 2021 13:13:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0TbP-0002SS-4x for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2021 13:13:39 -0500 Original-Received: from gateway33.websitewelcome.com ([192.185.146.78]:21169) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0TbN-0003go-AW for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2021 13:13:38 -0500 Original-Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 9222427830B1 for ; Fri, 15 Jan 2021 12:13:17 -0600 (CST) Original-Received: from leaf.websitewelcome.com ([192.185.82.99]) by cmsmtp with SMTP id 0Tb3lO4Lrsvw90Tb3lfhCC; Fri, 15 Jan 2021 12:13:17 -0600 X-Authority-Reason: nr=8 Original-Received: from pool-72-83-171-228.washdc.east.verizon.net ([72.83.171.228]:60246 helo=[192.168.1.165]) by leaf.websitewelcome.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1l0Tb3-001LRa-Ah for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2021 12:13:17 -0600 Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - leaf.websitewelcome.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jovi.net X-BWhitelist: no X-Source-IP: 72.83.171.228 X-Source-L: No X-Exim-ID: 1l0Tb3-001LRa-Ah X-Source-Sender: pool-72-83-171-228.washdc.east.verizon.net ([192.168.1.165]) [72.83.171.228]:60246 X-Source-Auth: devon2011@jovi.net X-Email-Count: 1 X-Source-Cap: am92aW5ldDtkZXZvbjtsZWFmLndlYnNpdGV3ZWxjb21lLmNvbQ== X-Local-Domain: yes Received-SPF: pass client-ip=192.185.146.78; envelope-from=emacs-hacker2018@jovi.net; helo=gateway33.websitewelcome.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197998 Archived-At: An elisp expression output a bigger list than expected so I hit m-< and went out for a walk. After four hours of 99% CPU, lldb backtrace shows main → Frecursive_edit → recursive_edit_1 → command_loop → command_loop.cold.1 → internal_catch → command_loop_2 → internal_condition_case → command_loop_1 → read_key_sequence → read_char → redisplay_internal → redisplay_windows → redisplay_windows → internal_condition_case_1 → redisplay_window_0 → redisplay_window → compute_window_start_on_continuation_line → move_it_to → move_it_in_display_line_to → gui_produce_glyphs → macfont_encode_char If lldb forces read_char to return Qnil or redisplay_internal to return, will Emacs crash immediately or survive long enough to save all buffers or better yet continue working? Would calling Fgoto-char(Fpoint_min()) from the lldb break immediately corrupt or crash Emacs? Peace --Devon P.S. If there exists a way to quickly and safely abort redisplay, perhaps there should be a hook invoked when repeated keyboard-quit has no effect, allowing experimentation into workarounds for this apparently intractable redisplay problem?