Re: scp exits often with -1

2004-11-22 Thread Pierre A. Humblet
On Mon, Nov 22, 2004 at 11:29:02AM +0100, J?rg Schaible wrote: > Hi Bob and Pierre > > thanks for your analysis so far. > > As Pierre already stated, the trace just has this difference of > 120 vs. 64 read bytes in line 4538 and the following call for > the debug output. :( Do you have access

RE: scp exits often with -1

2004-11-22 Thread Jörg Schaible
Hi Bob and Pierre thanks for your analysis so far. Bob Byrnes wrote on Friday, November 19, 2004 5:49 PM: > I spent a little time looking at these straces and scp -v > output. I still don't understand what's going on, but it > seems to be unrelated to the recent pipe changes. I say that > becau

Re: scp exits often with -1

2004-11-19 Thread Pierre A. Humblet
On Fri, Nov 19, 2004 at 11:48:37AM -0500, Bob Byrnes wrote: > I spent a little time looking at these straces and scp -v output. > I still don't understand what's going on, but it seems to be unrelated to > the recent pipe changes. I say that because those changes only affected > select for writes

RE: scp exits often with -1

2004-11-19 Thread Bob Byrnes
I spent a little time looking at these straces and scp -v output. I still don't understand what's going on, but it seems to be unrelated to the recent pipe changes. I say that because those changes only affected select for writes on pipes, and the problem seems to be on the read side. It looks lik

RE: scp exits often with -1

2004-11-19 Thread Jörg Schaible
Hi Pierre, Pierre A. Humblet wrote on Friday, November 19, 2004 6:14 AM: > I had a second look at this. It's easy to correlate the trace > with the -v outputs you provided in > http://cygwin.com/ml/cygwin/2004-11/msg00637.html > The debug outputs correspond to lines such as "N = write (2, > xxx)",

Re: scp exits often with -1

2004-11-18 Thread Pierre A. Humblet
At 09:00 PM 11/18/2004 +0100, Jörg Schaible wrote: >Pierre A. Humblet wrote: >> >> 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. > >I'll have a look tomorrow in the office, where fd 4 came from

Re: scp exits often with -1

2004-11-18 Thread Jörg Schaible
Christopher Faylor wrote: > On Thu, Nov 18, 2004 at 09:00:38PM +0100, J?rg Schaible wrote: >>I'll have a look tomorrow in the office, where fd 4 came from (thought I >>posted all related stuff, but trace is hard). > > Which is why unsolicited traces are almost always useless. Point taken. - J

Re: scp exits often with -1

2004-11-18 Thread Christopher Faylor
On Thu, Nov 18, 2004 at 08:57:15PM +0100, J?rg Schaible wrote: >> If this is a problem with the new pipe code then maybe Bob Byrnes could >> offer some insight. > >As said, I'll take any further action to isolate it. Would you expect a >difference using the current snapshot? No. cgf -- Unsubscri

Re: scp exits often with -1

2004-11-18 Thread Christopher Faylor
On Thu, Nov 18, 2004 at 09:00:38PM +0100, J?rg Schaible wrote: >I'll have a look tomorrow in the office, where fd 4 came from (thought I >posted all related stuff, but trace is hard). Which is why unsolicited traces are almost always useless. cgf -- Unsubscribe info: http://cygwin.com/ml/#u

Re: scp exits often with -1

2004-11-18 Thread Jörg Schaible
Pierre A. Humblet wrote: > 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 t

Re: scp exits often with -1

2004-11-18 Thread Jörg Schaible
Christopher Faylor wrote: > On Thu, Nov 18, 2004 at 09:15:49AM +0100, J?rg Schaible wrote: [snip] >>Well, this *is* the list for reporting problems with Cygwin. Sorry, >>that I missed among all the other 450 mail per month, the one Chris >>stated, that he don't want straces sent to list without f

Re: scp exits often with -1

2004-11-18 Thread Pierre A. Humblet
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) pip

Re: scp exits often with -1

2004-11-18 Thread Bob Byrnes
> 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. We use scp with the

