Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Wed, 17 Nov 2004 12:17:19 -0500 From: Christopher Faylor To: cygwin-xfree AT cygwin DOT com, cygwin AT cygwin DOT com Subject: Re: new cygwin has memory problems? Message-ID: <20041117171719.GA3272@trixie.casa.cgf.cx> Reply-To: cygwin-xfree AT cygwin DOT com Mail-Followup-To: cygwin-xfree AT cygwin DOT com, cygwin AT cygwin DOT com References: <20041112162605 DOT GA3620 AT ingber DOT 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/