[rrd-users] Re: rrd_graph and once more calling
Francisco Sant'Anna
chico.santanna at uol.com.br
Wed Nov 7 15:23:27 MET 2001
"Oleg A. Grigorov" wrote:
>
> Hello All,
>
> help me please,
> don't run rrd_graph more then once from my program.
>
> chain[] = {'tst1','tst2'};
> ....
>
> for (i=0; i<2; i++){
> .....
> arr[..]="";
> /*
> I read tst1, after tst2. and error.
> */
> .....
> rrd_graph(...,&arr[15],...);
> }
>
> and i have error:unknown variable.
>
> But if i do:
> rrd_graph(...,&arr[15],...);
I also have a problem when using the rrd_graph inside a loop.
I get a segmentation fault.
I searched for static variables, globals, etc. But couldn't find any
problems.
I saw the code in rrd_tool.c and it frees some memory after calling
rrd_graph, I tried that in my program but with no success.
--
-chico
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list