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: Fri, 17 Jun 2022 22:35:45 -0400 Message-ID: <789a671d-fc2d-cceb-9238-dec8fd402edb@cornell.edu> 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> 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="19597"; 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: 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 04:36:13 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 1o2OJo-0004ri-8A for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jun 2022 04:36:12 +0200 Original-Received: from localhost ([::1]:41982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2OJm-00045s-Gf for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Jun 2022 22:36:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2OJe-00045d-Oh for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 22:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53422) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2OJe-0004yH-GH for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 22:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2OJe-0002j7-9S for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 22:36:02 -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 02:36:02 +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.165551975710470 (code B ref 56025); Sat, 18 Jun 2022 02:36:02 +0000 Original-Received: (at 56025) by debbugs.gnu.org; 18 Jun 2022 02:35:57 +0000 Original-Received: from localhost ([127.0.0.1]:47319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2OJY-0002io-W4 for submit@debbugs.gnu.org; Fri, 17 Jun 2022 22:35:57 -0400 Original-Received: from mail-dm6nam10on2112.outbound.protection.outlook.com ([40.107.93.112]:28640 helo=NAM10-DM6-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2OJW-0002ia-9w for 56025@debbugs.gnu.org; Fri, 17 Jun 2022 22:35:55 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KDCBnzcqK4ZsGXzpwsLX6PjzSXr1L2Zh1+YSOiuP6Qt6O64dDmj/gZZiOM7yP/mCqq9Er+EptznRrM7RhQ8DHGJx6K8F0PuVQVuEcThXrMLWFwZUw8cp2tFkQnj6XKzbC2WipwjbgN63K1HDYJ23qLG9zIbcYiXqXJJ4N1vyYaGW2THWt8lBffov8zXNkfsXFKcBWuMofpJZXhZJQDaY/ZjKeMjRbDgj6eJU/QqKVu8fthcaFwTpGFXqD9Sia9xWhax/v7XdmWNblMSQ/gS1feNXZr11CfzCGXZq0nDjJ31uRd/vQe/x7GTFBefxUkyt3dI4tRxiTD/KqsFGN+U7Fw== 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=/dhA8DKhbo3g+K65cyfWXLACT92GJrv9h+xz2mWdw6k=; b=ZFxNpDGr+mN8EcqANsCVU//QqBtx6XwjXLa0Y3t9xj5IWh15qUm5YSmbQRC2uYbT8J9bOBAEvjhXuLetB17iBEj+eSSHT6fHeBh+1y0aD7s9q+6tuJ/Elum1cGBGH4LawIXQyDUoK4k3X6BwbBpMzikM4btEdQJmfE5mhGmeUMtyIhxGG98YwOsBiq1MqaT4esJ/gA+211TjvsHSQ+RF++j4EY9CxtA3vliV8mSrWnh5svPLqL4RhRj2EbdmlF1r7Gr1LA2awFLWivSdDlTEyWOMkVVtZNontrTIUWEX7Gxn68aOeWHABGZn7v5CO4cwwxNHtOOVVOX4QOMh2GElDQ== 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=/dhA8DKhbo3g+K65cyfWXLACT92GJrv9h+xz2mWdw6k=; b=AyJikjGj8F4tZ2CttofpeGhM+A7A1H4/0MDNe/di2ptkAOQI+K90in17mNgGhAyar1toOCZBu3fxw5iVUnj2e2F3ilWnaxes3QQbXyD218qhVkZztWVA5y668mZoC3doFTBiVogh5WglCvBMS7X+2NWaa7tz74cb9EDx5nZT3QE= 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 BN6PR04MB0292.namprd04.prod.outlook.com (2603:10b6:404:18::9) 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 02:35:47 +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.015; Sat, 18 Jun 2022 02:35:47 +0000 Content-Language: en-US In-Reply-To: <1de33903-4c55-e043-3754-726f7044f2d0@cornell.edu> X-ClientProxiedBy: BLAP220CA0002.NAMP220.PROD.OUTLOOK.COM (2603:10b6:208:32c::7) To BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fbd56b4e-c73d-4894-f3b2-08da50d34018 X-MS-TrafficTypeDiagnostic: BN6PR04MB0292: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: 25zE9bD0O2lXkCIVy+gxcuFxU220QPvEnftowqprDXrqG8tB7AgAyfrVEeaSTFIOtk5lPt9hR8uGavIDybuKa6sHZcR42fva2L8vQ3PmPfvtelIljE+ZVDBHrzMSKmbpBAjEGo/wnjaw+LsybbaPbVvYcjUjO17+EMszTZBew0jveqhD/aaOtEzmAfLwZ3kaZ/0W/2KA+XY0nZrLKofkzdVq0YIkns7kG3SsTg/u3jWp0TkEWHuqPrLu8Se03/QaB+Qgb0ZIF5v9pTp76xBerbH9W8r9KrxeV3OMNGAZpAxTrt03z7odB3/tDNw6W3PcP28w1hnZONZOMp+NYqOIg/SwXYyz+rV/UBzntwsZ0EE3ZF357kfJyf9yomE/Ud27/rrz1V59KxvQxya5CdPUUokK5eaIzpvKv63qjrCVUGklz+r5pO1ehfvx72IdfcEgG5EeE4yBAOrEiPTboMntki+7PauB2GkJKl4dBgF6dg1c4ZQd74kzf3vGSLa//sOqKiLBTwbg78AfHQB2zcGyupIiE67Iw73MrLybpalB1BnmB7RIjflqcuzgT0L45SFNQW8MuzA0FbkktvGh/UiYZFknMRRpxRYry6cN//zt2DPM5Rr/l1tcGkGBr1haItWMC3c4mGtMIePGQN1jgglCAzcLGOVeMv5HXvZKViKAW/qB45PeZjHgf1sUrx9WUDIRz7IP4Z18gy8tPMbrgUaRfa9fUkwkm3+OKv7JXNKyvyQNpsGlrM4oMDOVmsz3K aXW 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)(86362001)(6506007)(186003)(2616005)(66946007)(53546011)(75432002)(66476007)(6512007)(31696002)(38100700002)(83380400001)(498600001)(5660300002)(6486002)(8676002)(8936002)(36756003)(2906002)(110136005)(786003)(316002)(31686004)(66556008)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-MessageData-0: 37ZtDc7WPkXgR58/sPPKntC3v+MvNpF55pN5feZq58pbqU56gmZu0Cp+X6XxSrSGZg7x4bmUT/iZqqHbh+wUrlvb0ct80Rbo9O0BQXmPhEUUiI+OcD/bdzUF0LL8KwN6abLe8rLIqClZQdVIcaTfkcPutE7ZedmMQaXRcaVlQKb9vbUMnwHuHGshN12CvVsKlGatannrkXzEPp0xdz78FlQZvq2+9u9kCkhuz11PmNRirgnZy21Cq1gu1VO+v7A8ZdxtuguowH8Uh9YDxt3OmD0MfEVfKuYRR6CeX6ShQiMXCcmZLeVKOhANcjrZ+Bv2fqtACDiKJrn2nFzk0VNactH1pcPBcHrLBDbGiYpLX/eqlbvgxY5fdw1Ti1N87xvL8oeqHCPL4xSGkUr+Z5amQpQpzmplE1pc6hkQWMArCl3gGcJeHdqJ6i2ffjEMukmoehO9OZJzWSbt7Yy/TPnuTU739rn2hoIVS9kzDRf8UwZc4g59RyjugF6RP4NjAMiOmUkSyt09QY8M4fOHxZWpsZWyAqiB0vRScmhwpPTsxQ8+lFNWYB02qsgkvGygwBJwFjHKREtLJsJ9MRrZQJZIWluBJyquLYzBvAU3la0NYb9RQGoEf4i5LYyTV9LAHxKZqafat09U6EIzzNOt0DZbpe+4uE5My8bw/B+GFrC2K/raIGlubJJPo8WomxC960/s9fndx/NJ2/2ULVAISPTZ5IyHFt6ZX61hsT4wyZgrZopB0eBS/OwTW5hg8P vtJSVXCiJBCAKDlXHvH68mBCEhAientUyi0Ar6cA2u+FpQ//LKSKUzRfTTVuauMd7QaMq9nFsNI8Fz8ER4Y2woOfXApeMJGfWB X-MS-Exchange-AntiSpam-MessageData-1: nKPXxzpRsfoL4w== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: fbd56b4e-c73d-4894-f3b2-08da50d34018 X-MS-Exchange-CrossTenant-AuthSource: BN7PR04MB4388.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2022 02:35:47.1138 (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: qZBNcWEXw35toV043ELajnXagPZAVsBqIb9dSvvy0EBxJ1hO9RxMANOB7c4qFQQzr2KzT6B3Egl3kCXwr6oHjQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR04MB0292 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:234733 Archived-At: On 6/17/2022 10:07 PM, Ken Brown wrote: > On 6/17/2022 8:57 PM, Sean Whitton wrote: >> On Fri 17 Jun 2022 at 09:39am -04, Ken Brown wrote: >>> I just tried a different experiment: In an interactive emacs-29 session, I >>> started eshell and typed >>> >>>     echo \"bar\" | rev *>temp >>> >>> Nothing visible happens until I type 'C-c C-c'.  Then a prompt appears again, >>> and 'ls -l' shows that temp exists and is empty. >>> >>> Prior to typing 'C-c C-c', 'M-x list-processes' (or 'C-c C-s') shows a bash >>> process running but it doesn't show 'rev'.  But running 'ps' outside of emacs >>> shows both 'rev' and its parent 'bash' process. >>> >>> It does seem that there's an actual bug here, not just a test that should be >>> skipped because it times out.  It could be a Cygwin bug, of course, but that >>> doesn't explain the EMBA failure. >> >> 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". And it's also the same if remove the output redirection, i.e., if I type 'echo bar | sh -c rev'. On the other hand, if I type 'echo bar | rev', then I see the output 'rab'; but rev doesn't exit, and I don't get the eshell prompt, until I type 'C-c C-c'. On the third hand, 'echo bar | cat' almost works; I see the output 'bar' followed immediately by the eshell prompt (with no newline after 'bar'). Is eshell stripping newlines in some circumstances? If so, I wonder if this accounts for the failure of rev to exit in some of the earlier examples, since it operates on lines? Ken