From owner-freebsd-bugs@FreeBSD.ORG Fri May 30 19:30:14 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C0CD37B401 for ; Fri, 30 May 2003 19:30:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98FE143F93 for ; Fri, 30 May 2003 19:30:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4V2UDUp007621 for ; Fri, 30 May 2003 19:30:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4V2UDem007620; Fri, 30 May 2003 19:30:13 -0700 (PDT) Resent-Date: Fri, 30 May 2003 19:30:13 -0700 (PDT) Resent-Message-Id: <200305310230.h4V2UDem007620@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tim Robbins Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9D2937B401 for ; Fri, 30 May 2003 19:23:31 -0700 (PDT) Received: from smtp02.syd.iprimus.net.au (smtp02.syd.iprimus.net.au [210.50.76.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6060343F75 for ; Fri, 30 May 2003 19:23:31 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (210.50.216.119) by smtp02.syd.iprimus.net.au (7.0.015) id 3ECBEA340017FF25 for FreeBSD-gnats-submit@freebsd.org; Sat, 31 May 2003 12:23:29 +1000 Received: by dilbert.robbins.dropbear.id.au (Postfix, from userid 1000) id 043B2C90F; Sat, 31 May 2003 12:22:52 +1000 (EST) Message-Id: <20030531022252.043B2C90F@dilbert.robbins.dropbear.id.au> Date: Sat, 31 May 2003 12:22:52 +1000 (EST) From: Tim Robbins To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/52817: top(1) shows garbage for threaded processes X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tim Robbins List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2003 02:30:14 -0000 >Number: 52817 >Category: kern >Synopsis: top(1) shows garbage for threaded processes >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 30 19:30:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Tim Robbins >Release: FreeBSD 5.1-BETA >Organization: The FreeBSD Project >Environment: System: FreeBSD 5.1-BETA >Description: fill_kinfo_proc() leaves a lot of the ``struct kinfo_proc'' members uninitialised for threaded processes. >How-To-Repeat: Run a threaded process (anything linked with libkse or perhaps libthr). Look at it in 'top'. >Fix: Handle the P_THREADED case properly in fill_kinfo_proc(). >Release-Note: >Audit-Trail: >Unformatted: