Subject: bin/19009: ftp exits with "Interrupted system call" if you hit ^T during connect()
To: None <gnats-bugs@gnats.netbsd.org>
From: Chuck Cranor <chuck@xxx.research.att.com>
List: netbsd-bugs
Date: 11/10/2002 20:16:33
>Number:         19009
>Category:       bin
>Synopsis:       ftp exits with "Interrupted system call" if you hit ^T during connect()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 10 18:39:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Chuck Cranor
>Release:        NetBSD 1.6
>Organization:
AT&T
>Environment:
System: NetBSD xxx.research.att.com 1.6 NetBSD 1.6 (XXX) #0: Mon Sep 9 14:26:13 EDT 2002 chuck@xxx.research.att.com:/usr/netbsd/16/src/sys/arch/i386/compile/XXX i386
Architecture: i386
Machine: i386
>Description:

ftp exits with "Interrupted system call" if you hit ^T during connect()
system call.

>How-To-Repeat:

find a host that is down, attempt to ftp something from it, and 
hit ^T before connect(2) times out.   example below: host 
"vax.research.att.com" is down.


xxxcdc> ping -c 5 -q vax.research.att.com
PING vax.research.att.com (135.207.27.236): 56 data bytes

----vax.research.att.com PING Statistics----
5 packets transmitted, 0 packets received, 100.0% packet loss
xxxcdc> ftp http://vax.research.att.com/foo
load: 0.13  cmd: ftp 19157 [netcon] 0.00u 0.00s 0% 888k
ftp: Connect to address `135.207.27.236': Interrupted system call
ftp: Can't connect to vax.research.att.com: Interrupted system call
xxxcdc> 


>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: