bash often consume a cpu.

Chris Faylor
Thu Feb 24 12:14:00 GMT 2000

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:

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.


More information about the Cygwin-developers mailing list