From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#56025: 29.0.50; em-extpipe-test-2 times out on EMBA and Cygwin Date: Sat, 18 Jun 2022 13:52:41 -0400 Message-ID: References: <8e21db9c-0100-998e-f280-81304e7ff61a@cornell.edu> <87mtecl82o.fsf@athena.silentflame.com> <40d9e52f-2041-b341-ff77-546ca7792791@cornell.edu> <87k09elrf8.fsf@athena.silentflame.com> <1de33903-4c55-e043-3754-726f7044f2d0@cornell.edu> <7e7daa2f-dbbc-cd0a-4958-2a2932b17837@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31916"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 To: Jim Porter , Sean Whitton , 56025@debbugs.gnu.org, Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 18 19:53:12 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 1o2cdD-00086w-R5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jun 2022 19:53:12 +0200 Original-Received: from localhost ([::1]:41122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2cdC-0003V9-9N for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jun 2022 13:53:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2cd4-0003V0-2i for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2022 13:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2cd3-0002TD-Pg for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2022 13:53:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2cd3-0007Lz-MQ for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2022 13:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jun 2022 17:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56025 X-GNU-PR-Package: emacs Original-Received: via spool by 56025-submit@debbugs.gnu.org id=B56025.165557477528256 (code B ref 56025); Sat, 18 Jun 2022 17:53:01 +0000 Original-Received: (at 56025) by debbugs.gnu.org; 18 Jun 2022 17:52:55 +0000 Original-Received: from localhost ([127.0.0.1]:49992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2ccw-0007Lf-SH for submit@debbugs.gnu.org; Sat, 18 Jun 2022 13:52:55 -0400 Original-Received: from mail-mw2nam12on2121.outbound.protection.outlook.com ([40.107.244.121]:36980 helo=NAM12-MW2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2ccs-0007LP-L5 for 56025@debbugs.gnu.org; Sat, 18 Jun 2022 13:52:53 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JalJCJVpno+K+3ma3xD6Sinth2+F/ePXrIAzGV6/goa4eR4pHC1ZpiwtW44oYXZWezDsF/GueC9O27/CELnoGTGc0k6DmcoVO7leejgh+SWwrdN5up/GWXCZJcPOaNLghUInrs8UreQ7NZSmIFbdCD1F36Ak5yLkfinyl6VSD14qqWXWkmxR0WZh4F3asugNtSxaxz1ixxaLKmr0dhdwykH8WTv/UA7COdm/IVBcg52N6lWtWXmoU6KE+Mc/s+m5/difFggh96UC5bT1xyGQgLXS0mHqloiONU6t6cyZKEGQi//M/U4IgpNMDRr+4s9Jqn/pqwfk5JjlI0LBhWr0FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zz7vbCyRv+ed7avd96cF12KAFS7/fPLPDs2IHWwesus=; b=Eji9QPm1Ug8F2qhRYTSeB+XnSyrya65SA/+Ap9fmeGGyzw0UIPnPCUlHAF4BYIboCw+Fa4cg8Bj5NnhmfA8LmvTVDc40PTdLXGllz75qWVcQuL8AkulBhHFP3o/2udJL+fUKT8CJKkudsbk7Sx7dXsa5vXDcBp9FR8DHnAwcSbbVz4aoagg5okL30SNE9CBKNqzAzEA7dcrghx5xsWWZs+pxfl3hXtsNMPa2A123JvizcLACMO8jTIlrhCkNfdn3ih3DEFNOH1qQGYrP+7ZlrEFSK17ZJKc3YRH8YrNEW3IYVOYhKp9NW2iCbBHgwgV8U0GT06bXXEDZeiaiAZxOcQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zz7vbCyRv+ed7avd96cF12KAFS7/fPLPDs2IHWwesus=; b=G3O/s937kPTnZ2zkCbTnOxgIjHM2mdlTpLqQCiTb1uApVbCtAA5Zv1M4TUZihntWOBx2yEazEHz/B3IGsrrlIFnuBqLAFumEPxZLXlrWlZAxJfkqzx3xxEQYgytUxiB0FshxK6vZ2QtQpTKsgh9aNTtInwUYbHFbXdaR8Fk5c34= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cornell.edu; Original-Received: from BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) by BL3PR04MB8025.namprd04.prod.outlook.com (2603:10b6:208:344::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.14; Sat, 18 Jun 2022 17:52:43 +0000 Original-Received: from BN7PR04MB4388.namprd04.prod.outlook.com ([fe80::9db9:737b:d7ae:d913]) by BN7PR04MB4388.namprd04.prod.outlook.com ([fe80::9db9:737b:d7ae:d913%5]) with mapi id 15.20.5353.019; Sat, 18 Jun 2022 17:52:43 +0000 Content-Language: en-US In-Reply-To: <7e7daa2f-dbbc-cd0a-4958-2a2932b17837@gmail.com> X-ClientProxiedBy: BL0PR02CA0101.namprd02.prod.outlook.com (2603:10b6:208:51::42) To BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6743be14-74d0-46d3-8339-08da515357fc X-MS-TrafficTypeDiagnostic: BL3PR04MB8025:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mgqiTH7OkhnXBv1UDCEs+SFbdMhVt/U/JUNCZhM1X0M2RniGe4tE3IwUAXb2oCXRvZOaa18Brwiz5z5W5lDVHaCGVniQrn+oDt1w9FYuhM1cGfHg/92c79vLjjPLikhcW3jZTc5e0NCdDpRwqvAP/IRRAgGbrGQ07vnDDsRloyITCeS4RKd14hsy5fwyH3SXTHhofrDSWGKd+spqt5jGuXLkVIxrWB4pI8JLrGMnwvyeN9M8Y++hgaHNHUsCk3NUSARwLnRJJJDUXwZlXfej+o+3hPbi9tn6EVlr6f27welqHdMTPN9xBeNT6efFu67ixoi7OS+egz1Yj/dWWbdd7pZ8Q7WQB34oFbjRSFuFsr8BbjMtzlawHY0YzTqXd7hSdJQWsLi2ojxP1rgTN7Am+474L9H0XilIgDwnYfdjnZLHcCiQeBGZFT1eFEtCE4bzDYpQd1/HrjPin9n0cY6Rk3Zpi49DvJiBAGxe6axZLDrISmp7JwmwGDLWqG20BN/TaR6XSdQ8qYcyVRC1IBSiDI3Oka93FnteB+thkPfm0TWHxhTd3dVJvPJcOhqJcL3lZUYEg0rHGrG/RoZsb2Z2QQMiGSXgbWRCgCjqt29u41pFOFXNmocPZObGlEjzOaTdIbXvqkbEdwr6aIOw1HBi0Fu3wwUrelv673lfyaKTADN7GPnyN/X9FRcztjpWj3RA/EDXfOTjiqEibFFnXhLs5zHihl4aWYPDkS6AoitOoaA= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR04MB4388.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(38100700002)(498600001)(2906002)(8936002)(6506007)(83380400001)(5660300002)(31686004)(36756003)(186003)(31696002)(66556008)(66946007)(66476007)(86362001)(316002)(75432002)(110136005)(2616005)(6486002)(786003)(53546011)(6512007)(8676002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-MessageData-0: +i/vRUPI/dC8w5nlTrBZxezAjo3WaCqAahMscakR8/R0yVMC++A2J5CJLqC1XjG/qz6XXtaqhPMP9UCeHWznNXfzdpqU8JZcnSDchNjtyscVcOsS8sfy08itahaAFEk85sQp8mbn+FLfBTD52DobIIwnN0u6DXOGvLxzXX396Zjxs5re1qobSM/2nESCHAoOm3BOCVAnrHIDAuGxlRuiZskcTvgL0mFON8ci0apBVedG8e9dpN1IOljnIdIYUoa9EhmT8p60XLgPAxY6W/8EOdspSDeMBRNwvOcByawnKsU0rpPf1U60yhAqAYjPepiuzblAK36nEhPNlgJLGUWkVbzQUCs2jjE672GvJ189/BZW1NQz2guz647KK8ylGMm95ysx99ARAhMMQBBIOTLjF1kVAkyjM9nQVy4CuGx8m0CR7RlOI0medgWY8+5B5m8SvTOtbHtrjmjDKnDLf7wBfzBlcjuklKi6/d+hkPe82KVQbRY8MnjAsypmTS1G1DXN/FcsP/TiJLwCcePtFKIuMtWTingY8nc1yP54DMH+RF+D/KzGmeMpiQN/NuqezK976vni5X7suWMFdhmHcbulAKkx6SfZkUWgnmj0SjeNEvxz41sTT+VNHaE73q0meBOCITK/kLXQlFyYtTFjSPT+gAo5aSQpjInQRUX71TPRdN84u18fUIAv12PD0tIrGB03oOsVjbjnyzMKOU/fp9gkdSCXMhZW4Iq+l1SFQzagrOEhM8vt6VlaMnM7X7 IeCBoDgKUNrCVBQjxrTmVLa7SQrpQg421JzmfLRYMoVzHpkHxDeoPGrQ6TSRpGhtUPtKwkpil7WpaTsMFamaPR38memncWZF8f X-MS-Exchange-AntiSpam-MessageData-1: Y8IMsTeKQWxT3Q== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 6743be14-74d0-46d3-8339-08da515357fc X-MS-Exchange-CrossTenant-AuthSource: BN7PR04MB4388.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2022 17:52:42.8054 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xTcIMHp+9s0bm4xupz2o9WqIQyCwAJ3YVgfuR722S1/HvK6HGZUErNGc2iaX7RlCcxtxV7zHWOBMiCJUjIsCYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR04MB8025 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:234759 Archived-At: On 6/17/2022 11:50 PM, Jim Porter wrote: > On 6/17/2022 7:07 PM, Ken Brown wrote: >> On 6/17/2022 8:57 PM, Sean Whitton wrote: >>> Could you see if the same thing happens if you type >>> >>>      echo "bar" | sh -c "rev >temp" >>> >>> into an interactive session, please? >>> >>> If it's the same then extpipe has uncovered a general Eshell bug. >> >> Yes, it's the same.  And it's even the same if I remove the quotation marks >> around "rev >temp". > > Does the above command also fail on Emacs 28? I changed some aspects of process > management for Eshell in Emacs 29, so it's possible this is a regression. If it > works correctly under Emacs 28, I'd be very interested to see the results of > bisecting to find the breaking commit. No, I'm seeing the same results on Emacs 28. On both Emacs 28 and Emacs 29, rev is apparently not seeing EOF unless echo outputs a newline, so rev keeps waiting for input. [Side note: It took me a while to sort this out because (a) Eshell's echo does not output a newline by default, in contrast to Bash's builtin echo; (b) in Eshell in Emacs 28, you use '-n' to add a newline, while in Bash '-n' suppresses the newline; and (c) in Eshell in Emacs 29, you use '-N' to add a newline.] Here's my simplest reproduction recipe for the bug: Type 'echo bar | rev' into Eshell. In both Emacs 28 and Emacs 29, 'rab' is output but rev keeps running. But if I make echo output a newline (by '-n' in Emacs 28 and '-N' in Emacs 29), then rev exits after outputting 'rab' (followed by newline). Ken