[rrd-developers] rrdtool dump's core

Jesper Skriver jesper at skriver.dk
Tue Nov 20 21:25:51 MET 2001


Hi,

I have a problem where rrdtool 1.0.33 dumps core on a FreeBSD
4.3-RELEASE-pl20 box

It can be reproduced as follows:

mie at remie% rrdtool update /data/rrd//renxt1/renxt1.ip.tele.dk.atm1-0.11123-aal5.rrd 1006280441:462185307:2878952554:3880923:4573625:0:u
Segmentation fault (core dumped)
mie at remie% gdb rrdtool rrdtool.core
GNU gdb 4.18
Copyright 1998 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 "i386-unknown-freebsd"...(no debugging symbols found)...
Core was generated by `rrdtool'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/librrd.so.0...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libm.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done.
#0  0x2807326f in rrd_diff () from /usr/local/lib/librrd.so.0
(gdb) bt
#0  0x2807326f in rrd_diff () from /usr/local/lib/librrd.so.0
#1  0x2807f39b in rrd_update () from /usr/local/lib/librrd.so.0
#2  0x8049537 in free ()
#3  0x80491ac in free ()
#4  0x8048a3d in free ()
(gdb) quit
mie at remie% mkdir debug
mie at remie% rrdtool dump /data/rrd//renxt1/renxt1.ip.tele.dk.atm1-0.11123-aal5.rrd > debug/renxt1.ip.tele.dk.atm1-0.11123-aal5.xml
mie at remie% mv rrdtool.core debug/
mie at remie% cp /usr/local/bin/rrdtool debug/

I have this for lots of my RRD archives, and at first I thought that the
rrd file had become corrupt somehow, but if I delete it and recreate the
rrd file, it's the same thing.

Any ideas ?

The XML file is available at http://e.wheel.dk/~jesper/renxt1.ip.tele.dk.atm1-0.11123-aal5.xml

/Jesper

-- 
Jesper Skriver, jesper(at)skriver(dot)dk  -  CCIE #5456
Work:    Network manager   @ AS3292 (Tele Danmark DataNetworks)
Private: FreeBSD committer @ AS2109 (A much smaller network ;-)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-developers mailing list