* 1.3.15 - with long command line, command hangs + thrashes. nt4 (? bash/tcsh)
@ 2002-11-20 14:58 Willis, Matthew
0 siblings, 0 replies; only message in thread
From: Willis, Matthew @ 2002-11-20 14:58 UTC (permalink / raw)
To: 'cygwin@cygwin.com'
[-- Attachment #1: Type: text/plain, Size: 1879 bytes --]
A while ago I posted a weird bug; it's something I can work around but I
figured that I should write up a better description. I don't see this bug on
every machine I use, which makes it especially puzzling.
On NT4, I see the following: I find that once a command line exceeds a
certain number of characters, and I call an external program, things get
stuck. I don't observe the same thing on my w2k laptop.
For example:
$
LONGARG=11111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111
$ echo $LONGARG
works fine, which seems to use a built-in "echo" command, but
$ /usr/bin/echo $LONGARG
hangs. In the process viewer, it keeps using more and more memory.
Eventually the system falls down. If I shorten "LONGARG", it doesn't hang.
When I strace the hanging process all I get is
$ strace -p 378
Attached to pid 378 (windows pid 378)
13 13 [sig] bash 378! wait_sig: looping
I note the same situation in bash and tcsh.
<<cygcheck.out.bz2>>
[-- Attachment #2: cygcheck.out.bz2 --]
[-- Type: application/octet-stream, Size: 4491 bytes --]
[-- Attachment #3: Type: text/plain, Size: 214 bytes --]
--
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-20 20:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-20 14:58 1.3.15 - with long command line, command hangs + thrashes. nt4 (? bash/tcsh) Willis, Matthew
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).