This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7.1 Install freeze of Cygwin post install.sh


Okay here's what worked for me on my home PC.  I rebooted into "Safe Mode with 
Networking" and killed off anything I could that still tried to run.  This 
meant that McAfee Security Suite reported I was not protected, and I had shut 
down the RAM manager from Advanced System Care.  The idea was to get to as 
bare bones a system as I could.  I then ran setup and choose to reinstall only 
the base package.  The installation went just fine and I got my Cygwin icon 
back.

I rebooted in normal mode, tried to open a bash shell and got the heap space 
allocation error.  I closed the window and I shut down the Advanced System 
Care RAM manager and tried to start the bash shell again.  I got the shell.  I 
closed the shell and waited five minutes then tried to restart the shell again 
(still without the ASC RAM manager).  I got the heap space error again.  
Basically I found that after a wait of several minutes the bash shell would 
fail on the first invocation about one third of the time; but would succeed on 
later invocations if they were done with in about a minute or two of each 
other.  I reran the setup, selected the remaining packages I needed (i.e. 
Apache 2.2, mathomatics, sshd, svn, etc.) and kept opening and closing the 
bash shell several times as the install process ran.  Sometimes would get a 
shell, sometimes I got the heap space error.  In the end, the install went 
without an 
error.

This morning I've tried opening the bash shell several times and had no 
problems.  I've also run the setup without opening bash shells all the time 
and had no problems.  I don't believe the problem has gone away; but I don't 
seem to be running into it as often.  I still don't have a firm grasp of what 
is causing the problem; but at least I have a working Cygwin again and can 
start rebuilding the Apache web server and other services again.

At this point I believe I've beaten the system into submission.  :) Many 
thanks to all who suggested things to try.  I appreciated the support of the 
Cygwin community, and their humor.  In case anyone (with greater skills than 
I) is still interested in working this issue, I've attached a new cygchekc.out 
file to this message to help with the diagnosis.

Sincerely,

Brian S. Wilson
===================================================================
Home: (678) 376-9258       Cell: (678) 232-9357     Wilson@ds.net
===================================================================

---------- Original Message -----------
From: "Brian Wilson" <wilson@ds.net>
To: cygwin@cygwin.com
Sent: Sun, 27 Dec 2009 22:48:39 -0500
Subject: 1.7.1-1 Install freeze of Cygwin post install.sh

> I'm running a Dell XPS (single core 3GHz processor) with WinXP SP3 
> with latest patches.  My system has 4GB memory installed and 20GB 
> free disk space available.
> 
> I had 1.5 installed and working well.  I tried to upgrade to 1.7 and 
> received many errors and could not complete the installation because 
> the installation appeared to stop working.  I rebooted several times 
> and retried the update each time with no success.  I manually 
> removed all cygwin files and cleaned the registry.  I tried 
> downloading the setup and reinstalling the base 1.7 release. 
>  Everything goes find until I get to the /etc/postinstall/000-cygwin-
>  post-install.sh step and the progress bars stop showing any 
> progress (i.e. appear to stop working).
> 
> I went to c:\cygwin\var\log\setup.log.postinstallXa01348 and looked 
> at this file.  It contains:
> 
>   5 [main] bash 508 C:\cygwin\bin\bash.exe: *** fatal error -
>  couldn't allocate heap, Win32 error 487, base 0x6D0000, top 
> 0x730000, reserve_size 389120, allocsize 393216, page_const 4096     
>  5 [main] bash 2216 child_info::sync: wait failed, pid 508, Win32 
> error 0    909 [main] bash 2216 fork: child -1 - died waiting for 
> longjmp before initialization, retry 0, exit code 0x1000000, errno 11
> 
> I have no choice but to cancel the install and retry; but it never 
> completes and always fails at the same point.  Does anyone know what 
> this means and how to fix the problem?  If it's something stupid 
> I've done; please point out the issue. Sincerely,
> 
> Brian S. Wilson
> ===================================================================
> 
> --
> 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
------- End of Original Message -------


Sincerely,

Brian S. Wilson
===================================================================
Home: (678) 376-9258       Cell: (678) 232-9357     Wilson@ds.net
===================================================================

---------- Original Message -----------
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Sent: Sun, 27 Dec 2009 23:33:56 -0500
Subject: Re: 1.7.1-1 Install freeze of Cygwin post install.sh

> On Sun, Dec 27, 2009 at 10:48:39PM -0500, Brian Wilson wrote:
> >I'm running a Dell XPS (single core 3GHz processor) with WinXP SP3 with 
latest 
> >patches.  My system has 4GB memory installed and 20GB free disk space 
> >available.
> >
> >I had 1.5 installed and working well.  I tried to upgrade to 1.7 and 
received 
> >many errors and could not complete the installation because the 
installation 
> >appeared to stop working.  I rebooted several times and retried the update 
> >each time with no success.  I manually removed all cygwin files and cleaned 
> >the registry.  I tried downloading the setup and reinstalling the base 1.7 
> >release.  Everything goes find until I get to the /etc/postinstall/000-
cygwin-
> >post-install.sh step and the progress bars stop showing any progress (i.e. 
> >appear to stop working).
> >
> >I went to c:\cygwin\var\log\setup.log.postinstallXa01348 and looked at this 
> >file.  It contains:
> >
> >  5 [main] bash 508 C:\cygwin\bin\bash.exe: *** fatal error - couldn't 
> >allocate heap, Win32 error 487, base 0x6D0000, top 0x730000, reserve_size 
> >389120, allocsize 393216, page_const 4096
> >      5 [main] bash 2216 child_info::sync: wait failed, pid 508, Win32 
error 0
> >    909 [main] bash 2216 fork: child -1 - died waiting for longjmp before 
> >initialization, retry 0, exit code 0x1000000, errno 11
> >
> >I have no choice but to cancel the install and retry; but it never 
completes 
> >and always fails at the same point.  Does anyone know what this means and 
how 
> >to fix the problem?  If it's something stupid I've done; please point out 
the 
> >issue.
> 
> Just as a wild guess, given the minimal information above, and given 
> the handful of other problems reported with this - you may have two versions
> of Cygwin installed on your system.  One would be installed in a
> standard location and another could be in windows\system32 or in a
> third-party location like cwrsync or in some other cygwin repackager.
> 
> See: http://cygwin.com/problems.html .  Run the cygcheck command
> suggested there and inspect the output for clues.  Also look in your
> windows directory and along your PATH for other copies of cygwin1.dll
> and any other Cygwin DLLs.
> 
> cgf
> 
> --
> 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
------- End of Original Message -------

Attachment: cygcheck.out
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]