From Dominique.Frise@unil.ch Wed Jun 24 08:18:08 2026 From: "dominique.frise@unil.ch" To: xymon@xymon.com Subject: [hobbit] Xymon 4.3.0-beta1: hobbit-hostgraphs.cgi: core dump Date: Mon, 06 Apr 2009 11:16:49 +0200 Message-ID: <49D9C881.80404@unil.ch> In-Reply-To: <49D218FD.40302@unil.ch> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2094427758598912530==" --===============2094427758598912530== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Dominique Frise wrote: > Hi, >=20 > Running Xymon on Solaris 10 i386. > We get "Internal Server error" with the Metrics Report. >=20 >=20 >=20 > Here below the results of debugging: >=20 > [bb at iris etc]$ .=20 > /soft/pub/BB/hobbit/server/etc/hobbitcgi.cfg;/soft/pub/BB/hobbit/server/bin= /hobbit-hostgraphs.cgi=20 > $CGI_HOSTGRAPHS_OPTS --debug > Content-type: text/html >=20 > 2009-03-31 15:17:15 Trying header/footer file=20 > '/soft/pub/BB/hobbit/server/web/hostgraphs_header' > > > >=20 > Xymon - Metrics Report > ... > ... > \n\n\t 2009-03-31 15:17:15 Transport setup is: 2009-03-31 15:17:15 bbdportnumber =3D 1984 2009-03-31 15:17:15 bbdispproxyhost =3D NONE 2009-03-31 15:17:15 bbdispproxyport =3D 0 2009-03-31 15:17:15 Recipient listed as '130.223.27.150' 2009-03-31 15:17:15 Standard BB protocol on port 1984 2009-03-31 15:17:15 Will connect to address 130.223.27.150 port 1984 2009-03-31 15:17:15 Connect status is 0 2009-03-31 15:17:15 Sent 56 bytes 2009-03-31 15:17:15 Read 8192 bytes 2009-03-31 15:17:15 Read 1287 bytes 2009-03-31 15:17:15 Closing connection 2009-03-31 15:17:15 Opening file /soft/pub/BB/hobbit/server/etc/bb-hosts 2009-03-31 15:17:15 Opening file=20 /soft/pub/BB/hobbit/server/etc//bb-hosts.acadSys 2009-03-31 15:17:15 Opening file=20 /soft/pub/BB/hobbit/server/etc//bb-hosts.adminSys 2009-03-31 15:17:15 Recipient listed as '130.223.27.150' 2009-03-31 15:17:15 Standard BB protocol on port 1984 2009-03-31 15:17:15 Will connect to address 130.223.27.150 port 1984 2009-03-31 15:17:15 Connect status is 0 2009-03-31 15:17:15 Sent 8 bytes 2009-03-31 15:17:15 Closing connection Segmentation Fault (core dumped) [bb at iris etc]$ gdb ../bin/hobbit-hostgraphs.cgi core GNU gdb 6.6 Copyright (C) 2006 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=20 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 "i386-pc-solaris2.8"... warning: core file may not match specified executable file. Reading symbols from /opt/csw/lib/libpcre.so.0...done. Loaded symbols for /opt/csw/lib/libpcre.so.0 Reading symbols from /usr/lib/libresolv.so.2...done. Loaded symbols for /usr/lib/libresolv.so.2 Reading symbols from /usr/lib/libsocket.so.1...done. Loaded symbols for /usr/lib/libsocket.so.1 Reading symbols from /usr/lib/libnsl.so.1...done. Loaded symbols for /usr/lib/libnsl.so.1 Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /usr/lib/libc.so.1...done. Loaded symbols for /usr/lib/libc.so.1 Reading symbols from /opt/csw/lib/libncurses.so.5...done. Loaded symbols for /opt/csw/lib/i386/libncurses.so.5 Reading symbols from /opt/csw/lib/libz.so...done. Loaded symbols for /opt/csw/lib/i386/libz.so Reading symbols from /opt/csw/lib/libbz2.so.1.0...done. Loaded symbols for /opt/csw/lib/i386/libbz2.so.1.0 Reading symbols from /opt/csw/lib/libreadline.so.5...done. Loaded symbols for /opt/csw/lib/i386/libreadline.so.5 Reading symbols from /lib/libaio.so.1...done. Loaded symbols for /lib/libaio.so.1 Reading symbols from /lib/libmd.so.1...done. Loaded symbols for /lib/libmd.so.1 Reading symbols from /lib/ld.so.1...done. Loaded symbols for /lib/ld.so.1 Core was generated by=20 `/soft/pub/BB/hobbit/server/bin/hobbit-hostgraphs.cgi=20 --env=3D/soft/pub/BB/hobbit/'. Program terminated with signal 11, Segmentation fault. #0 0x0805f31a in addtobuffer (buf=3D0x0, newtext=3D0x0) at strfunc.c:121 121 strbuf_addtobuffer(buf, newtext, strlen(newtext)); (gdb) bt #0 0x0805f31a in addtobuffer (buf=3D0x0, newtext=3D0x0) at strfunc.c:121 #1 0x0805de2b in sendmessage (msg=3D0x80647a7 "schedule", recipient=3D0x0, timeout=3D15, response=3D0x809cc18) at sendmsg.c:485 #2 0x0805645d in fetch_board () at headfoot.c:441 #3 0x0805807c in output_parsed (output=3D0x8077e68, templatedata=3D0x8078f36 "\t \n\n\t