cronolog doesn't support files larger than 2GB

Bug #180745 reported by Carlo Marcelo Arenas Belon
4
Affects Status Importance Assigned to Milestone
cronolog (Debian)
Fix Released
Unknown
cronolog (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: cronolog

problem is that cronolog doesn't open the log files using LFS and is therefore limited by the max size of an int in all 32 bit architectures.

this is a known problem in debian for several years as can be seen by :

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440152
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=304626

and has been reported upstream and available from there with a proposed fix as can be seen in :

  http://cronolog.org/patches/cronolog-large-file-patch.txt

to reproduce : in a 32bit architecture (like i386)

$ cat /dev/zero | cronolog log
$ echo $?
5
$ stat -c "%s" log
2147483647

it affects all versions of cronolog released

Revision history for this message
Carlo Marcelo Arenas Belon (carenas) wrote :

after the maximum file log size has been reached :

$ cat /dev/zero | cronolog log
File size limit exceeded (core dumped)
$ echo $?
153

Changed in cronolog:
status: Unknown → New
Revision history for this message
Maxime Chatelle (xakz) wrote :

Hi,

this bug is now fixed in new Debian version
http://ftp.de.debian.org/debian/pool/main/c/cronolog/cronolog_1.6.2+rpk-1.dsc

thank you.

Changed in cronolog (Debian):
status: New → Fix Released
Revision history for this message
Evan Peck (colors) wrote :

This bug is ready to be confirmed because it has instructions to reproduce the error and it has at least one patch.
Thank you!

Changed in cronolog (Ubuntu):
status: New → Confirmed
Revision history for this message
Shahid (shahid-afraid111) wrote :

You can Apply to Writing Jobs, Freelance Writing Jobs, Typing Jobs, Data Entry Jobs & Many other Online Tasks.
http://writingjobspot.com/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.