X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Wed, 30 Apr 2008 18:27:23 +0100
From: Robin Walker <rdhw@cam.ac.uk>
Reply-To: Robin Walker <rdhw@cam.ac.uk>
To: Lester Ingber <ingber@ingber.com>, cygwin@cygwin.com
Subject: Re: bash.exe: ***fatal error
Message-ID: <981EFA5154200A9265C40A6A@qjunbur.quns.cam.ac.uk>
In-Reply-To: <20080430165111.GA4168@ingber.com>
References: <20080430165111.GA4168@ingber.com>
X-Mailer: Mulberry/4.0.7 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

--On 30 April 2008 09:51 -0700 Lester Ingber <ingber@ingber.com> wrote:

> Yesterday I installed the final version of SP3 on my XP Professional
> system, which I downloaded via a link to the microsoft .exe via zdnet

Which build number of SP3 was that in fact? (Don't trust what the site 
said, look at what has been downloaded and installed.  Look at the detailed 
file version of a file that has been updated by SP3, for instance, 
termdd.sys).

> (1) Whenever I try to start a cygwin window via the default shortcut icon,
> which points to C:\cygwin\cygwin.bat (which is the same since 2005),
> I am getting
>
> 	6 [main] ? (4596) C:\cygwin\bin\bash.exe: ***fatal error -
> 	couln't allocate heap, Win32 error 487, base 0x6D0000, top
> 	0x6E0000, reserve_size 61440, allocatesize 65536, page_cost 4096

Just a stab in the dark:

1. Try renaming "cygwin.bat" as "cygwin.cmd", and then calling 
"cygwin.cmd".  Interpreting a .bat file will be done in the 16-bit 
emulation layer of XP, which then has to spawn 32-bit applications.  Try 
doing it all within the 32-bit environment by using .cmd files instead of 
.bat.

2. Did the installation of SP3 change the ordering of items in your PATH? 
Is there more than one "bash.exe" on your hard disk?

-- 
Robin Walker (Junior Bursar), Queens' College, Cambridge CB3 9ET, UK
rdhw@cam.ac.uk  http://www.queens.cam.ac.uk/  Tel:+44 1223 335528

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

