Xymon Mailing List Archive search

trimhistory segfaults

list Sean Clark
Thu, 14 Feb 2008 10:21:53 -0500
Message-Id: <000601c86f1d$546885d0$user-c169eaec083c@xymon.invalid>

i am trying to run a trimhistory to remove all files older than 6 months
i have hobbit running in "compatible mode" - meaning i have status logs and
histlogs

the command i run is:

/sw/bbserver/server/bin/trimhistory
--env=/sw/bbserver/server/etc/hobbitserver.cfg --drop --droplogs
--cutoff=1187223058

the result is a seg fault, listed below:


Program received signal SIGSEGV, Segmentation fault.
0xfee03634 in t_splay () from /lib/libc.so.1
(gdb) where
#0  0xfee03634 in t_splay () from /lib/libc.so.1
#1  0xfee03512 in t_delete () from /lib/libc.so.1
#2  0xfee02f72 in realloc () from /lib/libc.so.1
#3  0x0804d7e5 in xrealloc (ptr=0x812b970, size=57344) at memory.c:149
#4  0x0804b5f8 in errprintf (fmt=0x80533bc "Orphaned service-history file %s
- no host\n") at errormsg.c:66
#5  0x0804aa56 in main (argc=6, argv=0x8047a80) at trimhistory.c:452


any ideas on where i can go from here to fixing this?


-Sean