[rrd-users] rrdtool seg fault using GPRINT

Salatiel Filho salatiel.filho at gmail.com
Wed Oct 24 22:59:26 CEST 2007


no more ideas ?

On 10/17/07, Salatiel Filho <salatiel.filho at gmail.com> wrote:
> On 10/17/07, Alex van den Bogaerdt <alex at ergens.op.het.net> wrote:
> > On Wed, Oct 17, 2007 at 11:18:06AM -0300, Salatiel Filho wrote:
> > > On 10/17/07, Alex van den Bogaerdt <alex at ergens.op.het.net> wrote:
> > > > On Wed, Oct 17, 2007 at 12:02:24AM -0300, Salatiel Filho wrote:
> > > >
> > > > > Hi guys , i am trying to use rrdtool but everytime i try to use some GPRINT
> > > > > function i get segmentation fault. This limits a lot the use of rrdtool.
> > > > > Could anyone lead me to a solution. I had de debian etch binary 1.2.15 for
> > > > > arm , and now i have 1.2.23 compiled by myself. Both segfault.
> > > >
> > > > The script you show is much to complicated for debugging purposes.
> > > Sorry. Now i have one simpler.
> > >
> > > usr/bin/rrdtool graph /tmp/a.png \
> > > --imgformat=PNG \
> > > --start=-86400 \
> > > --end=-300 \
> > > --title="LSPRO - Fan Speed" \
> > > --base=1000 \
> > > --height=120 \
> > > --width=500 \
> > > --alt-autoscale-max \
> > > --lower-limit=0 \
> > > --vertical-label="FAN - RPM" \
> > > --slope-mode \
> > > DEF:a="/usr/share/cacti-0.8.6j/rra/lspro_fan_27.rrd":fan:AVERAGE \
> > > GPRINT:a:AVERAGE:"RPM\:%8.2lf %s"
> >
> > I was thinking of:
> >
> > LANG=x
> > export LANG
> > cd /tmp
> > cp /usr/share/cacti-0.8.6j/rra/lspro_fan_27.rrd a.rrd
> > rrdtool graph a.png DEF:a=a.rrd:fan:AVERAGE GPRINT:a:AVERAGE:%lf
>
> # LANG=x
> # export LANG
> # cd /tmp
> # cp /usr/share/cacti-0.8.6j/rra/lspro_fan_27.rrd a.rrd
> # rrdtool graph a.png DEF:a=a.rrd:fan:AVERAGE GPRINT:a:AVERAGE:%lf
> Segmentation fault
> #
> >
> > --
> > Alex van den Bogaerdt
> > http://www.vandenbogaerdt.nl/rrdtool/
> >
> > _______________________________________________
> > rrd-users mailing list
> > rrd-users at lists.oetiker.ch
> > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
> >
>
>
> --
> []'s
> Salatiel
>
> "O maior prazer do inteligente é bancar o  idiota
>    diante de um  idiota que banca o inteligente".
>


-- 
[]'s
Salatiel

"O maior prazer do inteligente é bancar o  idiota
   diante de um  idiota que banca o inteligente".



More information about the rrd-users mailing list