From nobody@FreeBSD.org  Mon Mar 20 19:44:50 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 750B316A400
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Mar 2006 19:44:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4AF1743D48
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Mar 2006 19:44:50 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2KJiokR035917
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Mar 2006 19:44:50 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k2KJioJw035916;
	Mon, 20 Mar 2006 19:44:50 GMT
	(envelope-from nobody)
Message-Id: <200603201944.k2KJioJw035916@www.freebsd.org>
Date: Mon, 20 Mar 2006 19:44:50 GMT
From: "J. Hunt" <mrcomputerwiz@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: watch utility faults when tty disconnects
X-Send-Pr-Version: www-2.3

>Number:         94750
>Category:       bin
>Synopsis:       watch(8) utility faults when tty disconnects
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 20 19:50:18 GMT 2006
>Closed-Date:    Wed Jul 14 12:46:18 UTC 2010
>Last-Modified:  Wed Jul 14 12:46:18 UTC 2010
>Originator:     J. Hunt
>Release:        FreeBSD 6.0-RELEASE
>Organization:
>Environment:
FreeBSD .diconconnections.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005      root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
When using the "watch" utility with options "-co" all works fine until the tty session disconnects.  "watch" then proceeds to use 100% of the processor.  If the tty reconnects, "watch" crashes and terminates.  This is not true in FreeBSD 5.4.
>How-To-Repeat:
Use a fresh install of 6.0-RELEASE.  SSH to localhost and connect to a tty, for example, /dev/ttyp0.  From the console (or any other terminal) type "watch -co /dev/ttyp0".  After confirming that watch works, disconnect the ssh session and verify with another tty (perhaps /dev/ttyv1 or any other terminal that is observing and is not ttyp0) that watch begins to use 100% of the CPU (top shows this).  Upon reconnect to the watched tty (in this example /dev/ttyp0), watch will crash.
>Fix:

>Release-Note:
>Audit-Trail:

From: Bruce M Simpson <bms@incunabulum.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/94750: watch(1) utility faults when tty disconnects
Date: Mon, 25 Sep 2006 19:54:14 +0100

 I can't reproduce this on my 6.1-RELEASE machines.

From: "Devon H. O'Dell" <devon.odell@gmail.com>
To: bug-followup@FreeBSD.org, mrcomputerwiz@hotmail.com
Cc:  
Subject: Re: bin/94750: watch(1) utility faults when tty disconnects
Date: Fri, 3 Nov 2006 20:01:29 -0500

 I cannot reproduce this in 6.1-RELEASE nor in 6-STABLE.
State-Changed-From-To: open->feedback 
State-Changed-By: jilles 
State-Changed-When: Sun Apr 25 21:38:28 UTC 2010 
State-Changed-Why:  
Can you reproduce this on a more recent version?  (I could not reproduce 
this on 8.0-STABLE.) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94750 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Wed Jul 14 12:46:18 UTC 2010 
State-Changed-Why:  
Feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94750 
>Unformatted:
