[451] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: arlad crashed (i386-netbsd1.3H)

daemon@ATHENA.MIT.EDU (Magnus Ahltorp)
Fri Jan 1 21:20:45 1999

From owner-arla-drinkers@stacken.kth.se Sat Jan 02 02:20:44 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 24084 invoked from network); 2 Jan 1999 02:20:43 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 2 Jan 1999 02:20:43 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id DAA10692
	for arla-drinkers-list; Sat, 2 Jan 1999 03:16:00 +0100 (MET)
Received: from turbot.pdc.kth.se (turbot.pdc.kth.se [130.237.221.42])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id DAA10688
	for <arla-drinkers@stacken.kth.se>; Sat, 2 Jan 1999 03:15:53 +0100 (MET)
Received: (from d95-mah@localhost)
	by turbot.pdc.kth.se (8.8.7/8.8.7) id DAA17377;
	Sat, 2 Jan 1999 03:12:22 +0100 (MET)
To: Ken Raeburn <raeburn@raeburn.org>
Cc: arla-drinkers@stacken.kth.se
Subject: Re: arlad crashed (i386-netbsd1.3H)
References: <tx1vhiq38pq.fsf@raeburn.org>
From: Magnus Ahltorp <map@stacken.kth.se>
Date: 02 Jan 1999 03:12:22 +0100
In-Reply-To: Ken Raeburn's message of "01 Jan 1999 17:54:25 -0500"
Message-ID: <ixdk8z68ltl.fsf@turbot.pdc.kth.se>
Lines: 24
X-Mailer: Gnus v5.6.45/Emacs 19.34
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

> Anything else useful I can look up for you?  I'm firing it up again
> with debugging logging turned on, maybe that'll turn up something more
> informative if it crashes again.

It seems that the invalidator loop didn't fetch a new item in the end
of the loop. Try this patch:

Index: fcache.c
===================================================================
RCS file: /usr/local/cvsroot/arla/arlad/fcache.c,v
retrieving revision 1.173
diff -u -r1.173 fcache.c
--- fcache.c	1998/12/28 01:54:14	1.173
+++ fcache.c	1999/01/02 02:11:40
@@ -625,7 +626,7 @@
 
 	gettimeofday (&tv, NULL);
 
-	for (;;) {
+	for (;(head = heap_head (invalid_heap));) {
 	    FCacheEntry *entry = (FCacheEntry *)head;
 
 	    if (tv.tv_sec < entry->callback.ExpirationTime) {


home help back first fref pref prev next nref lref last post