From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 24 03:50:01 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C107410 for ; Wed, 24 Oct 2012 03:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 064218FC0A for ; Wed, 24 Oct 2012 03:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9O3o0Av066132 for ; Wed, 24 Oct 2012 03:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9O3o0Du066131; Wed, 24 Oct 2012 03:50:00 GMT (envelope-from gnats) Resent-Date: Wed, 24 Oct 2012 03:50:00 GMT Resent-Message-Id: <201210240350.q9O3o0Du066131@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, Jeremy Chadwick Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F6773F1 for ; Wed, 24 Oct 2012 03:45:55 +0000 (UTC) (envelope-from jdc@koitsu.strangled.net) Received: from qmta14.emeryville.ca.mail.comcast.net (qmta14.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:44:76:96:27:212]) by mx1.freebsd.org (Postfix) with ESMTP id 232DE8FC0A for ; Wed, 24 Oct 2012 03:45:55 +0000 (UTC) Received: from omta13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by qmta14.emeryville.ca.mail.comcast.net with comcast id ErkC1k00217UAYkAErluQb; Wed, 24 Oct 2012 03:45:54 +0000 Received: from koitsu.strangled.net ([67.180.84.87]) by omta13.emeryville.ca.mail.comcast.net with comcast id Erlt1k00Y1t3BNj8ZrludA; Wed, 24 Oct 2012 03:45:54 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id E5D8473A1A; Tue, 23 Oct 2012 20:45:53 -0700 (PDT) Message-Id: <20121024034553.E5D8473A1A@icarus.home.lan> Date: Tue, 23 Oct 2012 20:45:53 -0700 (PDT) From: Jeremy Chadwick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/173010: Backgrounded processes remain in ttyin state / SIGCONT does not remove sleeping processes from sleep queue X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jeremy Chadwick List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 03:50:01 -0000 >Number: 173010 >Category: kern >Synopsis: Backgrounded processes remain in ttyin state / SIGCONT does not remove sleeping processes from sleep queue >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 24 03:50:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 9.1-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD icarus.home.lan 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Sun Oct 21 05:24:09 PDT 2012 root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_9_amd64 amd64 >Description: The following bug/quirk in the tty layer has been discovered. This issue affects processes which require tty input but are backgrounded. This issue has been discussed with kib@ and ed@ on freebsd-stable who confirmed the issue. Full details are in the thread titled "pty/tty or signal strangeness, or grep/bsdgrep bug?" here: http://lists.freebsd.org/pipermail/freebsd-stable/2012-October/thread.html#70204 This affects any process that requires tty input; it's not specific grep/bsdgrep. >How-To-Repeat: Step-by-step instructions are available: http://lists.freebsd.org/pipermail/freebsd-stable/2012-October/070204.html >Fix: kib@ did provide a patch but mentioned it would be best to wait for what ed@ proposes. >Release-Note: >Audit-Trail: >Unformatted: