From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Henrik Ahlgren Newsgroups: gmane.emacs.bugs Subject: bug#43226: 28.0.50; Running Tramp tests on MS-Windows leaves zombie processes on the remote Date: Tue, 25 Oct 2022 16:56:37 +0300 Message-ID: <871qqwhuqy.fsf@seestieto.com> References: <83363wp4ak.fsf@gnu.org> <87mu24t57t.fsf@gmx.de> <87imcst4om.fsf_-_@gmx.de> <83v9gsnhzj.fsf@gnu.org> <87eenfthlc.fsf@gmx.de> <83h7sbndi4.fsf@gnu.org> <87lfhmzyr8.fsf@gmx.de> <83d02yopm1.fsf@gnu.org> <87k04oi6n4.fsf@seestieto.com> <838rl4p2ik.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1152"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: 43226@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 25 16:55:14 2022 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 1onLKj-000Ad4-Lm for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Oct 2022 16:55:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onLJf-00054L-AX; Tue, 25 Oct 2022 10:54:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onLJc-0004E1-Or for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 10:54:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onLJc-0000ER-GP for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 10:54:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1onLJc-0003Xu-Ag for bug-gnu-emacs@gnu.org; Tue, 25 Oct 2022 10:54:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Henrik Ahlgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Oct 2022 14:54:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43226 X-GNU-PR-Package: emacs Original-Received: via spool by 43226-submit@debbugs.gnu.org id=B43226.166670960513518 (code B ref 43226); Tue, 25 Oct 2022 14:54:04 +0000 Original-Received: (at 43226) by debbugs.gnu.org; 25 Oct 2022 14:53:25 +0000 Original-Received: from localhost ([127.0.0.1]:52039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onLIy-0003Vt-TA for submit@debbugs.gnu.org; Tue, 25 Oct 2022 10:53:25 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:58761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onKQA-00026r-JY for 43226@debbugs.gnu.org; Tue, 25 Oct 2022 09:56:50 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 79C495C0196; Tue, 25 Oct 2022 09:56:41 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 25 Oct 2022 09:56:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seestieto.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1666706201; x= 1666792601; bh=J3Zen70glQDY/A6rBypgrklx4IkgWdhowkMzneegT4Q=; b=t P/K3D4kyTA1nvRQIiTTaTQjGhswZMBUYdDZSEtiEVEfAcRb8EFcCUdTbUXhH1u+Y /h8IsA3n4pVdVU10G4KzYv9NAC7I+fZY25FP1+i624QpjaemGMghBP4sxvg/Ww7i NSsWba8Rbugsg07WIun6qNSts7wYOQpI7mG7GGEOKi5L3symEhBbbNLUE7oDDWAw RSb1xrATJ7yAYvhoJShkQe9x5R1zF7uAZ+P0bQPu7yOQsFrp3RgIXUy43NKnn4if BNaTuqFloTjCXQdXgPF+MN/2WVhSpObDICsNkuM67Cy6HVptLOjfo5DxzYiJcI5Y 8XqeygH5pC3k9CCgm2mtg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1666706201; x= 1666792601; bh=J3Zen70glQDY/A6rBypgrklx4IkgWdhowkMzneegT4Q=; b=K OTArQSAJOVNcbz743kb5tNBVUUUM7oH7v6rFo9Yj4p2p9Z3j7xUtgPu8WVGQES7v uuOTmvzHGHFPXmvNiDy3Q4wtjIQvzAsIKxMYMwHGfJiSS1296NnqZOfz+Qbi4nZG +lu/kThHwPf/VUVN57TWSTxl+o97KqIjNXZE1GCE73wq+ed2aif5XIoss6uL+qWg nvgVyv+5XLH8MZeG7bXQky/HKCoKj34B0hqs4Hcm8EWXV9h0G/0hswLXwKo4C1Zg 6BQ3LSi0zk+SaWik3ca1J/tS2dZ0oAvIj5I4oHsePPI7KGXfrwRO5SsqVx++suEc PJPWPD66LEGwYDIKLxmvg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtddtgdegvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufhfffgjkfgfgggtgfesthhqredttderjeenucfhrhhomhepjfgvnhhr ihhkucethhhlghhrvghnuceophgrsghlohesshgvvghsthhivghtohdrtghomheqnecugg ftrfgrthhtvghrnhepfeekgfdtvdekteeuhffhtdevudfgveelhfevgfekleehteetveej gfduiedtieelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepphgrsghlohesshgvvghsthhivghtohdrtghomh X-ME-Proxy: Feedback-ID: i8ea641e4:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Oct 2022 09:56:40 -0400 (EDT) In-Reply-To: <838rl4p2ik.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 25 Oct 2022 14:26:59 +0300") X-Mailman-Approved-At: Tue, 25 Oct 2022 10:53:20 -0400 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246155 Archived-At: Eli Zaretskii writes: > I don't know. If this is about remote Git processes, then > process-send-eof sends EOF via the network connection, doesn't it? If > so, the network-connection implementation of process-send-eof works on > MS-Windows like it works on any other system: we call 'shutdown'. Indeed =E2=80=93 when you work with remote git working trees over Tramp and= want to stage individual hunks from the Magit interface, it will run "git apply -" (with a bunch of extra parameters) and attempts to send the patches over to standard in. This, unlike staging a whole file (which simply does "git add "), hangs your whole Emacs session until you hit C-g. Consider this example that seems to work fine (no cmdproxy involved): (let ((start-file-process "eoftest" (get-buffer-create "*eoftest*") "ssh" "" "cat")) (sit-for 10) (process-send-string sshz "foo") (sit-for 5) (process-send-eof sshz)) vs this that hangs, leaving cat running forever: (let ((default-directory "/sshx::/home/my/git/dir") (sshz start-file-process "eoftest" (get-buffer-create "*eoftest*") "cat")) (sit-for 10) (process-send-string sshz "foo") (sit-for 5) (process-send-eof sshz)) The cat process does not even seem to receive any input ("foo") I trace it in the remote machine. ps. I wonder why my emails are not appearing in debbugs?