[hobbit] Coredump when generating pre-built reports

Henrik Stoerner henrik at hswn.dk
Fri Dec 2 16:57:22 CET 2005


Hi Frederic,

On Thu, Dec 01, 2005 at 05:35:04PM +0100, Frédéric Mangeant wrote:
> 
> I tried to generate the november monthly report, and bbgen coredumped :
> #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", 

Looks like your ~hobbit/data/hist/ftvbufet.swap file has some broken
data in it, that causes the history parsing to break. There's some 
fragile code there that should be better at handling malformed input
files, but I'd like to see that file if you could send it to me, please?


Regards,
Henrik




More information about the Xymon mailing list