GNU bug report logs - #43226
28.0.50; Running Tramp tests on MS-Windows leaves zombie processes on the remote

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 5 Sep 2020 16:39:02 UTC

Severity: normal

Found in version 28.0.50

Full log


Message #29 received at 43226 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 43226 <at> debbugs.gnu.org
Subject: Re: bug#43226: 28.0.50; Running Tramp tests on MS-Windows leaves
 zombie processes on the remote
Date: Sun, 06 Sep 2020 19:07:50 +0300
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Cc: 43226 <at> debbugs.gnu.org
> Date: Sun, 06 Sep 2020 17:54:51 +0200
> 
> > Just to be sure I test this correctly: after installing the change and
> > compiling tramp-cmds.el, I run the test tramp-test30-make-process
> > twice.  What I see after the first run is that 2 'cat' processes (each
> > one with 2 sshd) and one /bin/sh process (with 2 sshd processes of its
> > own) are left behind.  After the second run, I see 4 'cat' processes
> > (each one with 2 sshd) and the same single /bin/sh process with its 2
> > sshd processes.  Thus my conclusion is that sending EOF to the
> > processes doesn't help.
> 
> Yes, this is right. I have no idea how else we could kill the remote
> processes, prior killing the local plink.

I think at this point we need some expert on TCP connections to chime
in.  AFAIU, your hypothesis is that the way we kill network processes
on MS-Windows somehow fails to send SIGHUP to the other end of the
connection?  I'm not sure how this could happen, since I think Windows
sockets are a more-or-less faithful emulation of sockets.

Or maybe you (or someone else) could describe in detail how the
deletion of the network-connection process is supposed to shut down
the processes on the other end of the connection?




This bug report was last modified 2 years and 235 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.