From wwwrun@speedy.netbeat.de  Thu Aug 16 19:00:14 2001
Return-Path: <wwwrun@speedy.netbeat.de>
Received: from speedy.netbeat.de (speedy.netbeat.de [212.6.214.36])
	by hub.freebsd.org (Postfix) with ESMTP id E93E837B40B
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Aug 2001 19:00:12 -0700 (PDT)
	(envelope-from wwwrun@speedy.netbeat.de)
Received: (from wwwrun@localhost)
	by speedy.netbeat.de (8.9.3/8.9.3) id EAA27548;
	Fri, 17 Aug 2001 04:00:01 +0200
Message-Id: <200108170200.EAA27548@speedy.netbeat.de>
Date: Fri, 17 Aug 2001 04:00:01 +0200
From: Oliver Lehmann <lehmann@ans-netz.de>
Reply-To: Oliver Lehmann <lehmann@ans-netz.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ee takes full cpu when killing shell without leaving ee before
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         29791
>Category:       bin
>Synopsis:       ee takes full cpu when killing shell without leaving ee before
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 16 19:10:00 PDT 2001
>Closed-Date:    Sat Sep 1 11:20:23 PDT 2001
>Last-Modified:  Sat Sep 01 11:24:11 PDT 2001
>Originator:     Oliver Lehmann
>Release:        FreeBSD 4.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD sina.sesamestreet.net 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #0: Sat Aug 11 04:09:45 CEST 2001 olivleh1@bert.sesamestreet.net:/usr/obj/usr/src/sys/SINA i386


	
>Description:
	/usr/bin/ee takes full cpu time when you kill the shell on which ee was started 

>How-To-Repeat:
	on shell 1:
	 ee some-file

	on shell 2:
	 kill -9 'pid-of-shell1'
	 top

	you will see the ee process from shell 1 going to the top of top ;)
>Fix:

	Don't know...
>Release-Note:
>Audit-Trail:

From: Mike Heffner <mheffner@novacoxmail.com>
To: Oliver Lehmann <lehmann@ans-netz.de>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: RE: bin/29791: ee takes full cpu when killing shell without leav
Date: Fri, 17 Aug 2001 00:09:11 -0400 (EDT)

 On 17-Aug-2001 Oliver Lehmann wrote:
 | 
 |       
 |>Description:
 |       /usr/bin/ee takes full cpu time when you kill the shell on which ee was
 | started 
 
 You might want to take this up with the EasyEditor author, Hugh F. Mahon
 <hmahon@uswest.net>. We can then update our source from the authors source.
 
 Mike
 
 -- 
   Mike Heffner         <mheffner@[acm.]vt.edu>
   Fredericksburg, VA       <mikeh@FreeBSD.org>
 

From: Oliver Lehmann <lehmann@ans-netz.de>
To: freebsd-gnats-submit@FreeBSD.org, lehmann@ans-netz.de
Cc:  
Subject: Re: bin/29791: ee takes full cpu when killing shell without leaving ee before
Date: Sat, 18 Aug 2001 16:08:41 +0200

 hugh has fixed the problem. the new source is available under
 
    http://mahon.cwx.net/temporary/ee-1.4.4.src.tgz
 
 
 
 --- mail start:
 
 
 Hello Oliver,
 
 	Thank you for letting me know about this.  I've added
 some code to check for the parent process going away.  Seems
 like things should be easier than this but I don't know off
 the top of my head.
 
 	I have put the version with changes to address the
 defect in:
 
 		http://mahon.cwx.net/temporary/ee-1.4.4.src.tgz
 
 	Please give this version a try and see if it solves
 the problem.  (I was able to reproduce the defect on Linux, but
 don't have a FreeBSD system set up with which to verify the fix.)
 
 	Once you let me know that this works I'll move it to the
 regular location for sources, and also make similar changes to
 aee.  (And if you tell me it doesn't work it'll be back to the
 drawing board :-( ).
 
 
 ---- mail end
 
 I've tested it on my system at it worked
 
 Greetings Olli
 
State-Changed-From-To: open->closed 
State-Changed-By: mp 
State-Changed-When: Sat Sep 1 11:20:23 PDT 2001 
State-Changed-Why:  
Dup of 29553 which is fixed in -current and -stable. It still might make 
sense to update to ee-1.4.4 but the committed fix was simple. 

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