[Bug 1382] New: scp/sftp sometimes hangs as a ControlMaster slave
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Wed Oct 24 07:44:02 EST 2007
https://bugzilla.mindrot.org/show_bug.cgi?id=1382
Summary: scp/sftp sometimes hangs as a ControlMaster slave
Classification: Unclassified
Product: Portable OpenSSH
Version: 4.7p1
Platform: ix86
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: scp
AssignedTo: bitbucket at mindrot.org
ReportedBy: mzwcp6002 at sneakemail.com
This can be reproduced with the attached Perl script, which sets up a
ControlMaster master and repeatedly copies the file 'foo' from some
remote location. On MacOS X (Intel), it hangs at some number of
iterations, sometimes 20ish, 40ish, 150, etc. The script only tests
scp, but I remember having similar issues with sftp before.
Some extra background on this bug: the version control system darcs
uses the ControlMaster feature because operations like committing
patches or retrieving them from a remote repository requires several
invocations of ssh, scp and sftp, not necessarily in that order. We
were pretty happy with the ControlMaster feature until one day, MacOS X
users on the Intel machines started reporting that darcs would
mysteriously hang in the middle of some operation using a remote
repository. I have also heard one report that darcs with ControlMaster
enabled also sometimes hangs on Linux, but have not been able to
confirm it.
I've been stumped on this one for ages until a user suggested we try
reproducing it outside of darcs, hence the attached Perl script.
Thanks!
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list