delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/18/13:50:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 18 Nov 2004 13:53:09 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: scp exits often with -1
Message-ID: <20041118185309.GA246157@Worldnet>
References: <20041118155449 DOT GG10795 AT trixie DOT casa DOT cgf DOT cx> <20041118172729 DOT D51B6E523 AT wildcard DOT curl DOT com>
Mime-Version: 1.0
In-Reply-To: <20041118172729.D51B6E523@wildcard.curl.com>
User-Agent: Mutt/1.4.1i

On Thu, Nov 18, 2004 at 12:27:29PM -0500, Bob Byrnes wrote:
> > If this is a problem with the new pipe code then maybe Bob Byrnes could
> > offer some insight.
> 
> Offhand, I can't think of any way that the new pipe stuff could cause
> this behavior, but I'll add this to my list of (potential) pipe-related
> things to investigate and think about.

From what I can see the failure is related to pipes:

   41  673146 [main] ssh 4392 cygwin_select: 7, 0x100EEBF8, 0x100EEB70, 0x0, 0x0
   65  673211 [main] ssh 4392 dtable::select_read:  fd 3
  662  673873 [main] ssh 4392 dtable::select_read:  fd 4
   33  673906 [main] ssh 4392 cygwin_select: to NULL, ms FFFFFFFF
   34  673940 [main] ssh 4392 cygwin_select: sel.always_ready 0
  307  674247 [main] ssh 4392 start_thread_socket: Handle 0x634
   33  674280 [main] ssh 4392 start_thread_socket: Added to readfds
   34  674314 [main] ssh 4392 start_thread_socket: exitsock 0x620
   33  674347 [main] ssh 4392 start_thread_socket: stuff_start 0x22EBE4
   98  674445 [main] ssh 4392 select_stuff::wait: m 3, ms 4294967295
   43  674488 [select_socket] ssh 4392 thread_socket: stuff_start 0x101196BC
   71  674559 [select_pipe] ssh 4392 peek_pipe: , PeekNamedPipe failed, Win32 error 109

109 is "The pipe has been ended". Isn't that strange when reading a pipe? 
Unfortunately fd 4 was opened in a part of the trace that we don't have.
Sending a url to the full trace is more useful (and less controversial)
than sending parts.

Pierre

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019