X-Recipient: archive-cygwin@delorie.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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; q=dns; s=default; b=LATHh8IteXDTBaht3moOplxZpz7X3
	r6QGcaVrjsSC87HkSFKcR8uASZL9Kc4Bz4DI4x/nSvvmPDWl9VgwzpCYnpmCU8+m
	VvOtDKeQ7bPD41momCYifesROKoCk5dY4eA+oiktaCPVSvqlp9+fNLQiCnf52wL9
	dVC7Vq+hQJS0Fg=
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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; s=default; bh=zF7hGuGcKz3igkFKRmXxNqGr/4o=; b=sUj
	PbKCKmMx/57ONSNzSBg5o/nWCKbUMPMtPtFVJkyOoM/es7601y6RCPD1WOeVOBox
	qgOdcEDdlbnlMb7zYBx+U/PPPya1t90RCmhLxO2e7+9iaVvJK9QF4EgoZSbPjv0p
	Ro/K1Oqi8pX0UF5ShW6VjJFVKGmsxX2+D0JF94Wk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.2 required=5.0 tests=AWL,BAYES_50,CYGWIN_OWNER_BODY,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail1.bemta12.messagelabs.com
X-Env-Sender: becao@progress.com
X-Msg-Ref: server-11.tower-126.messagelabs.com!1438175419!30796931!1
X-StarScan-Received:
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
From: Benjamin Cao <becao@progress.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Cygwin Shell Fails to Start when Enabling High Address
Date: Wed, 29 Jul 2015 13:10:09 +0000
Message-ID: <77c61a84bf094d579c63ea737b012ddf@ntmaexbe03.bedford.progress.com>
References: <a0044cbe3ab747048d7246806562f509@ntmaexbe03.bedford.progress.com> <20150224213422.GS437@calimero.vinschen.de> <56960a5bb2344de09875b4d117bf19b4@ntmaexbe03.bedford.progress.com> <20150727201519.GB12449@calimero.vinschen.de> <b0046549b90844bbbcd12ed64bcce9b2@ntmaexbe03.bedford.progress.com> <20150729114859.GB7067@calimero.vinschen.de>
In-Reply-To: <20150729114859.GB7067@calimero.vinschen.de>
x-ms-exchange-transport-fromentityheader: Hosted
x-ems-proccessed: +CmIlJ+kdV7Z341JADFd9w==
x-ems-stamp: A3OxybTtq7h982t2gtJC6g==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t6TDCLrP015560

Hi Corinna,

I have tried the latest snapshot and have confirmed that with AllocationPreference enabled, I can start Cygwin without any crashes.

Thanks,
Ben Cao

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Corinna Vinschen
Sent: Wednesday, July 29, 2015 7:49 AM
To: cygwin@cygwin.com
Subject: Re: Cygwin Shell Fails to Start when Enabling High Address

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 https://cygwin.com/snapshots/ 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.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

