Xymon Mailing List Archive search

bbdisplay problem

5 messages in this thread

list Vozza Damiano · Tue, 15 Nov 2005 11:39:41 +0100 ·
Good morning,

I use hobbit 4.1.1 on Fedora Core 4 2.6.14-1.1637 smp and works very
fine.

 
But with 4.1.2 and 4.1.2 p1 bbdisplay halts and hobbitlaunch.log
reports:

"Task bbdisplay terminated by signal 6"

 
I found out that problem arises using tag "group" or "group-compress" in
bb-hosts.

 
My bb-hosts file is:

page Sistemi_SChiara Sistemi Ospedale S.Chiara, Trento

group Hobbit

172.21.82.10     uschasbc1 # BBDISPLAY BBPAGER BBNET bbd
apache=http://172.21.82.10/server-status?auto
LARRD:*,apache:apache|apache1|apache2|apache3 http://uschasbc1/

 
Hobbitlaunch.log reports:

2005-11-15 09:05:02 hobbitlaunch starting

2005-11-15 09:05:02 Loading tasklist configuration from
/usr/local/hobbit/server/etc/hobbitlaunch.cfg

2005-11-15 09:05:02 Loading hostnames

2005-11-15 09:05:02 Loading saved state

2005-11-15 09:05:02 Setting up network listener on 0.0.0.0:1984

2005-11-15 09:05:02 Setting up signal handlers

2005-11-15 09:05:02 Setting up hobbitd channels

2005-11-15 09:05:02 Setting up logfiles

2005-11-15 09:05:07 Task bbdisplay terminated by signal 6

 
The core file reports:

gdb bin/bbgen tmp/core.21874

GNU gdb Red Hat Linux (6.3.0.0-1.84rh)

Copyright 2004 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you
are

welcome to change it and/or distribute copies of it under certain
conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for
details.

This GDB was configured as "x86_64-redhat-linux-gnu"...Using host
libthread_db library "/lib64/libthread_db.so.1".

 
Core was generated by `bbgen --recentgifs --subpagecolumns=2 --rss
--report'.

Program terminated with signal 6, Aborted.

Reading symbols from /lib64/libpcre.so.0...Reading symbols from
/usr/lib/debug/lib64/libpcre.so.0.0.1.debug...done.

done.

Loaded symbols for /lib64/libpcre.so.0

Reading symbols from /lib64/libc.so.6...done.

Loaded symbols for /lib64/libc.so.6

Reading symbols from /lib64/ld-linux-x86-64.so.2...done.

Loaded symbols for /lib64/ld-linux-x86-64.so.2

#0  0x0000003b0562f280 in raise () from /lib64/libc.so.6

(gdb) bt

#0  0x0000003b0562f280 in raise () from /lib64/libc.so.6

#1  0x0000003b05630750 in abort () from /lib64/libc.so.6

#2  0x000000000041acf3 in sigsegv_handler (signum=Variable "signum" is
not available.

) at sig.c:57

#3  <signal handler called>

#4  0x0000003b05671fe0 in strlen () from /lib64/libc.so.6

#5  0x0000000000404586 in init_group (title=0x53a746 "Hobbit",
onlycols=0x0,

    exceptcols=0x5 <Address 0x5 out of bounds>) at loadbbhosts.c:161

#6  0x0000000000405e61 in load_bbhosts (pgset=0x421c59 "") at
loadbbhosts.c:567

#7  0x00000000004028b8 in main (argc=5, argv=0x7fffffb2be98) at
bbgen.c:560

 
Any help?

Thanks

 
P.S. I already reported this bug(?) on sourceforge hobbit project with
request ID 1353082. 

 
Damiano Vozza
Azienda Provinciale per i Servizi Sanitari
Servizio Sistemi Informativi
Ospedale S. Chiara
Via Crosina Sartori 6 Trento - Italy
tel. (+39) 0461364856
fax. (+39) 0461903593
e-mail user-b645b43234db@xymon.invalid <mailto:user-b645b43234db@xymon.invalid> 
web site www.apss.tn.it <http://www.apss.tn.it/>;
list Thomas Pedersen · Tue, 15 Nov 2005 11:46:29 +0100 ·
Why would you want a group without a title ? Try to add a title or remove the group tag.

/Thomas
quoted from Vozza Damiano

Vozza Damiano wrote:
Good morning,

I use hobbit 4.1.1 on Fedora Core 4 2.6.14-1.1637 smp and works very fine.

 
But with 4.1.2 and 4.1.2 p1 bbdisplay halts and hobbitlaunch.log reports:

"Task bbdisplay terminated by signal 6"

 
I found out that problem arises using tag "group" or "group-compress" in bb-hosts.

 
My bb-hosts file is:

page Sistemi_SChiara Sistemi Ospedale S.Chiara, Trento

group Hobbit

172.21.82.10     uschasbc1 # BBDISPLAY BBPAGER BBNET bbd apache=http://172.21.82.10/server-status?auto LARRD:*,apache:apache|apache1|apache2|apache3 http://uschasbc1/

 
Hobbitlaunch.log reports:

2005-11-15 09:05:02 hobbitlaunch starting

2005-11-15 09:05:02 Loading tasklist configuration from /usr/local/hobbit/server/etc/hobbitlaunch.cfg

2005-11-15 09:05:02 Loading hostnames

2005-11-15 09:05:02 Loading saved state

2005-11-15 09:05:02 Setting up network listener on 0.0.0.0:1984

2005-11-15 09:05:02 Setting up signal handlers

2005-11-15 09:05:02 Setting up hobbitd channels

2005-11-15 09:05:02 Setting up logfiles

2005-11-15 09:05:07 Task bbdisplay terminated by signal 6

 
The core file reports:

gdb bin/bbgen tmp/core.21874

GNU gdb Red Hat Linux (6.3.0.0-1.84rh)

Copyright 2004 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for details.

This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1".

 
Core was generated by `bbgen --recentgifs --subpagecolumns=2 --rss --report'.

