delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/02/09/08:29:15

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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=gze
BpWOT9fN5cOsFQTJlxik6gYPWdsQOz+erPDGR0zsqBzETsER9wx8cL0CEtxFu01c
1KDp5RBiQX2b6zl8TA9Z8ExDvTtXF2WOQEK778f37DjWrITfpKy6AuBynHeGKOwe
jDkrmw5G7At1YtY7Z194WDihNsIky6xVIj4xBsmw=
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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=rPw7CmYRV
VSg3KIdTapd3hQ7TPg=; b=So/xhHuAnCL3twiIxJfw/xdoflV29wq5Q3wuSu4Dg
mZYNPVIUahAFgKuHbBgPcSLWTi31AmrY7vDp5eez/E8WI21gD0r0k2T6VLxeVEja
9CrCh78HvX6bguescNyImnWKYsyVj4v5ly9QjFHoyLkPVdAzBXApDM9HyajaGlTp
Jw=
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 autolearn=ham version=3.3.1 spammy=upgrade, installer, this, HContent-Transfer-Encoding:8bit
X-HELO: mout.kundenserver.de
To: cygwin AT cygwin DOT com
From: "Dr. Volker Zell" <vzell AT volkerzell DOT de>
Subject: Cygwin installations directly on root drive
Message-ID: <44b2893f-9c5e-e4e0-236d-9ffcbb36b01c@volkerzell.de>
Date: Sun, 9 Feb 2020 14:28:15 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
Note-from-DJ: This may be spam

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

Thanks
   Volker


--
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