From nobody@FreeBSD.org  Wed Aug  8 16:26:34 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 8CA5437B419
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Aug 2001 16:26:33 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f78NQX809324;
	Wed, 8 Aug 2001 16:26:33 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200108082326.f78NQX809324@freefall.freebsd.org>
Date: Wed, 8 Aug 2001 16:26:33 -0700 (PDT)
From: "Sung N. Cho" <sucho2@vt.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 4.4 Prerelease has a problem with ee, "Easy Editor"
X-Send-Pr-Version: www-1.0

>Number:         29553
>Category:       bin
>Synopsis:       FreeBSD 4.4 Prerelease has a problem with ee, "Easy Editor"
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 08 16:30:00 PDT 2001
>Closed-Date:    Sat Sep 1 09:50:45 PDT 2001
>Last-Modified:  Sat Sep 01 09:51:53 PDT 2001
>Originator:     Sung N. Cho
>Release:        FreeBSD 4.4-PRERELEASE
>Organization:
Dept. of Physics, Virginia Polytechnic Institute & State University
>Environment:
FreeBSD localhost.localdomain 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #1: Wed Aug 0 00:23:35 EDT 2001    sncho@localhost.localdomain:/usr/obj/usr/src/sys/CUSTOMKERNEL  i386
>Description:
FreeBSD 4.4 PRERELEASE has the serious problem with default editor, ee.  Easy Editor fails to terminate upon termination and CPU usage rises to 97%  burning up the system at serious temperature!  Running Easy Editor is a big risk in trashing one's computer, especially CPU's with not so good heat sinking.
>How-To-Repeat:
XFree86 Version I'm using = 4.1
Desktop = XFCE 3.8.6 with xft enabled
Terminal = gnome-terminal

To repeat the problem, do this:

step 1) Open two gnome-terminals. (I think any terminal will do.  But, not sure!)
step 2) With one of the gnome-terminal, run "top"

step 3) Now, using the other gnome-terminal, run "ee"

step 4) Now, terminate "ee" by closing the gnome-terminal directly, not by logging out of ee.  It is important that you terminate the gnome-terminal directly while ee running within the terminal to see the effect!

step 5) Now see the CPU usage display from TOP running on other gnome-terminal.  You'll note that ee is still running and it's CPU usage is rising out of control, heating up the system and making everything run slow!

>Fix:
The only way to stop this ee from heating up your CPU is to run gnome-terminal again, sign on as root and use kill -KILL "PID for ee" to kill the ee.  
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: murray 
State-Changed-When: Fri Aug 31 11:55:41 PDT 2001 
State-Changed-Why:  
This problem also exists on 5.0-CURRENT reproduced exactly as the 
originator describes above. 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29553 
State-Changed-From-To: analyzed->closed 
State-Changed-By: mp 
State-Changed-When: Sat Sep 1 09:50:45 PDT 2001 
State-Changed-Why:  
Fixed in -current and -stable. Thanks for the bug report. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29553 
>Unformatted:
