delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/07/26/20:15:02

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-id:content-transfer-encoding
:mime-version; q=dns; s=default; b=XRWNFmN5o40918qtuRPtOcTsWq/BJ
+sLjbP7V+nMLnbjFGJ1r8UvPO3fZylJz25WBcIZub/57BivEd9a3SC6mTxr0qHzm
Mx2M6gtt+9QC4LoNQirpJqcF4W8srrRp4tlViI65XLB3xRX3LOy8Ae0s4YXV1gh6
RNiGzSMWLg71yQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-id:content-transfer-encoding
:mime-version; s=default; bh=93dRIs7EUo+EQZy9RAcKd2NHSNU=; b=IIm
xiihBBeLvLy+py8QzEdmnh+CkhkGLGQABMGTqABnYpZMK/jKEdnhamLxYVEMMjRb
BtIMYDoBpFE7e26Imtmbfyd6+Eco9jX073sMJI963lMVQCsj1IwiRiB/udpeCkyK
q6U4iMIGQWRmcl3IgYbq8YpDs8gNBhBhbY02MKvY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-5.7 required=5.0 tests=BAYES_00,GIT_PATCH_2,NORMAL_HTTP_TO_IP,NUMERIC_HTTP_ADDR,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=
X-HELO: NAM02-BL2-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RNPQiycggESFOcpOuL5ZOMZIAHmW2ms6CAeU8idbr9DV8Pe4EcWN3uUQzPUod0Z+C4fc758sttIFPHGGyYrgSRkkyUygNVZiQ1ByT+2rlFqtgyCFm8N1xbyWm6s9KN1ifbKnM7BAvzJNfqcCv/QEDy8TKbajPh+hd9JWJRYbx76I4TcSvGya8WP4FmyZ3F38Mw7GA9Ivl0yQdnhF8MUcKdMbKayIpIyUtKxcpP6Z06ESGfcJmXtgjV0xZ501GPvwk5jGgqs/fV5lGD9eCB0Z9eNwmAuSPRm43NTEhgQpoeXitFO7lujGUu31rqEF4mK4XnV4knYDT+8ZLdzgLM98kg==
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-SenderADCheck; bh=FAntn8xRoKKoZN4Z5PGPR0gBGizLp72AK3nylOgMqtg=; b=kSo/+LyJ/bnU4YkfJHhapt1OQwqBmTVKk6QJ0MS6MCzzPgrEWlgYrR0ntNsMiMvG5GrsOMVLAhhQI5hsX19kZwRu/iDhw+6UYIgxVimP6c7uA7ZXpSM0AnjbIaroHohzPQb7DL7mujcSzwd48Fzx+QKAIugU6CNOOH+U8/VATMY79f+aX6/FFeE+3Ow3+wXJWqY/k+Ij2Ak0KKWZt5VFV6oDP2eB9wgjNuw0qKK11ZjJJk6Ptjxmye3RZDK98Dk8vjLR3ALz9LYD4EHZtfa8Km0M35yY5ooBsFYf8vT6IQTOD1y8KHy2rrMNuecHMhOJ9fLPOB5r2uqwaJeUxFKEVA==
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=FAntn8xRoKKoZN4Z5PGPR0gBGizLp72AK3nylOgMqtg=; b=UTHhE2XGIizyAozbCB0XoNiXEanwnBuoHrx9wGzu8uMpJpXndj66GTcIR44swcyNYx7wernUea3s6IwIJrk9yzzgCAnL7SI52C9su29NdcnDlnLSrCzfpHWZS92Ui63of4RRROx4a6azUxeHdb6cSvDafVG8rQhO6En2KJY7g8E=
From: Ken Brown <kbrown AT cornell DOT edu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Regression (last snapshot)
Date: Sat, 27 Jul 2019 00:14:04 +0000
Message-ID: <9ee4bfb9-6499-725b-95d7-cc2cd5e6a889@cornell.edu>
References: <8f6a87faa9c8130241c026889a01d763 AT xs4all DOT nl> <5414d0e1-79d9-cab7-b1bd-4761265bf8bd AT cornell DOT edu> <265a2749-95b6-38aa-a191-7913bfcc98b6 AT cornell DOT edu> <20190722152016 DOT GE21169 AT calimero DOT vinschen DOT de> <20190722155340 DOT GF21169 AT calimero DOT vinschen DOT de> <20190722164509 DOT GG21169 AT calimero DOT vinschen DOT de> <eb8007691b20df0eb8032ca3d2fa445f AT smtp-cloud8 DOT xs4all DOT net> <b3b04db5-7f03-8281-f376-6cd10207ec01 AT cornell DOT edu>
In-Reply-To: <b3b04db5-7f03-8281-f376-6cd10207ec01@cornell.edu>
user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown AT cornell DOT edu;
x-ms-oob-tlc-oobclassifiers: OLM:2887;
received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ksb2 AT cornell DOT edu
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x6R0Ei2J001646

