From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: cygwin stopped working
Date: Mon, 12 Feb 2018 02:30:00 -0000 [thread overview]
Message-ID: <5b33024e-ddd5-d141-733d-0e539c8f1f44@SystematicSw.ab.ca> (raw)
In-Reply-To: <e4b6f4cd-1fb2-5d4c-1f94-f8ca73bbfa1f@ferzkopp.net>
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
next prev parent reply other threads:[~2018-02-12 2:30 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-11 8:18 Andreas Schiffler
2018-02-11 10:42 ` Doug Henderson
2018-02-12 1:16 ` Andreas Schiffler
2018-02-12 2:30 ` Brian Inglis [this message]
2018-02-12 16:48 ` Jostein Berntsen
2018-02-13 4:58 ` Andreas Schiffler
2018-02-14 1:42 ` Bryan Zimmer
2018-02-14 7:53 ` Eliot Moss
2018-02-14 8:49 ` Marco Atzeri
2018-02-14 3:25 ` W10 Mandatory ASLR default (was: cygwin stopped working) Brian Inglis
2018-02-14 7:17 ` W10 Mandatory ASLR default Thomas Wolff
2018-02-14 7:36 ` Andreas Schiffler
2018-02-16 6:41 ` Brian Inglis
2018-02-18 19:43 ` Andreas Schiffler
2018-02-18 20:07 ` Achim Gratz
2018-02-18 22:40 ` Brian Inglis
2018-02-12 18:16 ` cygwin stopped working Achim Gratz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5b33024e-ddd5-d141-733d-0e539c8f1f44@SystematicSw.ab.ca \
--to=brian.inglis@systematicsw.ab.ca \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).