[PATCH] cygwin+bash: bash reorders script output bug identified/fixed
Nils
internationils@gmx.net
Wed Aug 7 00:56:00 GMT 2002
Manfred Spraul wrote:
> Nils wrote:
>> This may have been what I was running into as well. See
>> http://cygwin.com/ml/cygwin/2002-07/msg01894.html
>>
>> When doing the same compiles with in a window with tcsh running (even
>> if bash gets invoked later on) the process numbers seem to increase
>> much more slowly. If you do a large compile using bash as your shell,
>> do you see process numbers creeping upward (in task manager) gradually
>> as well?
>
> That sounds like either windows or cygwin is leaking handles. Get
> handleex from sysinternals (google finds it) and check if there is an
> unusal amount of open handles around, and which process owns them.
Doesn't look like it. The number of handles never really changes in any
of the processes, but I do see that the threads that rxvt is spawning
off keep getting higher IDs. I invoke the rxvt as follows:
C:\cygwin\bin\rxvt.exe -ls -fn "Lucida Console-14" -fg green -bg black
-sr -sl 2400
My shell is set to /bin/bash in /etc/passwd (strangely: when I change it
to /bin/tcsh or /bin/csh $SHELL says I'm using that shell but rxvt still
starts up in bash, and that's what I see in the process list!)
I'll attach the list of open handles for bash and rxvt when i first
start them, and then another copy of rxvt after running a ./configure
The handles for bash never changed, but the pids listed in the thread
handles for rxvt do. What does this mean?
Please let me know what other info is helpful.
Thanks,
Nils.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bash.exe.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020807/6e42247a/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rxvt.exe.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020807/6e42247a/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rxvt.exe-after.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020807/6e42247a/attachment-0002.txt>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list