Hi Corinna,

Am 14.02.2025 um 20:03 schrieb Corinna Vinschen via Cygwin-announce:
we're planning the next major release in the next few (hopefully
not more than two) weeks.

We're looking forward to more people giving the latest test release
of Cygwin a try!

The most recent test release, which you can easily install from Cygwin
Setup, is cygwin-3.6.0-0.374.g4dd859d01c22.  Of course, as time goes by,
there may be more 3.6.0 test release prior to the official release.

If you're unsure how to install a test release, please have a look
at https://cygwin.com/faq.html#faq.setup.testrels

At this point, we're most interested if the test release introduces
regressions compared to 3.5.7!

There's a whole bunch of new features and a few behavioral changes
compared to 3.5, but it's not so much testing the new functionality
we're after, but to test if everything still runs as in 3.5.7 or
even... better!

If you see a change in the test release which breaks something for
you running fine in 3.5.7, please send a mail, ideally with a short
and simple testcase, to the cygwin@cygwin.com mailing list.

I'm facing a strange major issue with scp. The issue exists in all cygwin 
version later than 3.5.3,
including cygwin-3.6.0-0.374.g4dd859d01c22.

If I'm copying a large file with scp I get a "connection lost" after a random 
couple of seconds:

scp -v large_file foobar:
.
.
debug1: Sending subsystem: sftp
debug1: pledge: fork
large_file                                             10%   71MB   4.3MB/s   
02:21 ETA
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype e...@openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 92266460, received 35436 bytes, in 15.3 seconds
Bytes per second: sent 6035219.0, received 2317.9
debug1: Exit status 11
lost connection

This is reproducable.


The strange thing, if I use strace to debug this, the cpoy succeeds:
strace -efno strace.log scp -v large_file foobar:
.
.
debug1: Sending subsystem: sftp
debug1: pledge: fork
large_file                                                                      
                                                                                
                                  100%  678MB   6.0MB/s   01:53
scp: debug1: truncating at 711258712
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 711773996, received 254484 bytes, in 114.1 seconds
Bytes per second: sent 6237052.6, received 2230.0
debug1: Exit status 0

And this is reproducable too.

I would try to debug this further, if I had an idea how to do that.

Any thoughts?

Regards

Rainer


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to