[rrd-users] little rrd v1.0.7 bugs

steve rader rader at teak.wiscnet.net
Mon Sep 13 18:59:10 MEST 1999


Fwiw, details re three RRDtool buglets follow:

1) "rrdtool fetch" of very large values can give output that's
not easily parsable:

 bash% rrdtool fetch Sample.rrd AVERAGE -s 937096800 -e 937096805
                 input    output
  937096800:      3.413795685.33
  937097100:       NaN       NaN

What's the value for input at 937096800??  (I'm pretty sure it's

2) "rrdtool update" with "-t" that has non-existent DS dumps core
in libc.so.6 under RedHat 5.0 (linux 2.0.32 with glibc-2.0.6):

 bash% rrdtool update Sample.rrd -t input:output:no_such_ds 936993926:1:2:3
 ERROR: unknown data source name 'no_such_ds'
 Segmentation fault (core dumped)
 bash% gdb /usr/local/rrdtool-1.0.7/bin/rrdtool core
 Program terminated with signal 11, Segmentation fault.
 #0  0x40064e42 in ?? () from /lib/libc.so.6
 (gdb) where
 #0  0x40064e42 in ?? () from /lib/libc.so.6
 #1  0x400bbf94 in ?? () from /lib/libc.so.6
 #2  0x40064d01 in ?? () from /lib/libc.so.6
 #3  0x804a876 in rrd_clear_error () at rrd_error.c:35
 #4  0x8049749 in HandleInputLine (argc=6, argv=0xbffffc80, out=0x8082d10)
     at rrd_tool.c:243
 #5  0x80492ee in main (argc=6, argv=0xbffffc80) at rrd_tool.c:159

3) ambiguous "rrdtool update" with -t that has duplicate DSs
should not be allowed:

 bash% rrdtool update MadisonSD -t input:input 936993926:123:456
 bash% echo $?

Which value as inserted for the DS input at 936993926??  (The 
answer is 456.)

- - -
systems guy

* 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