NetBSD Problem Report #47527

From  Sun Feb  3 08:20:34 2013
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 5918363D7B3
	for <>; Sun,  3 Feb 2013 08:20:34 +0000 (UTC)
Message-Id: <>
Date: Sun,  3 Feb 2013 08:20:33 +0000 (UTC)
Subject: time command sometimes shows garbage in "user" and "sys"
X-Send-Pr-Version: www-1.0

>Number:         47527
>Category:       bin
>Synopsis:       time command sometimes shows garbage in "user" and "sys"
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 03 08:25:00 +0000 2013
>Originator:     Mayuresh
>Release:        6.0
NetBSD laptop 6.0 NetBSD 6.0 (MYKERNEL) #0: Mon Dec 31 19:45:50 IST 2012  root@laptop:/usr/src/sys/arch/i386/compile/MYKERNEL i386
time command is _sometimes_ seen producing garbage values in "user" and "sys" though it produces sane "real" time values at the same time.


real    0m0.196s
user    20m43.820s
sys     4m36.405s

The exact steps are not  known, though with the procedure described in the following post, it can be produced with a good probability.

It is also observed that the problem is easily reproducible on a job that runs a certain version of Java shown below. Attempt to reproduce it using a workload written in shell or C or some other version of Java have not succeeded.

#java -version
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b04)
Java HotSpot(TM) Server VM (build 20.8-b03, mixed mode)

It may have something to do with a specific Java version, though time command is not expected to be sensitive to it and this behavior may still qualify as a bug.

Not known.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.