Program terminated with signal 6, Aborted.

Reading symbols from /lib64/libpcre.so.0...Reading symbols from /usr/lib/debug/lib64/libpcre.so.0.0.1.debug...done.

done.

Loaded symbols for /lib64/libpcre.so.0

Reading symbols from /lib64/libc.so.6...done.

Loaded symbols for /lib64/libc.so.6

Reading symbols from /lib64/ld-linux-x86-64.so.2...done.

Loaded symbols for /lib64/ld-linux-x86-64.so.2

#0  0x0000003b0562f280 in raise () from /lib64/libc.so.6

(gdb) bt

#0  0x0000003b0562f280 in raise () from /lib64/libc.so.6

#1  0x0000003b05630750 in abort () from /lib64/libc.so.6

#2  0x000000000041acf3 in sigsegv_handler (signum=Variable "signum" is not available.

) at sig.c:57

#3  <signal handler called>

#4  0x0000003b05671fe0 in strlen () from /lib64/libc.so.6

#5  0x0000000000404586 in init_group (title=0x53a746 "Hobbit", onlycols=0x0,

    exceptcols=0x5 <Address 0x5 out of bounds>) at loadbbhosts.c:161

#6  0x0000000000405e61 in load_bbhosts (pgset=0x421c59 "") at loadbbhosts.c:567

#7  0x00000000004028b8 in main (argc=5, argv=0x7fffffb2be98) at bbgen.c:560

 
Any help?

Thanks

 
P.S. I already reported this bug(?) on sourceforge hobbit project with request ID 1353082.

 
/Damiano Vozza
Azienda Provinciale per i Servizi Sanitari
Servizio Sistemi Informativi
Ospedale S. Chiara
Via Crosina Sartori 6 Trento - Italy
tel. (+39) 0461364856
fax. (+39) 0461903593
e-mail *user-b645b43234db@xymon.invalid* <mailto:user-b645b43234db@xymon.invalid>
web site *www.apss.tn.it* <http://www.apss.tn.it/>/

 
list Vozza Damiano · Tue, 15 Nov 2005 12:15:05 +0100 ·
I modified bb-hosts whit a group title "Local servers":
page servers Servers and Networks
group-compress <font size="+1">Local servers</font>
172.21.82.10    uschasbc1 # BBDISPLAY BBPAGER BBNET bbd apache=http://172.21.82.10/server-status?auto LARRD:*,apache:apache|apache1|apache2|apache3 http://uschasbc1/

The same configuration works fine on hobbit 4.1.1

