[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Snapshot 23/3 hobbitd_rrd crashes



On Sun, Mar 23, 2008 at 07:06:59AM +0100, Lars Ebeling wrote:
> $ gdb bin/hobbitd_rrd tmp/core                                                  

Please try this on top of the snapshot.

Henrik
--- hobbitd/do_rrd.c	2008/03/22 12:55:03	1.59
+++ hobbitd/do_rrd.c	2008/03/23 07:31:13
@@ -270,6 +270,7 @@
 	}
 	else {
 		cacheitem = (updcacheitem_t *)gettreeitem(updcache, handle);
+		if (!template) template = cacheitem->tpl;
 	}
 
 	/* If the RRD file doesn't exist, create it immediately */