From owner-freebsd-stable@FreeBSD.ORG Tue Sep 5 06:07:02 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F27F716A4EB for ; Tue, 5 Sep 2006 06:07:02 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97C0F43D46 for ; Tue, 5 Sep 2006 06:07:02 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (11oiz0s92mlim8bk@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k85672mO033580 for ; Mon, 4 Sep 2006 23:07:02 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k85671b4033579 for freebsd-stable@freebsd.org; Mon, 4 Sep 2006 23:07:01 -0700 (PDT) (envelope-from jmg) Date: Mon, 4 Sep 2006 23:07:01 -0700 From: John-Mark Gurney To: freebsd-stable@freebsd.org Message-ID: <20060905060701.GG9421@funkthat.com> Mail-Followup-To: freebsd-stable@freebsd.org References: <20060905045141.GA810@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060905045141.GA810@localhost.localdomain> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Subject: Re: large system date skew on RELENG_6 changes causes select() failures X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 06:07:03 -0000 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."