[rrd-users] rrdtool[2489]: segfault while creating grafic
Tobias Oetiker
tobi at oetiker.ch
Mon Jul 5 09:40:08 CEST 2010
Hi Thomas,
I tried your example and on rrdtool 1.4.3 and rrdtool-trunk it does
not crash ...
I also ran it with valgrind and it see no problem :-(
can you try valgrind on your machine ?
valgrind --leak-check=full rrdtool graph ...
it will find some 'leaks' especially in font-config/pango code, but
this is fine ...
lg
tobi
Friday thd01 wrote:
>
> Hi Sebastian,
>
> now I get the exact commands:
>
> rrdtool create /opt/pnp/var/perfdata/testhost/testservice.rrd
> RRA:AVERAGE:0.5:1:1051200 RRA:MIN:0.5:1:1051200 RRA:MAX:0.5:1:1051200
> RRA:AVERAGE:0.5:30:175200 RRA:MIN:0.5:30:175200 RRA:MAX:0.5:30:175200
> RRA:AVERAGE:0.5:120:219000 RRA:MIN:0.5:120:219000 RRA:MAX:0.5:120:219000
> RRA:AVERAGE:0.5:240:219000 RRA:MIN:0.5:240:219000 RRA:MAX:0.5:240:219000
> DS:1:GAUGE:8640:U:U --start=1278075273 --step=60
>
> --> no error
>
> rrdtool graph /opt/pnp/var/perfdata/testhost/test.png --start 1215003342
> --end 1278075342 -l 0 -u 1 -w 600 -h 30 -r --title "testhost / testservice"
> DEF:var1=/opt/pnp/var/perfdata/testhost/testservice.rrd:1:MAX
> CDEF:x1=var1,0,1,LIMIT CDEF:x2=var1,1.01,2,LIMIT CDEF:x3=var1,2.01,3,LIMIT
> CDEF:x4=var1,3.01,4,LIMIT AREA:x1#00FF00 AREA:x2#FFFF00 AREA:x3#FF0000
> AREA:x4#FF8800 GPRINT:var1:LAST:"letzter Status\: %3.0lf "
>
> --> Segmentation fault
>
> dmesg --> [2443658.506641] rrdtool[23554]: segfault at 9046000 ip 003c9fc0
> sp bf9d6620 error 6 in librrd.so.4.0.0[3af000+2d000]
>
> Thanks to Jörg, for getting this informations.
>
> Has anyone any idea what could be the problem?
>
> The system is an Ubuntu-Server 9.10. (not 8.04, sorry)
> (Kernel 2.6.31-22)
>
> Kind regards
> Thomas
>
>
--
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