[Bug 1761] New: sftp exits on 2nd terminal resize after a transfer
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Mon Apr 26 00:58:17 EST 2010
https://bugzilla.mindrot.org/show_bug.cgi?id=1761
Summary: sftp exits on 2nd terminal resize after a transfer
Product: Portable OpenSSH
Version: 5.5p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sftp
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: ejsheldrake at googlemail.com
Created attachment 1844
--> https://bugzilla.mindrot.org/attachment.cgi?id=1844
remove progress meter signal handlers in stop_progress_meter
sftp, when built with libedit (editline) support enabled, may exit
unexpectedly if you resize the terminal window after a transfer.
This is with libedit 20100424-3.0 (which fixed the resize problem in
libedit 20090923), but this appears to be a separate bug in sftp.
sftp handles any number of terminal resizes before a transfer, but
after a file transfer, it exits after 2 consecutive terminal resizes.
I think the problem may due to signal handlers (one for SIGWINCH, the
terminal resize signal) being set up in the progress meter code, but
these don't seem to be removed on disposing of the progress meter.
Well, at least the patch appears to fix the problem for me.
--
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