[hobbit] hobbitd_larrd is crashing

Henrik Stoerner henrik at hswn.dk
Sat Jun 10 00:47:57 CEST 2006


On Fri, Jun 09, 2006 at 05:37:45PM -0500, Larry Barber wrote:
> Still crashing, stack trace:
> #8  0x00a883c0 in strncpy () from /lib/csa/libcsa.so.6
> #9  0x0804a93c in create_and_update_rrd (hostname=0x7 <Address 0x7 out of
> bounds>, fn=0x63 <Address 0x63 out of bounds>, creparams=0x805e5c0,
> template=0x8fa8340 "sec")
>    at do_rrd.c:150

It still crashes while handling the data we get from the rrd_get_error()
routine.

I had a look at the rrdtool sources, and this crash doesn't make sense.
rrd_get_error() returns a static buffer, so it should be able to crash.

> Notice entry #9, it appears that something is munging up the hostname
> variable.

Most likely, it is just a memory scribble that hits part of the stack
as a result of the real error.

It's too late for me to do more about it now, but I would like to take 
a closer look at this. If you could tar up the 4.1.2p1 build directory
including the hobbitd_rrd binary and the core file and mail it to me.
I'll have a look at it in the morning when I'm a bit more awake.


Regards,
Henrik




More information about the Xymon mailing list