From owner-freebsd-bugs@FreeBSD.ORG Tue Jun 22 05:58:49 2004 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 C66E616A4CE; Tue, 22 Jun 2004 05:58:49 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDE9E43D1F; Tue, 22 Jun 2004 05:58:49 +0000 (GMT) (envelope-from bde@FreeBSD.org) Received: from freefall.freebsd.org (bde@localhost [127.0.0.1]) i5M5wmuY055309; Tue, 22 Jun 2004 05:58:48 GMT (envelope-from bde@freefall.freebsd.org) Received: (from bde@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5M5wmkc055305; Tue, 22 Jun 2004 05:58:48 GMT (envelope-from bde) Date: Tue, 22 Jun 2004 05:58:48 GMT From: Bruce Evans Message-Id: <200406220558.i5M5wmkc055305@freefall.freebsd.org> To: jilles@stack.nl, bde@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/52490: ^T'ing a zombie causes 'calcru: negative time' messages X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 05:58:49 -0000 Synopsis: ^T'ing a zombie causes 'calcru: negative time' messages State-Changed-From-To: open->closed State-Changed-By: bde State-Changed-When: Tue Jun 22 05:56:54 GMT 2004 State-Changed-Why: Fixed in a different way in rev.1.237 of kern_exit.c in -current. ^T on zombies now gives correct results in -current. Worked around in a different way in 1.55.2.7 of kern_resource.c in RELENG_4. ^T on zombies now gives slightly out of date results in RELENG_4. The test program in the PR was very useful for investigating the bug. ps and friends aren't affected by the main bug, but they display completely wrong times for zombies (always 0). Resource usage is the main thing that is not discarded when a process exits, so it should be visible for zombies too. http://www.freebsd.org/cgi/query-pr.cgi?pr=52490