[rrd-users] Re: rrdtool 1.0.6 core dumps on FreeBSD 3.2 during graph

Tobias Oetiker oetiker at ee.ethz.ch
Thu Aug 19 20:29:36 MEST 1999


Today you sent me mail regarding [rrd-users] rrdtool 1.0.6 core dumps on...:

*> Hi,
*> 
*> I try the following, which works on 0.99.29.1
*> 
*> /usr/local/rrdtool-1.0.6/bin/rrdtool graph /tmp/dum.gif
*> DEF:in=/usr/www/rrd/aaanxt1.ip.tele.dk.atm6-0.84.rrd:ifInOctets:MAX
*> DEF:out=/usr/www/rrd/aaanxt1.ip.tele.dk.atm6-0.84.rrd:ifOutOctets:MAX
*> CDEF:in_bits=in,8,* CDEF:out_bits=out,8,* PRINT:in_bits:MAX:%20.0f
*> PRINT:out_bits:MAX:%20.0f PRINT:in_bits:AVERAGE:%20.0f
*> PRINT:out_bits:AVERAGE:%20.0f --start -86400
*> 
*> But on 1.0.6 i get a core dump "Memory fault (core dumped)"
*> 
*> This is on FreeBSD 3.2-STABLE (3.2-RELEASE can also be used) ...
*> 
*> Any ideas ?
*> 
*> The rrd in question is at http://e.t.dk/aaanxt1.ip.tele.dk.atm6-0.84.rrd

I guess I found the problem ... the IEEE math test in the new automake
configure was just to friendly ... it is less frinedly now and finds how to
handle BSD ... I will make a patch to 1.0.6 available later today ... 

> uname -a
FreeBSD lib3.caida.org 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Thu Jun  3
14:10:27 PDT 1999     root at lib1.caida.org:/usr/src/sys/compile/lib  i386
> ./rrdtool graph dum.gif
DEF:in=aaanxt1.ip.tele.dk.atm6-0.84.rrd:ifInOctets:MAX
DEF:out=aaanxt1.ip.tele.dk.atm6-0.84.rrd:ifOutOctets:MAX
"CDEF:in_bits=in,8,*" "CDEF:out_bits=out,8,*" PRINT:in_bits:MAX:%20.0f
PRINT:out_bits:MAX:%20.0f PRINT:in_bits:AVERAGE:%20.0f
PRINT:out_bits:AVERAGE:%20.0f --start -86400
0x0
             2272953
              471507
              926628
              211132

cheers
tobi
-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list