From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#50205: 27.2; crashes or hangs when opening a specific file using tramp Date: Thu, 26 Aug 2021 09:26:55 +0300 Message-ID: <83tujcu3f4.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39560"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50205@debbugs.gnu.org To: Mani Kancherla Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 26 08:28:10 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 1mJ8ry-000A7i-6L for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Aug 2021 08:28:10 +0200 Original-Received: from localhost ([::1]:43542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJ8rw-0001Tx-B5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Aug 2021 02:28:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJ8rq-0001TZ-Og for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 02:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJ8rq-0004ib-H4 for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 02:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mJ8rq-00006k-7X for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 02:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Aug 2021 06:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50205 X-GNU-PR-Package: emacs Original-Received: via spool by 50205-submit@debbugs.gnu.org id=B50205.1629959241365 (code B ref 50205); Thu, 26 Aug 2021 06:28:02 +0000 Original-Received: (at 50205) by debbugs.gnu.org; 26 Aug 2021 06:27:21 +0000 Original-Received: from localhost ([127.0.0.1]:48200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJ8rB-00005p-E3 for submit@debbugs.gnu.org; Thu, 26 Aug 2021 02:27:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJ8r9-00005c-5K for 50205@debbugs.gnu.org; Thu, 26 Aug 2021 02:27:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52200) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJ8r3-00046F-Df; Thu, 26 Aug 2021 02:27:13 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3891 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJ8r3-00028K-1b; Thu, 26 Aug 2021 02:27:13 -0400 In-Reply-To: (message from Mani Kancherla on Wed, 25 Aug 2021 12:24:58 -0700) 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:212687 Archived-At: > From: Mani Kancherla > Date: Wed, 25 Aug 2021 12:24:58 -0700 > > If I open a specific file over tramp and then trigger window redisplay, either by resizing the window or splitting > the window, then emacs hangs or sometimes crashes. Can be reproduced consistently by just opening the > specific file over tramp and then "C-x 3". Same file, if I open locally (without tramp), it does not crash on > window resize. > > Please find the specific file that causes the crash attached to this email. Steps to reproduce: > - place the file on a remote machine > - start emacs > - open file using tramp like /ssh:1.1.1.1:/tmp/test.txt > - split the window with C-x 3 > ====> emacs hangs or crashes at this point > > I have seen this issue on macos with different versions of emacs (26.3, 27.1, 27.2) and with different > versions of tramp as well. Please find below the stack trace I collected. Also, just for testing, I removed > everything from .emacs to see if it is something in my .emacs, but it still crashed or hung. The backtrace you show says Emacs stopped due to SIGSTOP signal, so I guess this was the case it "hanged" and you stopped it? In that case, the backtrace points to an arbitrary point, and is not useful; we need to know where does it infloop. The technique to discover that is described in etc/DEBUG, search for "If the symptom of the bug is that Emacs fails to respond" there. Thanks.