Package: rrdtool
Version: 1.4.3-1~bpo50+1
Severity: normal

When I try to resize my rrd databases I get the following error message:

  ERROR: attempting to write beyond end of file

As I upgraded rrdtool to the version from backports because the version
from stable (1.3.1-4) corrupted all my databases on a resize this message
makes me very suspicious. The result of the resize looks good as far as
I can see with a dump, but still the message don't let me trust in it.

I can easily reproduce the error with the following 2 commands:

$ rrdtool create test.rrd DS:a:GAUGE:600:0:100 DS:b:GAUGE:600:0:100 
DS:c:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:600 
RRA:AVERAGE:0.5:24:600 RRA:AVERAGE:0.5:288:1800
$ rrdtool resize test.rrd 3 GROW 2400
ERROR: attempting to write beyond end of file

Regards

Uwe

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (850, 'stable'), (750, 'testing'), (650, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages rrdtool depends on:
ii  libc6               2.7-18lenny4         GNU C Library: Shared libraries
ii  libcairo2           1.8.8-2~bpo50+1      The Cairo 2D vector graphics libra
ii  libdbi0             0.8.2-3              Database Independent Abstraction L
ii  libglib2.0-0        2.22.4-1~bpo50+1     The GLib library of C routines
ii  libpango1.0-0       1.20.5-5+lenny1      Layout and rendering of internatio
ii  libpng12-0          1.2.27-2+lenny3      PNG library - runtime
ii  librrd4             1.4.3-1~bpo50+1      time-series data storage and displ
ii  libxml2             2.6.32.dfsg-5+lenny1 GNOME XML library

rrdtool recommends no packages.

Versions of packages rrdtool suggests:
ii  librrds-perl                  1.3.1-4    Time-series data storage and displ

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to