From owner-freebsd-bugs Tue Sep 17 22:20: 6 2002 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 10EA237B401 for ; Tue, 17 Sep 2002 22:20:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6842143E75 for ; Tue, 17 Sep 2002 22:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8I5K3Co022477 for ; Tue, 17 Sep 2002 22:20:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8I5K3CT022476; Tue, 17 Sep 2002 22:20:03 -0700 (PDT) Date: Tue, 17 Sep 2002 22:20:03 -0700 (PDT) Message-Id: <200209180520.g8I5K3CT022476@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Maxim Konovalov Subject: Re: kern/42875: gettimeofday super rarely returns an impossible tv_usec value Reply-To: Maxim Konovalov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/42875; it has been noted by GNATS. From: Maxim Konovalov To: Bruce Evans Cc: bug-followup@FreeBSD.org Subject: Re: kern/42875: gettimeofday super rarely returns an impossible tv_usec value Date: Wed, 18 Sep 2002 09:10:37 +0400 (MSD) [...] > On 17 Sep 2002, Karl Lehenbauer wrote: > > > >Release: FreeBSD 4.6-STABLE i386 > > > > >Description: > > Maybe one in thirty million times, gettimeofday will return > > an invalid tv_usec value (microseconds). It should ALWAYS > > be between 0 and 999999, but it is occasionally a very large > > negative number. > > Does this really happen in 4.6R? It should have been fixed between > 4.5R and 4.6R by: It happens on 4.6.2-RELEaSE at least. See "named crash" thread on -bugs for details: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=186250+0+current/freebsd-bugs > % RCS file: /home/ncvs/src/sys/kern/kern_clock.c,v > % Working file: kern_clock.c > % head: 1.141 > % ... > % ---------------------------- > % revision 1.105.2.7 > % date: 2002/02/05 18:50:07; author: phk; state: Exp; lines: +3 -3 > % MFC: make timecounters more rubust for large deltas from hardware. > % ---------------------------- RELENG_4_6_2_RELEASE has this code. There is another bug somewhere. -- Maxim Konovalov, maxim@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message