Hi,
I'm using the newish rrdtool_libdbi stuff to graph some data out of a postgres 
database and experiencing an odd crash.

# sh graphtest
*** glibc detected *** /usr/bin/rrdtool: double free or corruption (out): 
0x00000000020499f0 ***

The actual RRD command i'm running is quite long/complex, but I was able to 
trigger the crash even with something very simple,
/usr/bin/rrdtool graphv - --width 800 --height 450 --no-minor -M -E --start 
1282338588 --end 1282424047 \
        
DEF:throughput=sql//pgsql/host=localhost/dbname=dbname/username=username/password=password//table/*timestamp
 with timezone column/bigint column/keycolumn=simpleint:avg:AVERAGE \
        LINE2:throughput#73C2FB:'throughput'


Interestingly, this issue only occurs on specific values of start/end, if I 
adjust the above to graph like so:
/usr/bin/rrdtool graphv - --width 800 --height 450 --no-minor -M -E --start 
1250888943 --end 1282424943 ... etc
It works fine

the first example is a 1-day period (--end now --start now-24 hours)
the second example is a 1-year period (--end now --start now-365 days)

I've put the full output from rrdtool here: http://adam.gs/rrdtool-crash.txt


I am running:
# rrdtool --version
RRDtool 1.4.3  Copyright 1997-2009 by Tobias Oetiker <[email protected]>
               Compiled Aug 21 2010 16:55:06

I appreciate any help you could offer with this,


Thanks,
Adam
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to