delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/07/26/18:13:41

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=p40BQGneGVx1xuStaFhAiPoNWQsmO
6uhfFj7soQ+0DduxtI8gWa0Ox1ullnH8vvAHJkw8IoKXhaS3aG2OhX1LHI6461yn
VLOG/EGo231VlTrtvZe5vmn53PGL5Zlil8lpRvwb/zhAKEqCQMRo9JPjh9kwpW/y
IL3KZxaTk7ejTc=
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=gVt0P6L+s5ALn8VBl5mPJlCkqwk=; b=I10
3M5W6g91XgYi73XRdjQgtX9D/1OoygORhOEkX/zD1G1UeWYIDRPEFPNYZ5In7+G+
BuOw/rroEdBibNZDCILO1wYTLwwbkWE8URmEyLBR8d0p4RjcebOpAhFrrIR+pZ/K
+1ZhAhyM/4afvnKzN6TOojUyAoao8feEvNL3ifrk=
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=seven, Seven, D*@, menu
X-HELO: NAM03-DM3-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kOEvSk8xDmWM3gLnGUxlJqDacopxdEq/ylaO/gTdKQV97vceXE7CSkqXUCklnTCIy3oM+HNJcl10EhXujpFFOWRRhbjVfGR/ogZW+hvn4v4hwJeNVWlNU49xEgI51QHnwvTk8eEcO8tqVx1tsOOfd2JsAVDXa3SOmh5LtX8PtC4uRh0rm1atL5HV/vnQeVl2jiMyCJGcNt9t6gyanJDafQqpg3apec8z6imURdposO5K0TOH8eVXy/mPsMYiVRIoDX9kWjadCZjShedip4sH7UHNs1TAPBs2wD0pIn1i7UxgT/RLC9Q3OAFBiQmh4v/6hHDgIql/RZPZ9xtJ6zdFSA==
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=GV/m18OkJqvq3GAbl6gmBwK6lctNsdI+O3RvN0J1dhk=; b=POAqsQP5Q2ozqGb3xH/wGZ4Qenu8te0Q9PHkWFV9CdDpYVwsJmn20F6JZ2sEoQZw9D0g6p0iWgaciDCZouU8CYkTz4oQUkFmBpyCRiJa8dhyIOCbr73T7Z3jMkM9Vm3vnquKaawiyVRnKcd0JrIep5rCsQn5MIlX0Cv+vY0zuWuo2bKFjEChm9a23A7YuJ1WvMs7WRpQBfnHuT8Y3n0M46LHnL+l8GxjzooUo0C/9CUNz7gpOuKKLMk77iU44+U6rtAYpe5Xgy+YYlZuzX6MBph2WiCTSL12hL+W30Cl9GWaaf3pOrLMlQoQHtQk0hnR3bTz2O2IY0aTbBwPPYDKqw==
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=GV/m18OkJqvq3GAbl6gmBwK6lctNsdI+O3RvN0J1dhk=; b=amv5JemRtQ1/DigoALsAaX8kg+ejpPCdjFkOPWmwZNSq06R8w3Zfr8y3hD7+7cXqFsxmUSvoj2ra6mRJgPyJe4RCe83qO02c2lpGjtu+69UeN3UIQtRWrtxid4iax/utxEd4JXo8iYD4JlozSvL8S+Vzq77wXVCY73++XlOSSFg=
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: Fri, 26 Jul 2019 22:12:43 +0000
Message-ID: <b3b04db5-7f03-8281-f376-6cd10207ec01@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>
In-Reply-To: <eb8007691b20df0eb8032ca3d2fa445f@smtp-cloud8.xs4all.net>
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:8882;
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 x6QMDMti021057

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.

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