[rrd-users] segmentation fault in rrdtool version 1.2.15

Jeff Santos listus121 at email.com
Sat Aug 2 01:43:36 CEST 2008


I have created a test db with the shell script below


rrdtool create \
                dspams.rrd \
                --start=1212894000 \
                --step=86400 \
                DS:tspams:ABSOLUTE:12096000:0:U \
                RRA:MAX:0.5:1:43800 \

Then I used this script to feed the db:


$rrdfile = "rrd_file";
$rrddbfile = "dspams.rrd";

open(RRD,$rrdfile) || die "Could not open rrd file for input\n";

while ($entry = <RRD>) {
   chop ($entry);
   ($date,$value) = split (/\s+/,$entry);
   system ("rrdupdate $rrddbfile $date:$value");

And used this test rrd data file:

1212980400      56913
1213066800      148649
1213153200      136832

Now, when I try

rrdtool fetch dspams.rrd MAX

I get 

Segmentation fault (core dumped)

Could it be that the step is to big?

Thanks in advance for any help.

Best regards,


Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com

More information about the rrd-users mailing list