NetBSD Problem Report #47527
From www@NetBSD.org Sun Feb 3 08:20:34 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 5918363D7B3
for <gnats-bugs@gnats.NetBSD.org>; Sun, 3 Feb 2013 08:20:34 +0000 (UTC)
Message-Id: <20130203082033.926A563D7B3@www.NetBSD.org>
Date: Sun, 3 Feb 2013 08:20:33 +0000 (UTC)
From: mayuresh@acm.org
Reply-To: mayuresh@acm.org
To: gnats-bugs@NetBSD.org
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
>Organization:
>Environment:
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
>Description:
time command is _sometimes_ seen producing garbage values in "user" and "sys" though it produces sane "real" time values at the same time.
E.g.
real 0m0.196s
user 20m43.820s
sys 4m36.405s
>How-To-Repeat:
The exact steps are not known, though with the procedure described in the following post, it can be produced with a good probability.
http://mail-index.netbsd.org/netbsd-users/2013/02/02/msg012393.html
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.
>Fix:
Not known.
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.