delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/02/11/20:17:09

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=hlmKK46Yeqbd7ebw
XyX+TFaHBmU/WHUBsuG6UGlB3I9MvGK4xMDF0VUqh3cEx+KDClDxP0K6MtHkoYfe
39GyVDVOaoufDDU2HPy9ex74fsLaiCvNFODoA6w4zyBxn/SN62qvFidoDwHIspje
MGyO7Nmr7ljrphOLILPyoWnxn1o=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=oQwU+AwG4zCEZutpczq0Gs
UxF6M=; b=NEoC5Aozf0xjHFOvoel7Ke+aVX6lwrv4bjhag/Rjupf2GoK8Uhny79
Szj9v4TL12WprbtPcDP7c9C5PmDR0lO1MoHUMxMSycKm40wsA0YTDb4tDNa8zMve
gCWXqn91B3GbXjOVEOyR7y0zDO31tO+lBsfgSywEOPSY4wcaHBSU4=
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-Virus-Found: No
X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-1.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=mic, PHP, version.=c2, Oracle?=
X-HELO: mout.perfora.net
Subject: Re: cygwin stopped working
To: cygwin AT cygwin DOT com
References: <8297ddf5-5d06-c2b1-526b-16ca311749aa AT ferzkopp DOT net> <CAJ1FpuMivfg+RKg3kDf8rt6n-Ky0Ami_5_HpGjbAMGpHgM57Tg AT mail DOT gmail DOT com>
From: Andreas Schiffler <aschiffler AT ferzkopp DOT net>
Message-ID: <e4b6f4cd-1fb2-5d4c-1f94-f8ca73bbfa1f@ferzkopp.net>
Date: Sun, 11 Feb 2018 17:16:52 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <CAJ1FpuMivfg+RKg3kDf8rt6n-Ky0Ami_5_HpGjbAMGpHgM57Tg@mail.gmail.com>
X-UI-Out-Filterresults: notjunk:1;V01:K0:HcM/WaTe2LQ=:vBxBW9GAlhY6H2zM7AhrXe ZENHxtEU+6CqnuSCQZQp0gCiIwNb/z/CjCFm3j51sgbfPcUpCKI6uvUI9+r1c1jIXZp0o+Hm6 XaScYL7yUu7pTr/f9qIbNqd8b6EJJW9wl5IYou9mKvBfCreMYVbsZdvNqls475yvXEreUf/qZ NGM+uoWa7+p0lMt4PHKy9Y+UvS8ZvITCzUYCKA3Yhwo9MT9WDfuKck8HWejyYsm4vEoew6tn7 HmkP2MgR4CGlBbAZ8VSpk/B0/ypQNjUVnN77fZnRpQcEse57tr88DEOddXS58o2Ef0L36K+jc Ba3w9999sPogXIkKS6w/ERGw4YNdje0yDOcsd6cNHnKkM3tVNyrGxtJ/yuBPUpbSDEAczAyYa mhm76zGGFLdVIflq9uSa8uAJlPzHXnxI60bF0ikX/LnSBeF8HtcdmRWL7/y/st7efWAXkVcP9 KW8UmmoxLuzv4JI52kDeXzyDdDMHpCkfAqX/XZNkrm5sKj6yNPg+DUs930NAQKWvz84Iq6vBx Gb1sHzSthzrjro3wS2SGs4ePBCnZTcNnQUirqT33Uo5Gd5D3vR7YBY0LtPhjNI5hT+/MFFB5D fDEZ8Ue7r6kNvUjXQmLcASsbk8M0WkdOf6hThAK+K2uTuYdF5hUPY28lubghN1Kyo/W9V6MC3 fvLcomXy60Xmg6sTxa1uSTLjpfOHrgjVDEm08MGgWBrPT/c0/O76MYEZRTBhO4A3D+nQE3n4w TdPOcV7G+MHMOoPBamQU39KJWVMSPuYfJG6YkQGTPvw0OihYjwKD2T+6htE=
X-IsSubscribed: yes
Note-from-DJ: This may be spam

Thanks for the tip, but that didn't seem to have helped.

The registry setting CYGWIN_NOWINPATH=1 did not seem to affect the 
environment as seen in bash.

The variable seems to be set:

bash-4.4$ set
...snip...
COMSPEC='C:\WINDOWS\system32\cmd.exe'
CYGWIN_NOWINPATH=1
...snip

but the path variable contains still all the common system locations:

bash-4.4$ echo $PATH
/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Program Files 
(x86)/iis express/PHP/v5.3:/cygdrive/c/Program Files/Common Files/Mic
rosoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common 
Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Intel/
iCLS Client:/cygdrive/c/Program Files/Intel/iCLS 
Client:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:...snip...

Manually overriding the PATH variable in bash did not help (presumably 
because the offending DLL is already loaded):

bash-4.4$ export PATH=/usr/local/bin:/usr/bin:/bin
bash-4.4$ echo $PATH
/usr/local/bin:/usr/bin:/bin
bash-4.4$
bash-4.4$
bash-4.4$ ls
       0 [main] bash (11276) C:\Cygwin\bin\bash.exe: *** fatal error - 
cygheap base mismatch detected - 0x3C52410/0x36F2410.
This problem is probably due to using incompatible versions of the 
cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version 
*should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.


On 2/11/2018 2:42 AM, Doug Henderson wrote:
> On 11 February 2018 at 01:18, Andreas Schiffler  wrote:
>> Terminal (bash) fails with:
>>
>> Error: Could not fork child process: Resource temporarily unavailable (-1).
>> DLL rebasing may be required; see 'rebaseall / rebase --help'.
>>
> {snip}
>> bash-4.4$ ls
>>        1 [main] bash (6316) C:\Cygwin\bin\bash.exe: *** fatal error - cygheap
>> base mismatch detected - 0x3922410/0x3962410.
>> This problem is probably due to using incompatible versions of the cygwin
>> DLL.
> {snip}
>> I do have another version of the cygwin dll file on the system (Plex
>> installation) but that never caused any issues in the past.
> {snip}
>
>
> The method I use is to define CYGWIN_NOWINPATH=1 before I start
> cygwin. Actually, I set it in my Windows User environment so it is
> always set for my user. You can find the old windows path as the value
> of the environment variable ORIGINAL_PATH. Then, when necessary, I add
> only the previous path components that I require back in my
> .bash_profile. In my cases,My path looks like:
>
> $ echo $PATH
> /home/USER/bin:/usr/local/bin:/usr/bin:/cygdrive/c/Go/bin:/bin
>
> In your case, you may have Plex in your path. Make sure any Plex
> related directories are not in your cygwin path.
>
> A Google (or similar) search for "CYGWIN_NOWINPATH" will find many
> pages on cygwin.com and stackoverflow.com.
>
> HTH
>
> Doug
>


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