delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/16/11:10:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 16 Jun 2003 16:14:46 +0100 (GMT Daylight Time)
From: Dan Hatton <dan DOT hatton AT btinternet DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Memleak Apparently Attributable to Cygwin Setup
Message-ID: <Pine.WNT.4.33.0306161444350.2352-100000@DAN-HATTON.geol.ucl.ac.uk>
X-X-Sender: dan DOT hatton AT mail DOT btinternet DOT com
MIME-Version: 1.0
X-UCL-MailScanner: Found to be clean
Note-from-DJ: This may be spam

When I try to run Cygwin Setup, it hangs, as far as I can make out,
forever.

This behaviour occurs in all of the following four circumstances:

1    An "install from internet" update of an existing Cygwin
     installation, which consisted of the default packages, plus a few
     extra.

2    A fresh "install from internet," after deleting my existing
     Cygwin installation, with all packages marked for installation.

3    A fresh "install from local directory," after deleting my
     existing Cygwin installation, with all packages marked for
     installation.

4    A fresh "install from local directory," after deleting my
     existing Cygwin installation, with the default set of packages
     marked for installation.

The stage, at which the hang occurs, is after downloading/MD5sum
checking is complete, and during installation of the first package
(a2ps in cases 1-3, ash in case 4.)  I note that this is the same
stage where McAfee and Norton anti-viruses are [Cygwin FAQ] believed
to lead to similar behaviour, so I stopped (unloaded, in its own
terms) my anti-virus (F-Secure,) and tried 2 and 3 again (this is the
only way I tried 4.)  I observed the same behaviour.

Keeping Windows Task Manager's "Processes" tab open while running
Cygwin Setup (case 2, with anti-virus unloaded) allows monitoring of
memory usage.  The following statistics are in kB.

Memory Usage

By What?	setup.exe	other processes		total

When?

At start of	 28872		~69000			  172104
download

At end of	  4604		~33000			~ 177000
download/
start of
install

Immediately      31828		~25000			~ 605000
before
aborting
install with
"Cancel"
button (~40
minutes
after start
of install)

Immediately      64000		~16000			~ 650000
after
aborting
install

Immediately	~60000		Not noted		~1050000
before
setup.exe
disappears
from process
list (~10
minutes after
aborting)

Immediately	n/a		~26000			 ~156000
after
setup.exe
disappears
from process
list

This sounds like a memory leak, either in setup.exe, or related to
setup.exe, to me.  Either way, it's left me without Cygwin :-(.

The listed processes' memory use does not add up to the total memory
use, as previously noted [S. Reddie.  Memory leak? (was: 1.3.9: "fork:
Permission denied" (Windows 2000.))  cygwin AT cygin DOT com, Feb. 2002.], in
a rather different context, on this mailing list.

Any ideas, please, anyone?

-- 
Thanks

Dan Hatton

<http://www.bib.hatton.btinternet.co.uk/dan/>


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019