delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/05/11:10:59

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=BfIjiZLoVYVo6cXgmRb12WHG6+Qvk
dQiF5QAPzIQ1Vw8UNUzCfE2KJlBUJ2sHtsbxj/Qem6nydlePcfbcp3JytB5Tv4dt
Jtzpw7fRzWVgF4vd5EEKYhiBnnb+WlF3wU8eyZez+m5zMitIh53e8SxKkaL4GYV5
RNCdPM7bij+EoU=
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=2iRgM1dXEDCqW9ywd8dcZ56oirE=; b=gwg
voj1zpM9p0MJ/wyydj//j43CouOvxnhlvIwvxaeqUPMHME6c+vVCxa54uORsS6Km
SJiLVHS30l1sciJMWj8ko1fOCD4p6eltnW+M6mEVDZcQo4gjwdn+FtH7odacbRRr
nP8KuDdbDVliTGo5gnX3V1xddQ332osNEuz3JI1k=
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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=
X-HELO: NAM04-SN1-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n+swdOo/ChI4lKp1sdRylZ2w/NeeGgG23midRNUXI+/jowOO9KZwkNOVMcyzuS3wJbbBHYl3E3vC0EyQ5Q3WsLH9TUv+TxmclCYXy4xkQS5yDCSUf8JtZHlEVTebjc9+F5UVRBBwMspfsyQxN/lgLTrI0Cw3ELluV6ZCYrar3zHVjPCAVJmzxtgWz75Or+Ev0oKV5DkZM4JARpcSHxDJKNYOBMPSD1ChY4/HUOShRr+YK3Wd+qjg6AiT3jQB9NTJUHLhn9YZWxT5wpt89P5UV7m2kvbyfK2lDzGAWpChRE+7VhuCTBBYmcR5An6O3vDLXtzerE8w5vrP6qC5Su/0nA==
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=ZkieHbhEnqcbrtb7ttF4KM4hcXfuUZdGPpg0ZU7AWXI=; b=N7jQMkR7ipkBeO57OdXDF60JrulwkgrrYLA9nB7NKZBHGvPoU9U+/RiAir3HmqDGss8QrXaSvNRc00HrdQDB+85rcBHdh0/FgcfimNi0HbhnCxGE7XNVsNqKm4Zvh3fYoJv73DQkIJ6kjXR194nVOdJ28nty3nc0ixEbTuBZZE6b4RJe1EOsXR7UrBbwanvykqoieb6c9tCpzhg7snttj7HZPvCHY/Jatw5D0fYaPjpXrQgvmltyArTE5BecLQq9ALO6u3Pij2cp1TVAWi8gSoMJ3TfG2ifekgRhagmB5ODqjeWztxP9hR9cL77OCHlfrmwRg2numQ4EZCZJKkoqqg==
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=ZkieHbhEnqcbrtb7ttF4KM4hcXfuUZdGPpg0ZU7AWXI=; b=F8LpVkSCQML+5VMcuAcGn6yU4w9qUaChK6mogULwMrO/Q7rRVhtY/qC2ovNV6p25gCZ5pW+yQpQ2qr7c00R/c0mKiTZjtZ8xPEm/czTR70fSYnY9lSR2bFhDO8Y1h0FueJqoA2DZlZAPb9sKEXgQ/oD0FgPaQjGF1Or5QZTNERE=
From: Ken Brown <kbrown AT cornell DOT edu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: 3.0.7(0.338/5/3): Possible reference to Developer's instances of dev files in deployed build
Date: Thu, 5 Dec 2019 16:10:00 +0000
Message-ID: <04da8ce9-0163-8381-644f-cc7c0f81a5f5@cornell.edu>
References: <20191204210222 DOT GA3578 AT shackleton DOT labs DOT net> <754a577d-dac1-16e0-56a7-8be8ab1d424c AT cornell DOT edu> <20191205091807 DOT GG3337 AT calimero DOT vinschen DOT de> <20191205125227 DOT GH3337 AT calimero DOT vinschen DOT de>
In-Reply-To: <20191205125227.GH3337@calimero.vinschen.de>
user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown AT cornell DOT edu;
x-ms-oob-tlc-oobclassifiers: OLM:7691;
received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: N03NclTdLaKRzVHBKxcl0bc2t0wKxJa1qt3c1uoLk1hwH3S+zks00649tG5fXT9B3WwZM8RCHVuhZ5EsHkqBsg==
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id xB5GAfZl016304

On 12/5/2019 7:52 AM, Corinna Vinschen wrote:
> On Dec  5 10:18, Corinna Vinschen wrote:
>> On Dec  4 21:41, Ken Brown wrote:
>>> The difference is that NtCreateFile doesn't fail with
>>> STATUS_OBJECT_NAME_NOT_FOUND in the other cases, so the code containing the
>>> assertion doesn't get run.
>>>
>>> BTW, I just tried the following on my system:
>>>
>>> $ ls z:\\
>>> ls: cannot access 'z:\': No such file or directory
>>>
>>> strace shows that NtCreateFile fails with STATUS_OBJECT_PATH_NOT_FOUND in this
>>> case, so again the code containing the assertion is not run.
>>>
>>> To be continued...
>>
>> So, maybe we could just check if ext_here - path > 2, i. e.
>>
>>      if (status == STATUS_OBJECT_NAME_NOT_FOUND && ext_here - path > 2)
>>
>> That excludes "X:" paths from this special handling for DOS-only drives.
> 
> The only problem here is that I can't reproduce the assertion failure.
> 
> I created a Samba share on a Linux machine, mounted it as drive Z:,
> and set the "always available offline" property of the drive.
> 
> After syncing I accessed the drive, then I stopped Samba on the Linux
> server to switch the drive into offline mode.  Then I ran `ls -la
> /cygdrive/z'.  After a few secs I got the offline content cached on the
> local machine.  I also tried `ls -la /cygdrive/' and `cd /cygdrive; ls
> -la', but every time I got the expected output.  In the cases I tried
> to list /cygdrive itself I got the expected output, all drives except
> the z drive.
> 
> I tried this with Cygwin 3.1.0-0.8.x86_64 on Windows 7 and Windows 10.
> 
> So either there's something very special in Wilfed's setup, or I'm
> doing something wrong.  Which is it?

How does your strace output compare to Wilfed's when you list /cygdrive?  Does 
it show a failed attempt to list Z: with an error from NtCreateFile?

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