Re: scp exits often with -1

2004-11-18 Thread Christopher Faylor
On Thu, Nov 18, 2004 at 09:15:49AM +0100, J?rg Schaible wrote: >Dave Korn wrote on Wednesday, November 17, 2004 7:20 PM: >>So basically what you've done is say to yourself "I'll just send tons >>and tons of stuff (which I know will be of no use or interest to 99.9% >>of the recipients) to absolutel

RE: scp exits often with -1

2004-11-18 Thread Jörg Schaible
Dave Korn wrote on Wednesday, November 17, 2004 7:20 PM: [snip] > So basically what you've done is say to yourself "I'll just > send tons and tons of stuff (which I know will be of no use > or interest to 99.9% of the recipients) to absolutely > everyone in the hopes that it might be relevant t

RE: scp exits often with -1

2004-11-17 Thread Jörg Schaible
Reini Urban wrote on Wednesday, November 17, 2004 7:21 PM: > Hi Jörg :) > >> So, if you can't or won't help, I prefer no answer. > > Downgrading to cygwin-1.3.11 should help. Hmmm. My old cygwin.dll was not *that* old. 1.5.9 or so (unfortunately I deleted my download cache to be sure to gain t

Re: scp exits often with -1

2004-11-17 Thread Christopher Faylor
On Wed, Nov 17, 2004 at 07:20:56PM +0100, Reini Urban wrote: >or if you like living on the edge there's a new experimental "noparent" >branch for cygwin1.dll Sigh. Do not use this branch. It is not intended for anyone but me. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Pr

[OT] RE: scp exits often with -1

2004-11-17 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Jörg Schaible > Sent: 17 November 2004 17:41 > Dave Korn wrote on Wednesday, November 17, 2004 6:24 PM: > > *Mine* contained more useful info and was a fraction of the size. > > Well, nonetheless, none of your comments really help w

Re: scp exits often with -1

2004-11-17 Thread Reini Urban
Jörg Schaible schrieb: I know, that there were massive changes handling fork() and the pipes. So what shall I do, if a the problem now only manifests regularly if scp is called by Java calling a dos batch calling a shell script ? Using strace the problem is going to happen much more unlikely. So wh

RE: scp exits often with -1

2004-11-17 Thread Jörg Schaible
Dave Korn wrote on Wednesday, November 17, 2004 6:24 PM: > I beg to differ. > > My post contained the useful information that dumping a > couple of hundred Kb of unsolicited strace output on the list > is a pointless waste of time. > > Yours contained a couple of hundred Kb of unsolicited

RE: scp exits often with -1

2004-11-17 Thread Dave Korn
> -Original Message- > From: Jörg Schaible > Sent: 17 November 2004 17:22 > Dave Korn wrote on Wednesday, November 17, 2004 6:18 PM: > > >> -Original Message- > >> From: cygwin-owner On Behalf Of Jörg Schaible > >> Sent: 16 November 2004 17:39 > > > > Sure. How about 200k of

RE: scp exits often with -1

2004-11-17 Thread Jörg Schaible
Dave Korn wrote on Wednesday, November 17, 2004 6:18 PM: >> -Original Message- >> From: cygwin-owner On Behalf Of Jörg Schaible >> Sent: 16 November 2004 17:39 > > Sure. How about 200k of unintelligible gibberish? I'm > sure we'd all _love_ to see it. At least it contained more usefu

RE: scp exits often with -1

2004-11-17 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Jörg Schaible > Sent: 16 November 2004 17:39 > Hi folks, > > after upgrading to latest cygwin1.dll and openssh I have > massive problems with ssh/scp. Using e.g. the same scp > command it fails from time to time called from the comm

scp exits often with -1

2004-11-16 Thread Jörg Schaible
Hi folks, after upgrading to latest cygwin1.dll and openssh I have massive problems with ssh/scp. Using e.g. the same scp command it fails from time to time called from the command line. Unfortunately it fails more often when called from a shell script and quite every time when this shell scrip