From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59163 invoked by alias); 12 Feb 2018 02:30:31 -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 59148 invoked by uid 89); 12 Feb 2018 02:30:30 -0000 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 Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 12 Feb 2018 02:30:29 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with ESMTP id l3sweSwgEppe1l3sxeWtII; Sun, 11 Feb 2018 19:30:27 -0700 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.Inglis@SystematicSw.ab.ca Subject: Re: cygwin stopped working To: cygwin@cygwin.com References: <8297ddf5-5d06-c2b1-526b-16ca311749aa@ferzkopp.net> From: Brian Inglis Message-ID: <5b33024e-ddd5-d141-733d-0e539c8f1f44@SystematicSw.ab.ca> Date: Mon, 12 Feb 2018 02:30:00 -0000 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: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfG2cXyV1jt75f4qLviSRYyfQciGUXSw9kux2+VKiqUQdX4W2U7vzMDm2a0ddM8hJnpa+nvE0uCyJ6y2sZqi+nWKS2TlYsG4PTGH3ZVVZ/K9akhhpWBpS DhIjpTcYamkkxrVRAxpk81XQc4rAsMBmbwuEFOxp9QmpYbfzCQZh8RPvRhGYWwTXwZQlDgVeiDJOEA== X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00115.txt.bz2 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 \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