NetBSD Problem Report #53589

From martin@duskware.de  Tue Sep 11 08:03:29 2018
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 49F267A1B3
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 11 Sep 2018 08:03:29 +0000 (UTC)
Message-Id: <20180911080320.97C6C5CC906@emmas.aprisoft.de>
Date: Tue, 11 Sep 2018 10:03:20 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@netBSD.org
To: gnats-bugs@NetBSD.org
Subject: ftp fails to abort (related to socket error handling changes?)
X-Send-Pr-Version: 3.95

>Number:         53589
>Category:       bin
>Synopsis:       ftp fails to abort (related to socket error handling changes?)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 11 08:05:00 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.25
>Organization:
The NetBSD Foundation, Inc.
>Environment:

System: NetBSD night-owl.duskware.de 8.99.25 NetBSD 8.99.25 (NIGHT-OWL) #622: Tue Sep 11 09:37:35 CEST 2018 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

During sysinst testing I started a ftp download of pkgsrc and interrupted
it with ^C - but this locked up the ftp process:

250-
    Please read the file README
      it was last modified on Tue Nov 18 09:53:20 2008 - 3581 days ago
250 CWD command successful.
250 CWD command successful.
local: pkgsrc.tgz remote: pkgsrc.tgz
229 Entering Extended Passive Mode (|||54936|)
150 Opening BINARY mode data connection for 'pkgsrc.tgz' (60435000 bytes).
  0% |                                   |   340 KiB  169.63 KiB/s    05:45 ETA
receive aborted. Waiting for remote to finish abort.
ftp: Can't send abort message: No buffer space available

The ftp process stuck around like this:

7245 pts/5  Ss+  0:00.29 /usr/bin/ftp -a ftp://ftp.NetBSD.org/pub/pkgsrc/stable/pkgsrc.tgz 

untill I hit another ^C.

>How-To-Repeat:
s/a

>Fix:
n/a

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.