From nobody@FreeBSD.org  Wed Oct 16 14:52:01 2002
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 6642D37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Oct 2002 14:52:01 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 22F7E43E75
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Oct 2002 14:52:01 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9GLpr7R062920
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Oct 2002 14:51:53 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9GLprWd062919;
	Wed, 16 Oct 2002 14:51:53 -0700 (PDT)
Message-Id: <200210162151.g9GLprWd062919@www.freebsd.org>
Date: Wed, 16 Oct 2002 14:51:53 -0700 (PDT)
From: Marty Combs <freebsd@martycombs.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: screen installed during FreeBSD install consumes 99% cpu when run
X-Send-Pr-Version: www-1.0

>Number:         44154
>Category:       misc
>Synopsis:       screen installed during FreeBSD install consumes 99% cpu when run
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          duplicate
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 16 15:00:02 PDT 2002
>Closed-Date:    Wed Oct 16 15:44:36 PDT 2002
>Last-Modified:  Wed Oct 16 15:44:36 PDT 2002
>Originator:     Marty Combs
>Release:        4.7
>Organization:
>Environment:
FreeBSD eon.longnow.org 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002    root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Screen was selected to be installed during a clean install of FreeBSD 4.7.  No mattter which user envokes screen, it quickly comsumes 99% of the cpu.  A top reveals:

last pid:  1657;  load averages:  1.00,  1.00,  1.00    up 1+02:02:09  14:29:00
30 processes:  2 running, 28 sleeping
CPU states: 14.4% user,  0.0% nice, 85.2% system,  0.4% interrupt,  0.0% idle
Mem: 9876K Active, 43M Inact, 21M Wired, 2696K Cache, 22M Buf, 44M Free
Swap: 512M Total, 512M Free

PID USERNAME     PRI NICE  SIZE    RES STATE    TIME   WCPU    CPUCOMMAND
247 marty         57   0  1780K  1324K RUN     23.6H 99.02% 99.02% screen
332 marty         28   0  1912K   992K RUN      1:07  0.00%  0.00% top

The same problem applies to a dual i386 FreeBSD 4.6 system I'm using.
>How-To-Repeat:
Choose to install screen during the initial install of FreeBSD 4.7 and envoke it.  It will reach 99% CPU usage within seconds.
>Fix:
Remove the 'screen' package.  Instead go to the ports tree after the install and do a 'make install' from there.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: fanf 
State-Changed-When: Wed Oct 16 15:42:42 PDT 2002 
State-Changed-Why:  
Duplicate of ports/39148 


Class-Changed-From-To: sw-bug->duplicate 
Class-Changed-By: fanf 
Class-Changed-When: Wed Oct 16 15:42:42 PDT 2002 
Class-Changed-Why:  
Duplicate of ports/39148 

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