Subject: Re: bug#47896: 27.2; TRAMP hang/lockup/fault on compile/file access

From: dag <[email-masked]>
Date: Thu, 22 Apr 2021 11:22:24 -0500

On 2021-04-22 11:10, dag <[email-masked]> 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(#<process compilation> 0 nil t) > > > > tramp-accept-process-output(#<process compilation> 0) > > > > tramp-interrupt-process(#<process compilation> nil) > > > > interrupt-process(#<process compilation>) > > > > compilation-start("git be bic all-devrel-local" compilation-mode nil nil) > > > > apply(compilation-start ("git be bic all-devrel-local" 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/<redacted> 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