On 7/26/2019 6:12 PM, Ken Brown wrote:
> On 7/22/2019 2:47 PM, Houder wrote:
>> The specific regression as reported, has gone.
>>
>> 64-@@ uname -a
>> CYGWIN_NT-6.1 Seven 3.1.0s(0.339/5/3) 2019-07-22 16:43 x86_64 Cygwin
>> 64-@@ ls -lL <(grep bash .bashrc)
>> pr-------- 1 Henri None 0 Jul 22 20:36 /dev/fd/63
> 
> It turns out that this isn't completely fixed, but I only see the problem when
> working under X11, and the error message is different.  Here are the complete
> reproduction steps:
> 
> 1. Start the X server by using the XWin Server shortcut.
> 
> 2. Use the X Applications Menu -> System Tools to start an xterm window.
> 
> 3. In that window, execute the above 'ls' command.:
> 
> $ ls -lL <(grep bash .bashrc)
> pr-------- 1 kbrown None 0 2019-07-26 17:24 /dev/fd/63
> grep: write error: Broken pipe
> 
> This is with the 2019-07-22 snapshot.  With the 2019-07-25 snapshot, it's better
> but still broken: I have to run the ls command twice to get the error:
> 
> $ ls -lL <(grep bash .bashrc)
> pr-------- 1 kbrown None 0 2019-07-26 17:39 /dev/fd/63
> 
> $ ls -lL <(grep bash .bashrc)
> pr-------- 1 kbrown None 0 2019-07-26 17:39 /dev/fd/63
> grep: write error: Broken pipe
> 
> Here's one more fact, which may or not provide further clues: When I exited the
> X server while testing the 2019-07-22 snapshot, there was a /bin/sh process
> still running that I couldn't kill with 'kill -9'.  I had to kill it with the
> Task Manager.
> 
> Finally, here's an excerpt from the strace output for the failing ls command:
> 
>      24   23441 [main] ls 1033 fhandler_proc::get_proc_fhandler:
> get_proc_fhandler(/proc/1033/fd/63)
>      25   23466 [main] ls 1033 mount_info::conv_to_win32_path: src_path
> /proc/1033/fd/63, dst /proc/1033/fd/63, flags 0x0, rc 0
>      28   23494 [main] ls 1033 build_fh_pc: fh 0x180340098, dev 000000FB
>      24   23518 [main] ls 1033 fhandler_process::exists: exists (/proc/1033/fd/63)
>      28   23546 [main] ls 1033 __set_errno: cygheap_fdget::cygheap_fdget(int,
> bool, bool):679 setting errno 9
>      24   23570 [main] ls 1033 __set_errno: off_t format_process_fd(void*,
> char*&):394 setting errno 2
> 
> I'm in the process of building an unoptimized cygwin1.dll to see if I can get
> further information.

I just discovered that this problem already existed in commit f0ea836b7, which 
preceded the commit that led to the problem Houder reported.  So this must be 
something different.  I'll do a new bisection for the current problem.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019