Date: Sat, 31 May 2003 12:22:52 +1000 (EST) From: Tim Robbins <tim@robbins.dropbear.id.au> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/52817: top(1) shows garbage for threaded processes Message-ID: <20030531022252.043B2C90F@dilbert.robbins.dropbear.id.au> Resent-Message-ID: <200305310230.h4V2UDem007620@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030531022252.043B2C90F>