Coredump when generating pre-built reports
Frédéric Mangeant
frederic.mangeant at steria.com
Thu Dec 1 17:35:04 CET 2005
Hi Henrik
I tried to generate the november monthly report, and bbgen coredumped :
$ ~/server/bin/bbcmd --env=/BB/hobbit/server/etc/hobbitserver.cfg
hobbitreports.sh monthly
~/server/bin/hobbitreports.sh: line 78: 24827 Abandon
(core dumped) BBWEB=$REPORTTOPURL/$REPDIR $BBHOME/bin/bbgen
--reportopts=$STIME:$ETIME:0:nongr $BBGENREPOPTS $REPORTTOPDIR/$REPDIR
$ file core
core: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV),
SVR4-style, SVR4-style, from 'bbgen'
$ gdb ~/server/bin/bbgen core
GNU gdb 6.3
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 "i686-pc-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".
Core was generated by `/BB/hobbit/server/bin/bbgen
--reportopts=1130799600:1133391599:0:nongr --subpag'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpcre.so.0...done.
Loaded symbols for /usr/lib/libpcre.so.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0 0x40075941 in kill () from /lib/libc.so.6
(gdb) bt
#0 0x40075941 in kill () from /lib/libc.so.6
#1 0x400756e5 in raise () from /lib/libc.so.6
#2 0x40076a86 in abort () from /lib/libc.so.6
#3 0x080639d1 in sigsegv_handler (signum=0) at sig.c:57
#4 <signal handler called>
#5 0x400b1939 in strcat () from /lib/libc.so.6
#6 0x0804fa3a in timename (timestring=0x0) at reportdata.c:322
#7 0x0804fc9f in parse_historyfile (fd=0x8f5cc80, repinfo=0x0,
hostname=0x8ed3ae8 "ftvbufet",
servicename=0x896a6c8 "swap", fromtime=0, totime=1133391599,
for_history=0, warnlevel=97,
greenlevel=99.995000000000005, reporttime=0x0) at reportdata.c:405
#8 0x0804e328 in init_state (filename=0xbfff6d20 "ftvbufet.swap",
log=0xbfff6cf0) at loaddata.c:224
#9 0x0804ebf1 in load_state (sumhead=0x0) at loaddata.c:521
#10 0x08049d95 in main (argc=4, argv=0xbfffce04) at bbgen.c:569
Daily reports generation works fine.
Thanks in advance for your help.
Regards,
--
Frédéric Mangeant
Steria EDC Sophia-Antipolis
More information about the Xymon
mailing list