[rrd-users] ERROR: attempting to write beyond end of file
tobi at oetiker.ch
Tue Aug 9 15:46:18 CEST 2011
glad it helps ... will make a new rrdtool release RSN :-)
Today Peter Valdemar Mørch wrote:
> This post is about the "ERROR: attempting to write beyond end of file"
> error message described in threads  and . ( I wasn't subscribed
> to the list at the time ).
> For the record, I just want to present a way to reproduce this if
> needed in future and confirm that r2192 indeed fixed it.
> On Jun 28, Tobi wrote in  that:
> > only in the sense that I was not able to reproduce this on our
> > systems ... it would be great to figure the cause of this ...
> One way to reproduce this is:
> * Install a minimal debian squeeze system from scratch. E.g. use the iso .
> * apt-get install rrdtool
> * run the attached reproduce.sh
> * See the attached reproduce.out.txt
> rrdtool create created.rrd DS:var1:GAUGE:600:U:U RRA:AVERAGE:0.5:1:25
> rrdtool resize created.rrd 0 GROW 1
> fails, but putting created.rrd through a dump/restore cycle makes it work.
> The next day, Jun 29, Tobi commited:
> r2192 | oetiker | 2011-06-29 17:18:22 +0200 (Wed, 29 Jun 2011) | 2 lines
> Changed paths:
> M /branches/1.4/program/src/rrd_format.c
> M /branches/1.4/program/src/rrd_resize.c
> M /trunk/program/src/rrd_format.c
> M /trunk/program/src/rrd_resize.c
> I can confirm that /branches/1.4/ part of the fix works when applied
> to rrdtool 1.4.3 on debian squeeze and that a raw checkout of
> svn://svn.oetiker.ch/rrdtool/trunk/program also works.
> : "ERROR: attempting to write beyond end of file"
> : "rrd resize error"
> : http://cdimage.debian.org/debian-cd/188.8.131.52/i386/bt-cd/debian-184.108.40.206-i386-netinst.iso.torrent
> Peter Valdemar Mørch
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