[hobbit] bbdisplay problem

Henrik Stoerner henrik at hswn.dk
Tue Nov 15 13:14:23 CET 2005


On Tue, Nov 15, 2005 at 11:39:41AM +0100, Vozza Damiano wrote:

> But with 4.1.2 and 4.1.2 p1 bbdisplay halts and hobbitlaunch.log
> reports:
> 
> "Task bbdisplay terminated by signal 6"
> 
> #5  0x0000000000404586 in init_group (title=0x53a746 "Hobbit",
> onlycols=0x0, exceptcols=0x5 <Address 0x5 out of bounds>) at loadbbhosts.c:161

Thanks, that is a silly bug on my part. The attached patch should
fix it.

Save the attached file to /tmp/hobbit.patch, then

   cd hobbit-4.1.2p1
   patch -p0 < /tmp/hobbit.patch

Run "make" and "make install".


Regards,
Henrik

-------------- next part --------------
--- bbdisplay/loadbbhosts.c	2005/08/08 16:09:13	1.30
+++ bbdisplay/loadbbhosts.c	2005/11/15 12:10:30
@@ -10,7 +10,7 @@
 /*                                                                            */
 /*----------------------------------------------------------------------------*/
 
-static char rcsid[] = "$Id: loadbbhosts.c,v 1.30 2005/08/08 16:09:13 henrik Exp $";
+static char rcsid[] = "$Id: loadbbhosts.c,v 1.31 2005/11/15 12:10:24 henrik Exp $";
 
 #include <limits.h>
 #include <stdio.h>
@@ -370,6 +370,7 @@
 
 	*title = null_text;
 	*onlycols = NULL;
+	*exceptcols = NULL;
 
 	sprintf(grouponlytag, "%sgroup-only", pageset);
 	sprintf(groupexcepttag, "%sgroup-except", pageset);


More information about the Xymon mailing list