From nobody@FreeBSD.org  Tue Jan 22 18:59:05 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B85B316A498
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 22 Jan 2008 18:59:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id AC63213C469
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 22 Jan 2008 18:59:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0MIvXmP046494
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 22 Jan 2008 18:57:33 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0MIvXZZ046493;
	Tue, 22 Jan 2008 18:57:33 GMT
	(envelope-from nobody)
Message-Id: <200801221857.m0MIvXZZ046493@www.freebsd.org>
Date: Tue, 22 Jan 2008 18:57:33 GMT
From: Andrey Gavrilin <gaal.nix.rulez@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Fast increase in loading of the processor. Almost 100% for some seconds.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         119903
>Category:       bin
>Synopsis:       [ncurses] Fast increase in loading of the processor. Almost 100% for some seconds.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 22 19:00:03 UTC 2008
>Closed-Date:    Fri Jul 29 08:21:19 UTC 2011
>Last-Modified:  Fri Jul 29 08:21:19 UTC 2011
>Originator:     Andrey Gavrilin
>Release:        FreeBSD 6.3
>Organization:
>Environment:
FreeBSD bsdhost 6.3-RC2 FreeBSD 6.3-RC2 #30: Sun Jan  6 01:30:27 UTC 2008     root@tinderbox.3c-consulting.lokal:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Fast increase in loading of the processor. Almost 100% for some seconds.
>How-To-Repeat:
KDE. I start Konsole. I enter su. Then ee resolv.conf - it was necessary
to specify dns addresses of servers. I close Konsole. All starts to slow.
I open Konsole. I enter top. In memory there was a program ee and loading
of the processor almost 100. It is literally for some seconds.

I used the program the translator. Badly I know English. I Russian.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Wed May 14 20:30:56 UTC 2008 
Responsible-Changed-Why:  

reclassify, belongs to the world 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119903 

From: Bruce Cran <bruce@cran.org.uk>
To: bug-followup@FreeBSD.org, gaal.nix.rulez@gmail.com
Cc:  
Subject: Re: bin/119903: Fast increase in loading of the processor. Almost
 100% for some seconds.
Date: Wed, 14 May 2008 22:02:23 +0100

 This seems to be a general problem with full-screen ncurses applications 
 - I've seen it with ee, sysinstall, sade and tzsetup. When the 
 controlling terminal is detached, the application starts using 100% CPU 
 until the application is killed.
 
 One of the backtraces I obtained from ee was:
 
 #0  0x0000000800878dac in sigaction () from /lib/libc.so.7
 #1  0x000000080066f282 in _nc_signal_handler () from /lib/libncurses.so.7
 #2  0x000000080066edc2 in doupdate () from /lib/libncurses.so.7
 #3  0x0000000000402552 in main (argc=2, argv=0x7fffffffebb8) at ee.c:622
 
 Without debugging information in libncurses I can't tell if there's 
 anything significant about it though.
 
 -- 
 Bruce Cran

From: Bruce Cran <bruce@cran.org.uk>
To: bug-followup@FreeBSD.org, gaal.nix.rulez@gmail.com
Cc:  
Subject: Re: bin/119903: [ncurses] Fast increase in loading of the
 processor. Almost 100% for some seconds.
Date: Fri, 10 Oct 2008 03:11:26 +0100

 This has been fixed in version 1.4.4 from http://mahon.cwx.net/
 The version in src/usr.bin/ee is 1.4.1.  From the Changes file:
 
 - added code to check if the parent process has died, and if so exit
 gracefully
 
 -- 
 Bruce Cran
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Fri Jul 29 08:20:44 UTC 2011 
State-Changed-Why:  
Bruce reports that the bug was fixed in ee 1.4.4. 

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