Bug 118916 - scp dies with Lost Connection
Summary: scp dies with Lost Connection
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: openssh
Version: 2.1
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-22 19:06 UTC by Nate Golnik
Modified: 2007-11-30 22:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-12 15:50:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Strace from the Server side (172.06 KB, text/plain)
2004-03-22 19:09 UTC, Nate Golnik
no flags Details
client side strace of it dieing (17.99 KB, text/plain)
2004-03-22 19:10 UTC, Nate Golnik
no flags Details

Description Nate Golnik 2004-03-22 19:06:41 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116

Description of problem:
After the server has been running for a couple of weeks, scp from
local machine to remote server dies with Lost Connection.  There was
no network problems at that time.  Strace of the server end shows 

1590  rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
1590  close(6)                          = 0

Full Straces from client and server will be uploaded.  Once it gets
into this state restarting ssh doesn't fix it only a reboot seems to work.

Scp from remote server to client works with no problems.

Version-Release number of selected component (if applicable):
openssh-3.1p1-14

How reproducible:
Sometimes

Steps to Reproduce:
1.wait till ssh gets into broken state
2.scp file to server
3. get sigpipe and local host reports Lost Connection
    

Actual Results:  nate@localhost nate]$ scp abuse.log
nate.com:/tmp
nate.com's password:
abuse.log              5% |*                            |   392 KB   
01:34 ETAlost connection


Expected Results:  Completion of scp.

Additional info:

Comment 1 Nate Golnik 2004-03-22 19:09:03 UTC
Created attachment 98753 [details]
Strace from the Server side

This is the strace output from the server.

Comment 2 Nate Golnik 2004-03-22 19:10:29 UTC
Created attachment 98754 [details]
client side strace of it dieing

Comment 3 Tomas Mraz 2005-04-12 15:29:05 UTC
Does it still happen? If yes, does ssh-ing to the server fail?
Could you attach log produced with scp -vvv when it fails?


Comment 4 Nate Golnik 2005-04-12 15:42:29 UTC
This problem has gone away with one of the latest updates.

Comment 5 Tomas Mraz 2005-04-12 15:50:58 UTC
OK, thanks.



Note You need to log in before you can comment on or make changes to this bug.