Date: Tue, 17 Sep 2002 22:20:03 -0700 (PDT) From: Maxim Konovalov <maxim@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/42875: gettimeofday super rarely returns an impossible tv_usec value Message-ID: <200209180520.g8I5K3CT022476@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/42875; it has been noted by GNATS. From: Maxim Konovalov <maxim@FreeBSD.org> To: Bruce Evans <bde@zeta.org.au> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209180520.g8I5K3CT022476>