From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dag via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47896: 27.2; TRAMP hang/lockup/fault on compile/file access Date: Thu, 22 Apr 2021 11:22:24 -0500 Message-ID: <82201411-a21c-4b4f-8536-17c82aec2500@victor> References: <87mttsrfe7.fsf@gmx.de> <87im4fra43.fsf@gmx.de> <72c97333-e729-4cbe-b104-94a5f982e411@victor> <875z0erd08.fsf@gmx.de> <26a91bae-c4ec-4467-a415-251e408a76fc@victor> Reply-To: dag Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="6081a2c0_75a47b36_69d5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28734"; mail-complaints-to="usenet@ciao.gmane.io" Cc: for@debbugs.gnu.org, Bug@debbugs.gnu.org, dag@debbugs.gnu.org, via@debbugs.gnu.org, Bug@debbugs.gnu.org, reports@debbugs.gnu.org, for@debbugs.gnu.org, GNU@debbugs.gnu.org, Emacs@debbugs.gnu.org, 47896@debbugs.gnu.org, GNU@debbugs.gnu.org, dag@debbugs.gnu.org, via@debbugs.gnu.org, reports@debbugs.gnu.org, Emacs@debbugs.gnu.org To: "Michael Albinus" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 22 18:29: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 1lZcCh-0007Em-TW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Apr 2021 18:29:24 +0200 Original-Received: from localhost ([::1]:52870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZcCg-0005lE-Vm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Apr 2021 12:29:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZc6Z-0008FQ-99 for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 12:23:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52068) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZc6Z-0008Ji-0P for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 12:23:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZc6Y-0005RW-Te for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 12:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: dag Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Apr 2021 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47896 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: for@debbugs.gnu.org, Bug@debbugs.gnu.org, dag via Bug reports for GNU Emacs, the Swiss army knife of text editors , GNU@debbugs.gnu.org, dag@debbugs.gnu.org, via@debbugs.gnu.org, reports@debbugs.gnu.org, 47896@debbugs.gnu.org, Emacs@debbugs.gnu.org Original-Received: via spool by 47896-submit@debbugs.gnu.org id=B47896.161910855320863 (code B ref 47896); Thu, 22 Apr 2021 16:23:02 +0000 Original-Received: (at 47896) by debbugs.gnu.org; 22 Apr 2021 16:22:33 +0000 Original-Received: from localhost ([127.0.0.1]:35380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZc64-0005QR-JE for submit@debbugs.gnu.org; Thu, 22 Apr 2021 12:22:32 -0400 Original-Received: from [216.160.0.40] (port=57477 helo=smtp.obbligato.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZc62-0005Px-DW for 47896@debbugs.gnu.org; Thu, 22 Apr 2021 12:22:32 -0400 Original-Received: from victor (localhost [127.0.0.1]) by smtp.obbligato.org (Postfix) with ESMTPA id 8448F44E5D6; Thu, 22 Apr 2021 11:22:24 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=obbligato.org; s=199568; t=1619108544; bh=ILR8k860D2rI5xwQ6DYmtuELHLXleyNgecaCvMZB56E=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=onFgLOs3cS7xR7W4JILOAR98nC3W0OGkv3mJX7nbjKU8WfAD9RRP12EzObR9Vpca8 kXob/aTfC5UNaTDBkF/AM2df8HEwYgBP5F4hSUAwvV5LE7eLoNk4LKVk10K8EjWJna nfgMhCTDuiWo7yQxZjPZR0StGQRAK+9CsOSEtL3I= In-Reply-To: <26a91bae-c4ec-4467-a415-251e408a76fc@victor> X-Synology-MCP-Status: no X-Synology-Spam-Flag: no X-Synology-Spam-Status: score=0.4, required 5, TO_DN_SOME 0, __THREADED 0, CC_EXCESS_QP 0, HTML_MESSAGE 0.001, RCPT_COUNT_SEVEN 0, FREEMAIL_TO 0, RCVD_COUNT_ZERO 0, FROM_EQ_ENVFROM 0, MIME_TRACE 0, __NOT_SPOOFED 0, NO_RECEIVED -0.001, FROM_HAS_DN 0, FREEMAIL_ENVRCPT 0, TO_MATCH_ENVRCPT_ALL 0, MIME_GOOD -0.1, HTML_MISSING_CTYPE 0, MID_RHS_NOT_FQDN 0.5, __NOT_A_PERSON 0 X-Synology-Virus-Status: no 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:204702 Archived-At: --6081a2c0_75a47b36_69d5 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline On 2021-04-22 11:10, dag wrote: > > > > > I've been meaning to disable those anyway, but it's a shame these don't seem to work well > > with TRAMP. Now lockups that need "kill -SIGUSR2" are pretty rare (though they do > > happen occasionally). > > And...I just had a -SIGUSR2 lockup. :). Here's a backtrace: > > > > > > Debugger entered--entering a function: > > > > * tramp-signal-hook-function(quit nil) > > > > accept-process-output(# 0 nil t) > > > > tramp-accept-process-output(# 0) > > > > tramp-interrupt-process(# nil) > > > > interrupt-process(#) > > > > compilation-start("git be bic all-devrel-local" compilation-mode nil nil) > > > > apply(compilation-start ("git be bic all-devrel-lo cal" compilation-mode nil nil)) > > > > recompile(nil) > > > > funcall-interactively(recompile nil) > > > > call-interactively(recompile nil nil) > > > > command-execute(recompile) > > > > The debug log ends with this: 11:11:36.384026 tramp-send-command (6) # \readlink --canonicalize-missing /net/dgreene-dev/ 2>/dev/null; echo tramp_exit_status $? 11:15:42.087353 tramp-accept-process-output (1) # Quit: "Quit", "" 11:15:42.087652 tramp-accept-process-output (1) # Quit: "Quit", "" 11:15:42.087766 tramp-accept-process-output (1) # Quit: "Quit", "" 11:15:42.087879 tramp-accept-process-output (1) # Quit: "Quit", "" 11:15:42.088020 tramp-accept-process-output (1) # Quit: "Quit", "" 11:15:42.088130 tramp-accept-process-output (1) # Quit: "Quit", "" 11:15:42.088243 tramp-accept-process-output (1) # Quit: "Quit", "" Followed by hundreds of thousands of the "Quit" message. David --6081a2c0_75a47b36_69d5 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
On 2021-04-22 11:10, dag <dag=40obbligato.org> wrote:
 
I've been meaning to disable those anyway, but it's a shame these do= n't seem to work well
with TRAMP.  Now lockups that need =22kill -SIGUSR2=22 are pret= ty rare (though they do
happen occasionally).
And...I just had a -SIGUSR2 lockup.  :). Here's a backtrace:
 
Debugger entered--entering a function:
* tramp-signal-hook-function(quit nil)
  accept-process-output(=23<process compilation> 0 nil t)=
  tramp-accept-process-output(=23<process compilation> 0)=
  tramp-interrupt-process(=23<process compilation> nil)
  interrupt-process(=23<process compilation>)
  compilation-start(=22git be bic all-devrel-local=22 compilati= on-mode nil nil)
  apply(compilation-start (=22git be bic all-devrel-local=22 co= mpilation-mode nil nil))
  recompile(nil)
  funcall-interactively(recompile nil)
  call-interactively(recompile nil nil)
  command-execute(recompile)
The debug log ends with this:
 
11:11:36.384026 tramp-send-command (6) =23 =5Creadlink --canonicaliz= e-missing /net/dgreene-dev/<redacted> 2>/dev/null; echo tramp=5F= exit=5Fstatus =24=3F
11:15:42.087353 tramp-accept-process-output (1) =23 Quit: =22Quit=22= , =22=22
11:15:42.087652 tramp-accept-process-output (1) =23 Quit: =22Quit=22= , =22=22
11:15:42.087766 tramp-accept-process-output (1) =23 Quit: =22Quit=22= , =22=22
11:15:42.087879 tramp-accept-process-output (1) =23 Quit: =22Quit=22= , =22=22
11:15:42.088020 tramp-accept-process-output (1) =23 Quit: =22Quit=22= , =22=22
11:15:42.088130 tramp-accept-process-output (1) =23 Quit: =22Quit=22= , =22=22
11:15:42.088243 tramp-accept-process-output (1) =23 Quit: =22Quit=22= , =22=22
 
=46ollowed by hundreds of thousands of the =22Quit=22 message.
=
 
David
--6081a2c0_75a47b36_69d5--