20060301 snapshot and later. sh hangs with very long command line
Peter Rehley
peter@rehley.net
Fri Mar 10 01:31:00 GMT 2006
Hi,
I was building binutils using the cygwin 20060308 snapshot, and when
it did the check for "finding the maximum length of command line" a
sh shell goes to 99% cpu usage and doesn't return until I end the
process using task manager.
I isolated the portion of the script that was hanging and was able to
repeat the problem. The script hangs when it checks for a command
line of length 16384. This happens every time I run the script, and
it is reproducible for me on at least windows 2000 and windows XP.
I've attached a test script.
The problem doesn't happen with the 20060227 snapshot, but appeared
in 20060301 and later versions. It is present in the 20060309 snapshot.
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 70245 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20060310/b0ff1a74/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: longcmd.sh
Type: application/octet-stream
Size: 808 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20060310/b0ff1a74/attachment-0001.obj>
-------------- next part --------------
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list