[rrd-users] segmentation fault in rrdtool version 1.2.15

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


Hi,

I have created a test db with the shell script below

#!/bin/sh

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

Then I used this script to feed the db:

#!/usr/bin/perl

$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,

Jeff

-- 
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