Package: rrdtool
Version: 1.3.8-1
Severity: normal

On 64 bit (amd64) all it gives are NaN values.

Test-case:
rrdtool create file.rrd --step 300  \
        DS:values:GAUGE:900:U:U  \
        RRA:AVERAGE:0.5:1:2016    \
        RRA:MIN:0.5:1:2016    \
        RRA:MAX:0.5:1:2016    \
        RRA:AVERAGE:0.5:12:744    \
        RRA:MIN:0.5:12:672    \
        RRA:MAX:0.5:12:672    \
        RRA:AVERAGE:0.5:288:730  \
        RRA:MIN:0.5:288:730  \
        RRA:MAX:0.5:288:730

/usr/bin/rrdtool update file.rrd 1273335162:0.005438
/usr/bin/rrdtool update file.rrd 1273335462:0.002476
/usr/bin/rrdtool update file.rrd 1273335762:0.002664
/usr/bin/rrdtool update file.rrd 1273336062:0.003119

If I then dump the file, I only get NaN values.

If on the other hand I do it on my 32 bit system, I DO get values! Exact same 
code and same rrdtool version.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-pps (SMP w/4 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.9-12       GNU C Library: Shared libraries
ii  libcairo2                   1.8.8-2      The Cairo 2D vector graphics libra
ii  libglib2.0-0                2.22.3-1     The GLib library of C routines
ii  libpango1.0-0               1.26.2-1     Layout and rendering of internatio
ii  libpng12-0                  1.2.40-1     PNG library - runtime
ii  librrd4                     1.3.8-1      Time-series data storage and displ
ii  libxml2                     2.7.6.dfsg-1 GNOME XML library

rrdtool recommends no packages.

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

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to