delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/02/10:35:48

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C9C91395C859
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1606923308;
bh=LTRp/1ZD0aQajf+fPbHvXWzidPCGk/N6xWaBeg8Srno=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=K7Kd2c0bjtFM1VOOwNAobjRKwepCdtO6mGUwQYKvNnTgvMSHRsGiqCopntck7Ah2A
/+gjSFNJpN4gKfQvv4WV+Jv9AHtTyqAl8mPq6qRzng3XTtRAaF70iAsDtJ7sgauM6P
SygszgTCkKVs6AFjNqGQTUs4IpB8uR9TmM8bLn14=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 935DC395C809
Date: Wed, 2 Dec 2020 16:35:02 +0100
To: cygwin AT cygwin DOT com
Subject: Re: cygwin1.dll > 3.1.4: Program execution fails if (WSL-)symlink
exists and is present in PATH
Message-ID: <20201202153502.GS303847@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3160909720eb427892eb38221a611953 AT frims060 DOT wamas DOT com>
<66ac6d01-3ae9-5bd3-46a2-9a4e66647e45 AT cornell DOT edu>
<20201202133905 DOT 6355182479af1f61971dc8a4 AT nifty DOT ne DOT jp>
<20201202140557 DOT GQ303847 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20201202140557.GQ303847@calimero.vinschen.de>
X-Provags-ID: V03:K1:ZIlcQEZ08nUY2TQR8IPZN2gHZeAcWwsQZ+ZNh12sRHxdNGZfYwa
E9FWZ5/fexJgynCXTWqmGQL4lZXpCxvBHLCnzVvQM/aYpOYaveDm7b+Ve26KM5jSf83nkfp
+IOm6mb5f+yuWDzLxMvhyMsMwAQmfBqY+efPgHNDbSW+B9XnLaQI8FaVcKtzwoggq3dwDkb
STRZXXezEr/zWATY3ftCw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:7PR9okFokao=:OnMaNzZdLRCBJ7c3YWrXnW
zxXXChLF2GWllJM5YAgylDhcgkF1o7Epn7sFJf3McoTjsauJcnBdiYTzEMU4gKPd7liE01Onr
4MQBYKqFi8kFySjFUnZodey97sHdTzwbBOjGNomcnHRx8pMDIZE97pply4/oMP7kEjd8Cz88i
fJvkyFseGoPAUzyneUy/fzzBzF57bg/fzNO6WWNXpwgcOAMb3mSkkEJeidlIkXYbhlvWiktYW
lI7UEw+LnrYfxi1F2oOzsNiqy0VuGyfZL01WGSqayNgp9iFA5u03tfYbBcvcv/CKJcDW2vb2V
hLgX9avAzpsRkzvfhpW44tuvciSa+sAjrn+Y/fmYfLeeRY3wd4e/3V6oBoPwvDezW8rQjk0Az
u5tyxahwFk8zk0wCHB1XOqMYQPOQP3RBxtLi1b7g5SKGKCgx7dCBRP4A9Q630tqYAt3pvuekn
79cIeINKOw==
X-Spam-Status: No, score=-100.4 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, JMQ_SPF_NEUTRAL, KAM_DMARC_NONE, KAM_DMARC_STATUS,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Dec  2 15:05, Corinna Vinschen wrote:
> On Dec  2 13:39, Takashi Yano via Cygwin wrote:
> > On Tue, 1 Dec 2020 19:13:39 -0500
> > Ken Brown via Cygwin <cygwin AT cygwin DOT com> wrote:
> > > On 12/1/2020 4:24 AM, Mattl Mario wrote:
> > > > Hello,
> > > > 
> > > > Since cygwin1.dll version 3.1.5, I observed the following behavior:
> > > > If a symbolic link is existing in the PATH environment, programs (external from Cygwin's system directory) using cygwin1.dll cannot be executed anymore.
> > > > Possibly, because the Cygwin-DLL isn't found anymore.
> > > > 
> > > > Steps to reproduce:
> > > > 
> > > > cd /
> > > > mkdir link_test
> > > > cp /usr/bin/sed.exe link_test
> > > > ln -s link_test test
> > > > export PATH=/test:/link_test:/usr/bin:/bin
> > > > 
> > > > /link_test/sed cannot be executed
> > > > $ ldd /link_test/sed
> > > >          ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffffd960000)
> > > >          KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL (0x7ffffd140000)
> > > >          KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll (0x7ffffa8e0000)
> > > >          SYSFER.DLL => /cygdrive/c/WINDOWS/System32/SYSFER.DLL (0x550c0000)
> > > > 
> > > > -> no cygwin- DLLs found
> > > > [...]
> > > I think this was fixed by commit 4b4fffe0f2390be6a5be27b6a3ceaa212a3724b2, but I 
> > > don't have time to check carefully, and I'm going to be AFK for a few days 
> > > starting tomorrow.
> > 
> > I can reproduce this issue with current git head even with
> > the commit 4b4fffe0f2390be6a5be27b6a3ceaa212a3724b2.
> 
> Just looking into it.  It has something to do with missing to resolve
> a WSL symlinks to a Windows path, but I'm not sure yet where this occurs.

I pushed a patch and uploaded new developer snapshots to
https://cygwin.com/snapshots/

Please give it a try.


Thanks,
Corinna
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019