Cygwin Shell Fails to Start when Enabling High Address

Corinna Vinschen
Wed Jul 29 11:49:00 GMT 2015

On Jul 28 17:26, Benjamin Cao wrote:
> Corinna,
> When I start Cygwin, with the AllocationPreference registry enable for
> VirtualAlloc, the shell immediate closes. I get the below error.
> 2 [main] sh 5240 c:\cygwin\bin\sh.exe: *** fatal error - internal
> error reading the windows environment - too many environment
> variables?
> I guess you have answered the question to when we could get our
> testing running on Cygwin, but I'm unable to get to that point if the
> shell cannot start. Any advice on what I'm seeing now?

A bug in Cygwin.  Actually, 2 bugs, one generic bug and one in 64 bit
Cygwin only.

I applied patches to the git repo and I just uploaded new developer
snapshots to which contain the fixes.

I'm also creating new test releases 2.2.0-0.4 and upload and announce
them later today.

Please give any of them a try, preferredly today, so I may be able
to create the offical Cygwin 2.2.0 release today as well.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <>

More information about the Cygwin mailing list