[rrd-developers] "rrdtool restore" error handling and implementation

Terje Bless link at pobox.com
Fri Feb 22 09:03:21 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tobi at oetiker.ch (Tobias Oetiker) wrote:

>rrdtool restore should not crash ... it should complain ... could you
>please send me that crasher example ? The shorter the better!

Attached (as minimal as I can make it). CC'ed in case the list 
eats attachments.


The pattern is an RRD with two RRAs, each with one DS. When I 
add a DS to the first RRA, but not to the second, rrdtool 
restore segfaults. I think I've eliminated other editing errors 
(values, cdef, etc.), but I'm not that well versed in rrdtool so 
it's not unreasonable to assume I've made other booboos in there.

This is with rrdtool 1.2.23 on RHEL5 x86. I can't easily build 
SVN trunk on that box (among other things it's behind paranoid 
firewalls etc.), so I haven't tested if this problem still 
exists there. If necessary I can try and get set up for testing 
this on a Fedora box.


HTH, -link


- -- 
   “Fly it until the last piece stops moving…”

-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.10

wj8DBQFHvoHGo/I+siR19ewRAldEAKDy0H40pclVUtl8fv9U1RAL6FPe5gCfU4OL
3k8T9O085o1ZIklTfeXVNfg=s4Z7
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: segfault.zip
Type: application/zip
Size: 716 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20080222/a680acef/attachment.zip 


More information about the rrd-developers mailing list