Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Date: Wed, 17 Nov 2004 12:17:19 -0500
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin-xfree@cygwin.com, cygwin@cygwin.com
Subject: Re: new cygwin has memory problems?
Message-ID: <20041117171719.GA3272@trixie.casa.cgf.cx>
Reply-To: cygwin-xfree@cygwin.com
Mail-Followup-To: cygwin-xfree@cygwin.com, cygwin@cygwin.com
References: <20041112162605.GA3620@ingber.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20041112162605.GA3620@ingber.com>
User-Agent: Mutt/1.4.1i

On Fri, Nov 12, 2004 at 08:26:05AM -0800, Lester Ingber wrote:
>I was wrong in assuming this was a cygwin base problem.  It must be a
>cygwin-xfree problem.  I have no problems I can see in a cygwin console
>window, only in an xterm (or rxvt) window running under
>XWin -unixkill -emulate3buttons -clipboard -multiwindow -silent-dup-error &
>
>Lester
>
>      +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
>I cannot determine why, but with the new Cygwin base I just installed,
>a utility I have used for quite a few years, dired
>[http://www.math.utah.edu/~beebe/software/file-tools.html#dired], now
>freezes my window.  A `top` shows that CPU usage quickly climbs to
>maximum values.
>
>I have to guess that other utilities will have similar problems.

This is a problem caused by this change:

http://cygwin.com/ml/cygwin/2004-10/msg00364.html

And, then, the problem was noted here:

http://cygwin.com/ml/cygwin/2004-10/msg00904.html

The problem is that cygwin is now behaving like linux in that timed
reads from a pty/tty work correctly.  It is not behaving like linux in
that once you get an EOF on a read using stdio, you get EOF forever
after.

I've made a cygwin-specific correction to the newlib library to make
cygwin work more like linux.  I will generate a cygwin snapshot sometime
soon which should have a fix for this problem.  Keep an ey on:

http://cygwin.com/snapshots/

cgf

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

