Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2006 23:07:01 -0700
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        freebsd-stable@freebsd.org
Subject:   Re: large system date skew on RELENG_6 changes causes select() failures
Message-ID:  <20060905060701.GG9421@funkthat.com>
In-Reply-To: <20060905045141.GA810@localhost.localdomain>
References:  <20060905045141.GA810@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
Stanislaw Halik wrote this message on Tue, Sep 05, 2006 at 06:51 +0200:
> Hello,
> 
> A while ago, by accident, I've changed the system date back to the '98
> using date(1). To my astonishment, screen(1) barfed about EINVAL in
> select() and died. Programs, including opera (native FreeBSD-6 binary)
> kept spinning the CPU until I killed them.
> 
> I have no means for debugging it.
> 
> Is this somehow expected? If not (i.e. it's a bug), is it known?

Probably, they calculated timeout's which magicly became negative, which
isn't a valid timeout, and none of the programs are programmed well enough
to handle the case and exhibited the behavior that you saw...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060905060701.GG9421>