From owner-freebsd-i386@FreeBSD.ORG Fri Jun 18 19:10:39 2004 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C445316A4D0 for ; Fri, 18 Jun 2004 19:10:39 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A21C043D53 for ; Fri, 18 Jun 2004 19:10:39 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i5IJANXE046961 for ; Fri, 18 Jun 2004 19:10:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5IJANLL046960; Fri, 18 Jun 2004 19:10:23 GMT (envelope-from gnats) Resent-Date: Fri, 18 Jun 2004 19:10:23 GMT Resent-Message-Id: <200406181910.i5IJANLL046960@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeff Connelly Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B662116A4CE for ; Fri, 18 Jun 2004 19:06:39 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1ACE43D45 for ; Fri, 18 Jun 2004 19:06:39 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i5IJ62e5088500 for ; Fri, 18 Jun 2004 19:06:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i5IJ62Nt088497; Fri, 18 Jun 2004 19:06:02 GMT (envelope-from nobody) Message-Id: <200406181906.i5IJ62Nt088497@www.freebsd.org> Date: Fri, 18 Jun 2004 19:06:02 GMT From: Jeff Connelly To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: i386/68087: wget core dumps with: Assertion failed: (msecs >= 0), function calc_rate, file retr.c, line 262. X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 19:10:40 -0000 >Number: 68087 >Category: i386 >Synopsis: wget core dumps with: Assertion failed: (msecs >= 0), function calc_rate, file retr.c, line 262. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 18 19:10:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Jeff Connelly >Release: FreeBSD 5.2-CURRENT #7: Thu Jun 10 15:33:56 PDT 2004 >Organization: >Environment: FreeBSD dragon.jeff.tk 5.2-CURRENT FreeBSD 5.2-CURRENT #7: Thu Jun 10 15:33:56 PDT 2004 root@dragon.jeff.tk:/usr/obj/usr/src/sys/ASUS i386 >Description: Full command and error: # wget --verbose --mirror --no-host-directories --passive-ftp --no-parent --cut-dirs=4 --output-file=/tmp/wget-gutenberg.log ftp://ftp.ibiblio.org/pub/docs/books/gutenberg --reject \*.zip Assertion failed: (msecs >= 0), function calc_rate, file retr.c, line 262. Abort (core dumped) The error occured after a few days of downloading, so its not easily reproducible. Most likely it will occur with other wget arguments. As far as I can tell this is a manifestation of time going backwards. <20426.837433714@verdi.nethelp.no> might be the same problem with different software: Jul 7 14:57:36 verdi xntpd[84]: time reset (step) 0.151413 s Jul 7 21:34:16 verdi xntpd[84]: time reset (step) 0.133152 s Jul 9 17:32:48 verdi xntpd[84]: time reset (step) -0.135963 s I'm submitting this because I didn't find the error message on Google. If you're having this problem try the fix below, however this phenomena is worth investigating in my opinion. >How-To-Repeat: Intermittent. Might be a hardware problem. >Fix: Fix 1: Apply this patch # diff retr.c retr.c.bak 262,263d261 < if (msecs < 0) msecs = 0; < Fix 2: Upgrade hardware? Is there a bug in FreeBSD's time keeping system? >Release-Note: >Audit-Trail: >Unformatted: