Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <405A313D.3050801@tampabay.rr.com>
Date: Thu, 18 Mar 2004 18:31:09 -0500
From: Heflin <hhogan@tampabay.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 Netscape/6.2
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: cygwin gcc failure
References: <C1A7FA5F2793A94BA223673B8ADAF4A1C9890A@exchange.atl.air2web.com>
In-Reply-To: <C1A7FA5F2793A94BA223673B8ADAF4A1C9890A@exchange.atl.air2web.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: Symantec AntiVirus Scan Engine
X-IsSubscribed: yes
Note-from-DJ: This may be spam

Richard Campbell wrote:

>>The symptom is pretty straight forward, on a straight command line of:
>>
>>gcc foo.c
>>
>>I get a pop up and a system log message which says:
>>
>>Application popup: cc1.exe - Application Error : The application failed 
>>to initialize properly (0xc0000022). Click on OK to terminate the 
>>application.
>>    
>>
>
>Try running cc1.exe and see if you get something like:
>
>c:\cygwin\bin> bash
>      6 [main] ? 3816 init_cheap: Couldn't reserve space for cygwin's heap,
>Win32 error 487
>c:\cygwin\bin\bash.exe (3816): *** AllocationBase 0x0, BaseAddress
>0x616E0000, RegionSize 0x1AA0000, State 0x10000
>
>(replace bash with cc1)
>
>  
>
This doesn't appear to be applicable. cc1.exe is buried in the gcc-lib 
structure (called by gcc), and it doesn't provide any further info other 
than what I've posted.

Additionally, MS seems to indicate that the actual message is some form 
of permision problem, but in typical MS fashion they aren't real 
specific on how to nail down exactly what is causing the problem.

I'm reluctant to apply a snapshot because the rest of cygwin appears to 
be working, and the idea of overlaying things isn't really appealling at 
the moment.

If anyone has suggestions on how to narrow the possible causes, I'm all 
ears (or eyes).

-H


--
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/

