From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53584 invoked by alias); 9 Feb 2020 13:55:48 -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 53274 invoked by uid 89); 9 Feb 2020 13:55:21 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.6 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=zell, Zell, H*MI:sk:44b2893, H*f:sk:44b2893 X-HELO: NAM11-CO1-obe.outbound.protection.outlook.com Received: from mail-co1nam11on2094.outbound.protection.outlook.com (HELO NAM11-CO1-obe.outbound.protection.outlook.com) (40.107.220.94) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 09 Feb 2020 13:55:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CLf5Rklf3plVvfNrzfeIqCx7BCMpn+EXtBAMR+5Jd3rC9KdPBamXbJex8XX2xxTF5gtikkZ8RcGFEWpS3ZQOWf5xD9MULVMFcj7pAyNOpn9huYfcElxb2cRWlD9QSadGukMd5ot5Vz+ndertZps1CK4+geIjojbolZ1yhUdaW+IHhEiiJYlfQkIRXUSSUU/wlJYtF5jgg/PIrfgTKytU4nfXNCewWmJAPEy5xL3bol5aOqggrRV/4n/jpVkPXYp4pMzFzugXZAJdyBrkWrzt+czl9yeoNfs14qkVzemQsddpE3EtbtKQps5JJsHBr82zT5lE688St03pm4KbDH4WeQ== 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=e3CQ77OmNAskzGhqbUfkHfCpjAW3ZVDkEnXY+8Igl0k=; b=DO4YTtxEmhLKwIzCtsdjouVoUgmFnozWvgnbSG8YVDw/qyJbPWrFX8nDsCJu2UHyQdWLxif5XwaYt6glREy9r2tjN8NmWqd43ltvmqmv7n+5tFYqTLoUlhKHRBuDGlyKX04cfhWy8V/4hP3sgb/C+wajaUCW6SprQgq1G2r+3NRnyMpG69YTCx+IEdPrQ10ILb3yj6bvZaOaiiOV+MA26gd4jxiK3xgY2k2vFCPI2r/xa2DJzFzA7x9Q0NchNVgU1wMUsgOaJW8ql/h/OZvvb7Pz6GKCwVQIiJqKQTLXRl7pKoaT4mxXMofmLMr8YkU07rM88/7GI0QlRR1hmncdzA== 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=e3CQ77OmNAskzGhqbUfkHfCpjAW3ZVDkEnXY+8Igl0k=; b=DdZztVa7M4pmIGuvab71+6tbnTrS3GcNOWxHlqrL96DigQSSt8M9YWtptGKOq//94zHAFwADPlLJn+qeJ++cmEmtlZWT4/G2iMZffVuONZX8FWFKleAV349SPaEu/7waz0M2RaIv1klXj1xNQV2gdWaVF/TiVbDWWENdNVsl6ZM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kbrown@cornell.edu; Received: from DM6PR04MB5738.namprd04.prod.outlook.com (20.179.51.81) by DM6PR04MB4491.namprd04.prod.outlook.com (20.176.107.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.25; Sun, 9 Feb 2020 13:55:08 +0000 Received: from DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::b9a2:bfae:2bab:2bbf]) by DM6PR04MB5738.namprd04.prod.outlook.com ([fe80::b9a2:bfae:2bab:2bbf%4]) with mapi id 15.20.2707.028; Sun, 9 Feb 2020 13:55:07 +0000 Subject: Re: Cygwin installations directly on root drive To: cygwin@cygwin.com References: <44b2893f-9c5e-e4e0-236d-9ffcbb36b01c@volkerzell.de> From: Ken Brown Message-ID: <07e38050-81a9-8dc0-27b3-617438fb7672@cornell.edu> Date: Sun, 09 Feb 2020 13:55:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 In-Reply-To: <44b2893f-9c5e-e4e0-236d-9ffcbb36b01c@volkerzell.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Return-Path: kbrown@cornell.edu MIME-Version: 1.0 Received: from [10.13.22.8] (65.112.130.194) by BN6PR03CA0116.namprd03.prod.outlook.com (2603:10b6:404:10::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.24 via Frontend Transport; Sun, 9 Feb 2020 13:55:07 +0000 X-MS-Oob-TLC-OOBClassifiers: OLM:6430; Received-SPF: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-MessageData: KHabp11+PUyVvoDtXZQ+5Q6r8V4hLP6SosQdfrcD9b+1u+pqr9vBevI5shISYSXFCT20rjv1ZW/tS9vxFaOAgkn7iDFaVNqzPxE8s47V03szNcGtp0bEf3Q3lHMdBum3PyKjtRlFwN5OPhZu3EfpKg== X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2zzxwZM4MHe/8W9Yx+5+dhuG6Dlu5D8vq9QyOzdxgTbAjFLWJIHph148dijerpiZU+3gTdRvqDNdJvO92iOeEg== X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00077.txt.bz2 On 2/9/2020 8:28 AM, Dr. Volker Zell wrote: > Hi > > I always installed my Cygwin environment on the root of a dedicated drive (for > example D:) > instead of the Setup.exe suggested subdirectory (for example D:\cygwin) > > I recently upgraded my Cygwin system from cygwin1.dll (version 3.0.9) to the > latest 3.1.2-1 package. > > Now whenever I call an executable linked with this dll I get the following stack > trace: > > [04:38]D:\>Cygwin.bat >       0 [main] bash (5368) D:\bin\bash.exe: *** fatal error - add_item > ("\??\D:", "/", ...) failed, errno 22 > Stack trace: > Frame        Function    Args > 000FFFFABCC  001800614DE (0018028087A, 0018025A1B9, 00800010000, 000FFFF8B40) > 000FFFFABCC  00180049249 (000FFFF9BC0, 000FFFFABCC, 00000000000, 00000000000) > 000FFFFABCC  00180049282 (000FFFF9BC0, 00000000016, 00800010000, 3A445C3F3F5C) > 000FFFFABCC  001800E23DC (000FFFFCBC0, 000FFFFCE00, 001800D2F78, 00000000000) > 000FFFFCCD0  00180132725 (001800CB15C, 00000000000, 00000000000, 00000000000) > 000FFFFCCD0  00180049873 (00000000000, 00000000000, 00000000000, 00000000000) > 00000000000  00180048353 (00000000000, 00000000000, 00000000000, 00000000000) > 000FFFFFFF0  00180048404 (00000000000, 00000000000, 00000000000, 00000000000) > End of stack trace > > [04:42]D:\>pwd >       0 [main] pwd (3192) D:\bin\pwd.exe: *** fatal error - add_item ("\??\D:", > "/", ...) failed, errno 22 > Stack trace: > Frame        Function    Args > 000FFFFABCC  001800614DE (0018028087A, 0018025A1B9, 00800010000, 000FFFF8B40) > 000FFFFABCC  00180049249 (000FFFF9BC0, 000FFFFABCC, 00000000000, 00000000000) > 000FFFFABCC  00180049282 (000FFFF9BC0, 00000000016, 00800010000, 3A445C3F3F5C) > 000FFFFABCC  001800E23DC (000FFFFCBC0, 000FFFFCE00, 001800D2F78, 00000000000) > 000FFFFCCD0  00180132725 (001800CB15C, 00000000000, 00000000000, 00000000000) > 000FFFFCCD0  00180049873 (00000000000, 00000000000, 00000000000, 00000000000) > 00000000000  00180048353 (00000000000, 00000000000, 00000000000, 00000000000) > 000FFFFFFF0  00180048404 (00000000000, 00000000000, 00000000000, 00000000000) > End of stack trace > > > The only mention of "\\??\\D:" seems to come from the > ""HKEY_CURRENT_USER\Software\Cygwin\Installations" > registry entry (see below) > > I then tried new base installations under "D:\cygwin", "C:\" and "C:\cygwin": > > Windows Registry Editor Version 5.00 > > [HKEY_CURRENT_USER\Software\Cygwin\Installations] > "8aa36a1fe80b21a1"="\\??\\D:" <=== Broken > "c5e39b7a9d22bafb"="\\??\\C:\\cygwin" <=== OK > "1720b01b097bf4fc"="\\??\\D:\\cygwin" <=== OK > "2af6b8d6450bff37"="\\??\\C:" <=== Broken > > It looks like installations directly to the root of a drive DO NOT work anymore, > although the Cygwin > installer still allows it (with a warning). > > This all seems to be related to a patch mentioned in > https://cygwin.com/ml/cygwin/2019-09/msg00255.html > > > My big problem is: ALL of my Cygwin installations on different systems now will > break > during upgrade because of the initial Root-Drive install. Also the rest of my > ecosystem > assumes this Root-Drive install and its a nightmare to fix. > > Any chance this type of installation can be supported again? > > I found a mention of Ken Brown "I think I see how to fix this.  I'll submit a > patch within the next few days." > in https://cygwin.com/ml/cygwin/2020-01/msg00129.html This has been fixed for cygwin-3.1.3, which should be released soon. A workaround in the meantime is to install the latest snapshot and then re-run setup. Or revert to cygwin-3.0.7. 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