delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/10/09:38:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Wed, 10 May 2000 10:40:46 -0400
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: bash never ends consuming 99% of CPU
Message-ID: <20000510104046.B795@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com, cygwin AT sourceware DOT cygnus DOT com
References: <OFDACF2A9E DOT ACCEB76F-ON002568DB DOT 0039AF45 AT srv DOT uk DOT deuba DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.1.12i
In-Reply-To: <OFDACF2A9E.ACCEB76F-ON002568DB.0039AF45@srv.uk.deuba.com>; from jorg.schaible@db.com on Wed, May 10, 2000 at 10:47:30AM +0000

On Wed, May 10, 2000 at 10:47:30AM +0000, jorg DOT schaible AT db DOT com wrote:
>unfortunately I had yesterday this weird error that calling the
>function below (defined in my .bashrc) left a dangling bash process in
>memory consuming 99% of my CPU time (in fact, gvim was never called
>either).  After some experiments I found the "error" that caused this
>weird behaviour: My .bashrc had CRLF format.  After changing format to
>normal UNIX-style line endings, the problem vanished.
>
>Unfortunately everyone upgrading from B20.1 to V1.1 may have this
>"experience", since the old Cygwin version mounted the root as text
>while the new will mount it binary.  This problem should be mensioned
>explicitly somewhere in the README.TXT avoiding unnecessary trouble
>after the upgrade.

I have no problems modifying documentation, but I do like to understand
the reasons for doing it.  I don't understand why changing \r\n line
endings to \n line endings causes bash to not consume 98% of your CPU.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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