This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: bash never ends consuming 99% of CPU






Hi Chris,

your question is the same like mine :)

Unfortunately, the problem resists. Now the gvim starts, but there is still a dangling bash with 99% CPU usage :(
The gvim in /usr/local/bin is a symbolic link to c:\\Programme\\vim\\vim56\\gvim.exe. But as I stated, from the plain command line, there is no problem with this link.

I also already tried to build the bash, but the configure stops complaining my compiler could not build executables (un'tar'ed the bash.tar.gz into root, where / is c:\\cygnus\\cygwinv1.1).

Regards,
Jörg


---------------------------------------- Message History ----------------------------------------


From: cgf@cygnus.com on 10/05/2000 14:40

Please respond to cygwin@sourceware.cygnus.com

To:   cygwin@sourceware.cygnus.com
cc:
Subject:  Re: bash never ends consuming 99% of CPU



On Wed, May 10, 2000 at 10:47:30AM +0000, jorg.schaible@db.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@sourceware.cygnus.com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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