Closed oetiker closed 12 years ago
Hi,
rrdtool version 1.3.1
The bug comes when you use RRDp and cmd like this
{{{
use RRDp;
RRDp::start "/usr/bin/rrdtool";
my $GRAPHcmdnbapp=<<END; graph OUT_NAMEnbappel --start START --end END --imgformat=PNG --title=\"Title they dont close dquote !! DEF:tar0=\"IN_NAME\":tar:AVERAGE AREA:taa0#0000FF:\"Serie\t\" END
RRDp::cmd $GRAPHcmdnbapp; RRDp::read;
exit 0; }}}
they crash the rrdtool invocation.
the result : {{{ * glibc detected * /usr/bin/rrdtool: double free or corruption (top): 0x091bb0f8 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6[0xb7e07604] /lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb7e095b6] /usr/bin/rrdtool[0x804b751] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7dae775] /usr/bin/rrdtool[0x80492a1] ======= Memory map: ======== 08048000-0804e000 r-xp 00000000 08:05 842966 /usr/bin/rrdtool 0804e000-0804f000 r--p 00005000 08:05 842966 /usr/bin/rrdtool 0804f000-08050000 rw-p 00006000 08:05 842966 /usr/bin/rrdtool ... }}}
Maybe it's already reported but I don't find anything about this.
itcsoft54 at yahoo dot com
[oetiker] fixed in r1943 ... thanks tobi
Hi,
rrdtool version 1.3.1
The bug comes when you use RRDp and cmd like this
{{{
!/usr/bin/perl
use RRDp;
RRDp::start "/usr/bin/rrdtool";
use strict;
my $GRAPHcmdnbapp=<<END; graph OUT_NAMEnbappel --start START --end END --imgformat=PNG --title=\"Title they dont close dquote !! DEF:tar0=\"IN_NAME\":tar:AVERAGE AREA:taa0#0000FF:\"Serie\t\"
END
RRDp::cmd $GRAPHcmdnbapp; RRDp::read;
exit 0; }}}
they crash the rrdtool invocation.
the result : {{{ * glibc detected * /usr/bin/rrdtool: double free or corruption (top): 0x091bb0f8 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6[0xb7e07604] /lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb7e095b6] /usr/bin/rrdtool[0x804b751] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7dae775] /usr/bin/rrdtool[0x80492a1] ======= Memory map: ======== 08048000-0804e000 r-xp 00000000 08:05 842966 /usr/bin/rrdtool 0804e000-0804f000 r--p 00005000 08:05 842966 /usr/bin/rrdtool 0804f000-08050000 rw-p 00006000 08:05 842966 /usr/bin/rrdtool ... }}}
Maybe it's already reported but I don't find anything about this.
itcsoft54 at yahoo dot com