Timerange bug in argus-clients 3.0.5.19

maketsi maketsi at gmail.com
Fri Aug 19 01:56:20 EDT 2011


Hi,

About one year ago I reported you a timerange bug in ra version
3.0.3.17, which I think was fixed after that.
Now however, the newest argus-clients version 3.0.5.19 contains the
same bug again.

# ra -n -t 1313697600-1313701200 -r argus.dat
ra[12851]: 2011-08-19T08:50:43 error: invalid time range startime_t
1313784000.000000 lasttime_t 1313701200.000000

# convdate.pl 1313697600
2011-08-18 23:00:00
# convdate.pl 1313701200
2011-08-19 00:00:00

The error happens whenever the start time is between 23:00-24:00, and
the end time is after 24:00.
Note how argus changes the processing start time to be 1313784000 (=
2011-08-19 23:00:00) that is actually 24 hours after the start time I
requested.


Environment:
System:  Linux 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010
x86_64 x86_64 x86_64 GNU/Linux
Arch:    x86_64
Paths:    /opt/argus/bin/ra /usr/bin/make /usr/bin/gmake /usr/bin/gcc
/usr/bin/cc
RA:      Ra Version 3.0.5.19

GCC:     Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disa$
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)

LIBC:
lrwxrwxrwx 1 root root 11 Aug 17 12:40 /lib/libc.so.6 -> libc-2.5.so
-rwxr-xr-x 1 root root 1693812 Jun 27 20:25 /lib/libc-2.5.so
-rw-r--r-- 1 root root 3013568 Jun 27 15:23 /usr/lib/libc.a
-rw-r--r-- 1 root root 238 Jun 27 14:54 /usr/lib/libc.so



More information about the argus mailing list