The dump says:
quoted from Thomas Pedersen
GNU gdb Red Hat Linux (6.3.0.0-1.84rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1".

Core was generated by `bbgen --recentgifs --subpagecolumns=2 --rss --report'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib64/libpcre.so.0...Reading symbols from /usr/lib/debug/lib64/libpcre.so.0.0.1.debug...done.
done.
Loaded symbols for /lib64/libpcre.so.0
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
#0  0x0000003b0562f280 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x0000003b0562f280 in raise () from /lib64/libc.so.6
#1  0x0000003b05630750 in abort () from /lib64/libc.so.6
#2  0x000000000041acf3 in sigsegv_handler (signum=Variable "signum" is not available.
) at sig.c:57
#3  <signal handler called>
#4  0x0000003b05671fe0 in strlen () from /lib64/libc.so.6

#5  0x0000000000404586 in init_group (title=0x53a74f "<font size=\"+1\">Local servers</font>", onlycols=0x0,
quoted from Thomas Pedersen
    exceptcols=0x5 <Address 0x5 out of bounds>) at loadbbhosts.c:161
#6  0x0000000000405e61 in load_bbhosts (pgset=0x421c59 "") at loadbbhosts.c:567

#7  0x00000000004028b8 in main (argc=5, argv=0x7fffffedb0f8) at bbgen.c:560

What's wrong?
Thanks
quoted from Thomas Pedersen

Damiano Vozza
Azienda Provinciale per i Servizi Sanitari
Servizio Sistemi Informativi
Ospedale S. Chiara
Via Crosina Sartori 6 Trento - Italy
tel. (+39) 0461364856
fax. (+39) 0461903593
e-mail user-b645b43234db@xymon.invalid

web site www.apss.tn.it


-----Messaggio originale-----
Da: Thomas [mailto:user-97316fb2dd2a@xymon.invalid] 
Inviato: martedì 15 novembre 2005 11.46
A: user-ae9b8668bcde@xymon.invalid
Oggetto: Re: [hobbit] bbdisplay problem
quoted from Thomas Pedersen

Why would you want a group without a title ? Try to add a title or 
remove the group tag.

/Thomas

Vozza Damiano wrote:
Good morning,

I use hobbit 4.1.1 on Fedora Core 4 2.6.14-1.1637 smp and works very fine.

 
But with 4.1.2 and 4.1.2 p1 bbdisplay halts and hobbitlaunch.log reports:

"Task bbdisplay terminated by signal 6"

 
I found out that problem arises using tag "group" or "group-compress" 
in bb-hosts.

 
My bb-hosts file is:

page Sistemi_SChiara Sistemi Ospedale S.Chiara, Trento

group Hobbit

172.21.82.10     uschasbc1 # BBDISPLAY BBPAGER BBNET bbd 
apache=http://172.21.82.10/server-status?auto 
LARRD:*,apache:apache|apache1|apache2|apache3 http://uschasbc1/

 
Hobbitlaunch.log reports:

2005-11-15 09:05:02 hobbitlaunch starting

2005-11-15 09:05:02 Loading tasklist configuration from 
/usr/local/hobbit/server/etc/hobbitlaunch.cfg

2005-11-15 09:05:02 Loading hostnames

2005-11-15 09:05:02 Loading saved state

2005-11-15 09:05:02 Setting up network listener on 0.0.0.0:1984

2005-11-15 09:05:02 Setting up signal handlers

2005-11-15 09:05:02 Setting up hobbitd channels

2005-11-15 09:05:02 Setting up logfiles

2005-11-15 09:05:07 Task bbdisplay terminated by signal 6

 
The core file reports:

gdb bin/bbgen tmp/core.21874

GNU gdb Red Hat Linux (6.3.0.0-1.84rh)

Copyright 2004 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and 
you are

welcome to change it and/or distribute copies of it under certain 
conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for 
details.

This GDB was configured as "x86_64-redhat-linux-gnu"...Using host 
libthread_db library "/lib64/libthread_db.so.1".

 
Core was generated by `bbgen --recentgifs --subpagecolumns=2 --rss 
--report'.

Program terminated with signal 6, Aborted.

Reading symbols from /lib64/libpcre.so.0...Reading symbols from 
/usr/lib/debug/lib64/libpcre.so.0.0.1.debug...done.

done.

Loaded symbols for /lib64/libpcre.so.0

Reading symbols from /lib64/libc.so.6...done.

Loaded symbols for /lib64/libc.so.6

Reading symbols from /lib64/ld-linux-x86-64.so.2...done.

Loaded symbols for /lib64/ld-linux-x86-64.so.2

#0  0x0000003b0562f280 in raise () from /lib64/libc.so.6

(gdb) bt

#0  0x0000003b0562f280 in raise () from /lib64/libc.so.6

#1  0x0000003b05630750 in abort () from /lib64/libc.so.6

#2  0x000000000041acf3 in sigsegv_handler (signum=Variable "signum" is 
not available.

) at sig.c:57

#3  <signal handler called>

#4  0x0000003b05671fe0 in strlen () from /lib64/libc.so.6

#5  0x0000000000404586 in init_group (title=0x53a746 "Hobbit", 
onlycols=0x0,

    exceptcols=0x5 <Address 0x5 out of bounds>) at loadbbhosts.c:161

#6  0x0000000000405e61 in load_bbhosts (pgset=0x421c59 "") at 
loadbbhosts.c:567

#7  0x00000000004028b8 in main (argc=5, argv=0x7fffffb2be98) at 
bbgen.c:560

 
Any help?

Thanks

 
P.S. I already reported this bug(?) on sourceforge hobbit project with 
request ID 1353082.

 
/Damiano Vozza
Azienda Provinciale per i Servizi Sanitari
Servizio Sistemi Informativi
Ospedale S. Chiara
Via Crosina Sartori 6 Trento - Italy
tel. (+39) 0461364856
fax. (+39) 0461903593
e-mail *user-b645b43234db@xymon.invalid* <mailto:user-b645b43234db@xymon.invalid>
web site *www.apss.tn.it* <http://www.apss.tn.it/>/

 
list Henrik Størner · Tue, 15 Nov 2005 13:14:23 +0100 ·
quoted from Vozza Damiano
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);
list Vozza Damiano · Wed, 16 Nov 2005 08:51:24 +0100 ·
It works!
Thanks

Damiano Vozza
Azienda Provinciale per i Servizi Sanitari
Servizio Sistemi Informativi
Ospedale S. Chiara
Via Crosina Sartori 6 Trento - Italy
tel. (+39) 0461364856
fax. (+39) 0461903593
e-mail user-b645b43234db@xymon.invalid
web site www.apss.tn.it


-----Messaggio originale-----
Da: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Inviato: martedì 15 novembre 2005 13.14
A: user-ae9b8668bcde@xymon.invalid
Oggetto: Re: [hobbit] bbdisplay problem

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