X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 22 Nov 2011 19:46:41 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: 1.7.9-1 Exec SSH hangs on windows 7 and 2008 server Message-ID: <20111122184641.GY21190@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Nov 17 12:23, Pierre-Yves Lafonta wrote: > Hello, > > I use cygwin sshd daemon 5.9p1-1 to send them ssh exec command. > Here my problem: > > nb=106496; rm testfile; for i in ` seq 1 $nb` ; do echo 1 >>testfile;done > ssh user AT host cat < testfile > outputfile > > Work as expected on different cygwin plateforme (see the > cygcheck.winxp, cygcheck.seven, cygcheck.w2008 attached) > > But, with one caracter more in the testfile, it stop working on seven and 2008. > The exec command hang; have to Ctrl+Z. > > nb=106497; rm testfile; for i in ` seq 1 $nb` ; do echo 1 >>testfile;done > ssh user AT host cat < testfile > outputfile > > On host machine, cat process still alive. > it's 100% reproductible. Verbose log just show that process dont > receive sigchld signal... > > AnyOne Understand what exactly happen ? > Is it a bug or a normal behaviour? > And is there a workaround or a way i have to rewrite my exec command ? Thanks for the report. It's a bug and there's no workaround, other than "don't do that". We're looking into a fix for the next Cygwin release. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple