[rrd-users] rrdtool seg fault using GPRINT
salatiel.filho at gmail.com
Wed Oct 17 16:18:06 CEST 2007
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 \
--title="LSPRO - Fan Speed" \
--vertical-label="FAN - RPM" \
It still seg faults :/
As a said every time i try to use GPRINT it seg faults.
> Remove elements from your script until the problem doesn't show itself,
> or until you end up without results. Start by using only one of the
> DSes, for instance only "a".
> Maybe the problem disappears if you use less memory; then we may need
> to hunt down some code problem.
> Another thing to try: in the trouble tickets I notice a report claiming
> segfaults when LANG=C. Changing this to anything else (LANG=banana)
> would fix the problem. Unfortunately this bug was solved as "worksforme",
> probably because its submitter didn't respond anymore.
> Try printing less information, such as only "%8.2lf", or only "Current",
> and so on. Does this make a difference? Try changing the options to printf.
> And so on.
> Alex van den Bogaerdt
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
More information about the rrd-users