From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36661 invoked by alias); 5 Dec 2019 19:44:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 36632 invoked by uid 89); 5 Dec 2019 19:44:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: NAM11-DM6-obe.outbound.protection.outlook.com Received: from mail-dm6nam11on2132.outbound.protection.outlook.com (HELO NAM11-DM6-obe.outbound.protection.outlook.com) (40.107.223.132) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 Dec 2019 19:44:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VSD43aVPI0aSo81oHUC8geG9k/j1dVYJSdhWkBfTB8lQsYNBmOvC6SQH8k7fDGfoV30nC4oZQoaPWrbP6qouoVO+sV9o4tXyziXVo5/X09dr/1OM2j+x9n5kxoVmrBrwTY5QXsXMg6cJhNpEn8P96uEkY3MdrlJ9nQEBbEYZOmjVUPb5tv1y5WLvr1yol6m94wP5ib0cpa5TJLCkr5EqTzVWbyqc+FHmaoAAsjQi6VIk7sKlqyrarGd9kn3zDHpzUh/mY2Iy6PtlCEKjuE0A+vcxSHhY3dP2jA6C+cbXi/1ZVy1YrVPDGyIB2N62/h+jcX1LLW48AqmyKFitBbu9Fw== 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=Yjsw7jOpu9YOZPkPwU1VvVnkcqYce+RQRScg/GrniRc=; b=Gvyfu7Um6gJZaSEAoBSF/aVEjxMYMlRztC6XmKk+HL/zFwgBPd1d2cNZt6RclT8ZRaslDc061pb2YzcbaLb/4g1VCNlIz9BLvxhKI5bMJDoy5PqeeG6Tn5H3xolswpNpuEXe2Hl5yjaiu8ssYTY5Z3UZHYAkM+WGGxu/WFy8zNK/afj9EPQvmePZJVTRHHlbrGFjmr5ItM+PQMgV2bDpPe1Rc9blWQCypZLOkouu0qVu4yv2wWhd+HyInKgEBZvxDE3rx83IjOIq3vIwXEwmmsFD1mil0JMh579Keew6whVnNahmGxG/erPIjuVfFNLKxrYIIKLrIABx0Yh0w4qN5A== 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=Yjsw7jOpu9YOZPkPwU1VvVnkcqYce+RQRScg/GrniRc=; b=SVyxDTeSRZmLPMu6KDqSWrF9PLVwNLzysjTdJHXfnvtd+pIYNzq7ykgXPX/wark1zhsy41JiaF8HNs5XO0j8wbyHr0FGgIr+72DwHBJ+1YYnFDM5OjbKquEgTxZbhQQtO+YB4CH97PT4eIoGPlQ2wmBriaIr84mYKT58k6RkuZ8= Received: from DM6PR04MB5738.namprd04.prod.outlook.com (20.179.51.81) by DM6PR04MB7115.namprd04.prod.outlook.com (10.186.143.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.14; Thu, 5 Dec 2019 19:44:13 +0000 Received: from DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::f894:edec:b80c:d524]) by DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::f894:edec:b80c:d524%3]) with mapi id 15.20.2495.014; Thu, 5 Dec 2019 19:44:13 +0000 From: Ken Brown To: "cygwin@cygwin.com" Subject: Re: 3.0.7(0.338/5/3): Possible reference to Developer's instances of dev files in deployed build Date: Thu, 05 Dec 2019 19:44:00 -0000 Message-ID: <2c9fa755-ad12-262b-d175-c20eb8e0b1e5@cornell.edu> References: <20191204210222.GA3578@shackleton.labs.net> <754a577d-dac1-16e0-56a7-8be8ab1d424c@cornell.edu> <20191205091807.GG3337@calimero.vinschen.de> <20191205125227.GH3337@calimero.vinschen.de> <04da8ce9-0163-8381-644f-cc7c0f81a5f5@cornell.edu> <20191205191648.GC5146@calimero.vinschen.de> In-Reply-To: <20191205191648.GC5146@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@cornell.edu; x-ms-oob-tlc-oobclassifiers: OLM:8273; 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 Content-Type: text/plain; charset="Windows-1252" Content-ID: <14422CD38D64BD4FB749FB5352D33357@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: zDwP6KDZyAhO3TmBk8Lc0yPc4JFQGzxUqIUuyAUieY/IZanQvt1Tfe7fcyGo9wel5aPBN5tUjmaOh0OjNCkfvA== X-IsSubscribed: yes X-SW-Source: 2019-12/txt/msg00034.txt.bz2 On 12/5/2019 2:16 PM, Corinna Vinschen wrote: > On Dec 5 16:10, Ken Brown wrote: >> 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 containi= ng 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_FOUN= D 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 =3D=3D STATUS_OBJECT_NAME_NOT_FOUND && ext_here - pat= h > 2) >>>> >>>> That excludes "X:" paths from this special handling for DOS-only drive= s. >>> >>> 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? >=20 > Not at all. The strace doesn't show any attempt to open Z:. Then I wonder what's different about Wilfed's setup that causes an attempt = to=20 open Z: when it's offline. I'm grasping at straws, but could the difference be related to the fact tha= t his=20 drive Z: is not a Samba share? Here's an excerpt from the mount output in = one=20 of his earlier emails (when Z: is online): V: on /cygdrive/v type smbfs (binary,noacl,posix=3D0,user,noumount,auto) W: on /cygdrive/w type smbfs (binary,noacl,posix=3D0,user,noumount,auto) X: on /cygdrive/x type smbfs (binary,noacl,posix=3D0,user,noumount,auto) Y: on /cygdrive/y type smbfs (binary,noacl,posix=3D0,user,noumount,auto) Z: on /cygdrive/z type cifs (binary,noacl,posix=3D0,user,noumount,auto) ^^^^ 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