From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 7 07:20:15 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 143C337B404 for ; Mon, 7 Apr 2003 07:20:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 172BE43FAF for ; Mon, 7 Apr 2003 07:20:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h37EKDUp061990 for ; Mon, 7 Apr 2003 07:20:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h37EKDRu061987; Mon, 7 Apr 2003 07:20:13 -0700 (PDT) Resent-Date: Mon, 7 Apr 2003 07:20:13 -0700 (PDT) Resent-Message-Id: <200304071420.h37EKDRu061987@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tim Robbins Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C3E937B401 for ; Mon, 7 Apr 2003 07:14:20 -0700 (PDT) Received: from smtp02.syd.iprimus.net.au (smtp02.syd.iprimus.net.au [210.50.76.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 953C243F75 for ; Mon, 7 Apr 2003 07:14:19 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (210.50.44.252) by smtp02.syd.iprimus.net.au (7.0.012) id 3E8A16000013695F for FreeBSD-gnats-submit@freebsd.org; Tue, 8 Apr 2003 00:14:18 +1000 Received: by dilbert.robbins.dropbear.id.au (Postfix, from userid 1000) id 3A994C90D; Tue, 8 Apr 2003 00:14:22 +1000 (EST) Message-Id: <20030407141422.3A994C90D@dilbert.robbins.dropbear.id.au> Date: Tue, 8 Apr 2003 00:14:22 +1000 (EST) From: Tim Robbins To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/50679: vi invoked from chpass and vipw exits on ^C X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tim Robbins List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 14:20:15 -0000 >Number: 50679 >Category: bin >Synopsis: vi invoked from chpass and vipw exits on ^C >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 07 07:20:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Tim Robbins >Release: FreeBSD 5.0-CURRENT, 8 April 2003 >Organization: The FreeBSD Project >Environment: System: FreeBSD 5.0-CURRENT, 8 April 2003 Problem also occurs on a system from March 30 ie. before Jeff's thread signal mask code was committed. >Description: If you run chpass or vipw and press ^C in vi, vi exits immediately and says: Error: input: Input/output error instead of writing Interrupted and continuing. This is a regression over 4.x (specifically 4.8). It may be necessary to press ^C more than once to trigger the bug sometimes (esp. for vipw). >How-To-Repeat: See above. >Fix: Not known. Suspect signal handling bug in libutil. Needing to press ^C twice to get vipw's vi invocation to die makes me think of SA_RESETHAND. >Release-Note: >Audit-Trail: >Unformatted: