delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/02/11/21:30:42

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=l0gQHG/CerVgLhmr
f4Lkk+C9tsBnHmwgY9ddR/1tkJAOno/1S3aNeyG0+0iUQA21WCaklUPRK+WfoNfM
DlkFcrRCANaEYmfDH31hAmFnmyka6fmfnw4NatVQW8J6agbQESu/O1AZxluGZUsa
KNJjo/yeASsaCfSU9+5unAxahP4=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Bpg0TVN+HUNruhQqBXKlo0
febpo=; b=h/Ut0jQbBupNqiKXbq6qvSAZCXMpwt59Hm5EhJC9Z7UgaN+2So8gvU
/WMSpYzXiubHwshAAHEDMho+liAj4UP+YRJ+6Y9ZF/Z2xWNsewjZ6C2t4TYSYTYi
eH8ybWyp6Kqi2dAt4+eFy6pVvI8Bx3AZhu6U1ifdroJEif1S2R5r0=
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: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=PHP, cygwin_root, CYGWIN_ROOT, Oracle
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.3 cv=Bo6zP7f5 c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=w_pzkKWiAAAA:8 a=uPZiAMpXAAAA:8 a=889h0dqMq7owO18p7VkA:9 a=pILNOxqGKmIA:10 a=sRI3_1zDfAgwuvI8zelB:22
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
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> <e4b6f4cd-1fb2-5d4c-1f94-f8ca73bbfa1f AT ferzkopp DOT net>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <5b33024e-ddd5-d141-733d-0e539c8f1f44@SystematicSw.ab.ca>
Date: Sun, 11 Feb 2018 19:30:26 -0700
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: <e4b6f4cd-1fb2-5d4c-1f94-f8ca73bbfa1f@ferzkopp.net>
X-CMAE-Envelope: MS4wfG2cXyV1jt75f4qLviSRYyfQciGUXSw9kux2+VKiqUQdX4W2U7vzMDm2a0ddM8hJnpa+nvE0uCyJ6y2sZqi+nWKS2TlYsG4PTGH3ZVVZ/K9akhhpWBpS DhIjpTcYamkkxrVRAxpk81XQc4rAsMBmbwuEFOxp9QmpYbfzCQZh8RPvRhGYWwTXwZQlDgVeiDJOEA==
X-IsSubscribed: yes

On 2018-02-11 18:16, Andreas Schiffler wrote:
> 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'.
>>> 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.
>>> I do have another version of the cygwin dll file on the system (Plex
>>> installation) but that never caused any issues in the past.
>> 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.
> 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>
COMSPEC='C:\WINDOWS\system32\cmd.exe'> CYGWIN_NOWINPATH=1> 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/Microsoft
> 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$ 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.
Run in a cmd terminal <CYGWIN_ROOT>\bin\cygcheck bash (or ls) and see if there
are any non-Cygwin and non-Windows DLLs from other products' directories in your
path that may be interfering.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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