[rrd-users] librrd / rrd_graph / getenv

Sole Caneiro solleia at yahoo.es
Thu Jun 1 10:13:15 MEST 2006


 Hello to everybody!
 
 I'm trying to use librrd from a C main program. Execution fails sometimes when calling to rrd_graph(). The output of the debugger "Valgrind" is:
    
      ==31745==  Invalid read of size 2
     ==31745==     at 0x40CEBA3: getenv (in /lib/tls/libc-2.3.6.so)
     ==31745==    by 0x4125690: (within /lib/tls/libc-2.3.6.so)
     ==31745==    by 0x412635D: tzset (in /lib/tls/libc-2.3.6.so)
     ==31745==    by 0x402FD19: rrd_graph_init (rrd_graph.c:2875)
     ==31745==    by 0x40355AC: rrd_graph (rrd_graph.c:2801)
     ==31745==    by 0x8049B6C: main (in/home/sole/proyecto/erlang/lib/rrdtool_app-1.0/priv/ExtProg)
     ==31745==  Address 0x4115006B is not stack'd, malloc'd or (recently) free'd
     ==31745==
     ==31745==  Process terminating with default action of  signal 11 (SIGSEGV)
    
  Could you help me to solve this problem?
  
    Thanks in advance!
  Sole.
 __________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es 

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list