bb-histlog.sh : internal server error - SIGSEGV
Gianluca Rossi
gianluca.rossi at acantho.com
Fri Oct 30 16:58:53 CET 2009
Hi,
my xymon server (64 bit debian lenny) running Xymon 4.3.0-0.beta2
is sometimes reporting "Internal server error" executing history with
bb-histolog.sh.
example, this url:
/hobbit-cgi/bb-histlog.sh?HOST=nb-ser&SERVICE=backup&TIMEBUF=Sun_Oct_25_14:39:38_2009
i have the gdb trace:
Program received signal SIGSEGV, Segmentation fault.
0x00007fff7347e5a8 in ?? () from /lib/libc.so.6
(gdb) bt
#0 0x00007fff7347e5a8 in ?? () from /lib/libc.so.6
#1 0x00007fff7347ea56 in free () from /lib/libc.so.6
#2 0x00000000004096cc in expand_env (s=0x424dea "4.3.0-0.beta2") at
environ.c:295
#3 0x000000000040958a in xgetenv (name=0x424ddf "HOBBITDREL") at
environ.c:167
#4 0x000000000040d76f in headfoot (output=0x7fff73756780,
template=0x7fff735266f8 "double free or corruption (!prev)",
pagepath=0x1 <Address 0x1 out of bounds>,
head_or_foot=0x2d746962626f682f <Address 0x2d746962626f682f out of
bounds>, bgcolor=7045168)
at headfoot.c:1380
#5 0x0000000000410a9f in generate_html_log (hostname=0x6b9130 "nb-ser",
displayname=0x6b9130 "nb-ser",
service=0x6b9150 "backup", ip=0x76c1e0 "10.12.10.40", color=5,
sender=0x6ba310 "10.12.10.40",
flags=0x427c1e "", logtime=0, timesincechange=0x7fff7bda9460 "0.00
minutes",
firstline=0x7aa490 "red Sun Oct 25 14:39:38 CET 2009 - Errors
netbackup ",
restofmsg=0x7a8145 " - - - ERRORS - - -\n10/25/2009 14:36:23 nb-ser
mdoc1 cannot connect to mdoc1, Operation now in\n", ' ' <repeats 20
times>, "progress (150)\n10/25/2009 14:36:23 nb-ser mdoc1 backup of
client mdoc1 exited with "..., acktime=0, ackmsg=0x0, acklist=0x0,
disabletime=0, dismsg=0x0, is_history=1, wantserviceid=0,
htmlfmt=0, locatorbased=0, multigraphs=0x422ad8
",disk,inode,qtree,quotas,snapshot,TblSpace,if_load,",
linktoclient=0x6b9040
"/hobbit-cgi/bb-histlog.sh?CLIENT=nb-ser&TIMEBUF=1256477685",
nkprio=0x0,
nkttgroup=0x0, nkttextra=0x0, graphtime=172800,
output=0x7fff73756780) at htmllog.c:169
#6 0x0000000000402c03 in do_request () at hobbitsvc.c:571
#7 0x000000000040448f in main (argc=4, argv=<value optimized out>) at
hobbitsvc.c:674
(gdb) quit
there is a problem only for some request, usually the history program
works fine.
is 4.3.0-0.beta2 the last 4.3 branch? i see on http://www.xymon.com
Xymon 4.3.0-1.3: is this an updated version?
--
Gianluca
More information about the Xymon
mailing list