[rrd-users] rrdtool crash?

Tobias Oetiker tobi at oetiker.ch
Mon Aug 23 07:37:48 CEST 2010


Hi Adam,

Saturday Adam Jacob Muller wrote:

> 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 just put in a patch to libdbi yesterday, maybe this fixes your
problem too ... see

http://oss.oetiker.ch/rrdtool/pub/beta/rrdtool-1.4-svn-snap.tar.gz

cheers
tobi

>
>
> I am running:
> # rrdtool --version
> RRDtool 1.4.3  Copyright 1997-2009 by Tobias Oetiker <tobi at oetiker.ch>
>                Compiled Aug 21 2010 16:55:06
>
> I appreciate any help you could offer with this,
>
>
> Thanks,
> Adam
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-users mailing list