This is the mail archive of the cygwin-developers@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 often consume a cpu.


On Fri, Feb 25, 2000 at 03:19:38AM +0900, Kazuhiro Fujieda wrote:
>In the latest snapshot (02/23), bash often consume 100% of one
>cpu. I investigated a strace log, and I found the the following
>entries are furiously repeated in it.
>
>  223 8634753 [main] bash 1002 _read: read (0, 0x246F5BF, 1)
>  228 8634981 [main] bash 1002 _read: non-interruptible read
>  257 8636085 [main] bash 1002 set_sig_errno: errno 4
>  238 8636323 [main] bash 1002 read_handler: -1 = read (0</dev/conin>, 0x246F5BF, 1)
>
>You can get the whole of the log at the following URL:
>http://www.jaist.ac.jp/~fujieda/cygwin/bash.log.gz

Thanks for the bug report and the strace log.  I managed to duplicate
this problem but only when I ran bash with strace for some reason.

I've checked in a fix that seems to solve the problem, for me, at least.

If you can access this via CVS then you should be able to rebuild it
now.  Otherwise, tonight's snapshot will have the fix.

-chris

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