[rrd-developers] segfault in rrdtool-1.0.40
Carter Bullard
carter at qosient.com
Wed Feb 5 01:19:25 MET 2003
Gentle people,
I am having problems graphing from a valid rrd file,
and I'm getting seg faults at line 304 in rrd_fetch.c.
I have found that I can get the same fault trying to graph
an empty rrd file with a subset of my parameters. These
two commands generate the segfault everytime.
./rrdtool create /tmp/test.rrd -b 1036472400 --step 21600
DS:object0:GAUGE:21600:U:U RRA:AVERAGE:0.5:1:100000
./rrdtool graph ragraph.gif --base 1000 --start 1036472400 --end
1036558800 DEF:alphaIn0=/tmp/temp.rrd:objectIn0:AVERAGE
CDEF:ralphaIn0=alphaIn0,21600,/
This is a little beyond my expertise so I would really appreciate
if anyone can take a look at the problem.
With debugging turned on, I get this output trying to graph
my actual data:
rra_start 3171443296, rra_end 1036454400, start_off -98842, end_off -5
First Seek: rra_base 540 rra_pointer 100000
pre fetch -98842 -- nan
pre fetch -98841 -- nan
pre fetch -98840 -- nan
pre fetch -98839 -- nan
pre fetch -98838 -- nan
pre fetch -98837 -- nan
pre fetch -98836 -- nan
pre fetch -98835 -- nan
pre fetch -98834 -- nan
pre fetch -98833 -- nan
pre fetch -98832 -- nan
pre fetch -98831 -- nan
pre fetch -98830 -- nan
pre fetch -98829 -- nan
pre fetch -98828 -- nan
pre fetch -98827 -- nan
pre fetch -98826 -- nan
pre fetch -98825 -- nan
pre fetch -98824 -- nan
pre fetch -98823 -- nan
pre fetch -98822 --
Program received signal SIGSEGV, Segmentation fault.
0x0804e396 in rrd_fetch_fn (filename=0x809af30 "/tmp/test.rrd",
cf_idx=CF_AVERAGE, start=0x809b210, end=0x809b214, step=0xbffe5cbc,
ds_cnt=0x809b21c,
ds_namv=0x809b224, data=0x809b228) at rrd_fetch.c:304
304 *(data_ptr++) = DNAN;
--
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