Crashes immediately after start with "read: Value too large for defined data type"

Bug #1372873 reported by Jay2k1
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
fatrace
Fix Released
Medium
Martin Pitt
fatrace (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

On my system, after starting fatrace, it spits out a few lines of output and then it crashes in less than a second. Example output:

$ sudo ./fatrace -t
18:26:15.660882 apache2(20446): W /home/user/log/admin.user.net_access.log
18:26:15.677832 mysqld(13748): R /var/lib/mysql/somedb/calling_machine.MYD
18:26:15.900233 apache2(20177): RO /home/user/cdn/www/.htaccess
18:26:15.900423 apache2(20177): C /home/user/cdn/www/.htaccess
18:26:15.900502 apache2(20177): RO /home/user/cdn/www/img/.htaccess
18:26:15.900570 apache2(20177): C /home/user/cdn/www/img/.htaccess
18:26:15.900617 apache2(20177): O /home/user/cdn/www/img/rwd/rwd-head-bg-984.png
read: Value too large for defined data type

This happens with fatrace 0.7 compiled from LP source tarball on a debian 7.6 machine:

Linux someserver 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux

I tested it on four other machines with the same OS, arch and kernel and was not able to reproduce this bug.

Let me know if you need any more information.

Martin Pitt (pitti)
Changed in fatrace:
status: New → In Progress
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
Revision history for this message
Martin Pitt (pitti) wrote :

So this is ultimately a kernel bug, which was fixed a few months ago: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1e2ee49f7f1b79f0b14884fe6a602f0411b39552

Your test machine runs 3.2, so this definitively doesn't have this fix yet.

A workaround for older kernels is to use the "real" value of O_LARGEFILE (usually it's 0 on amd64, as it's already enabled by default).

Revision history for this message
Martin Pitt (pitti) wrote :
Changed in fatrace:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in new 0.8 release: https://launchpad.net/fatrace/trunk/0.8

Changed in fatrace:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Uploaded to Debian sid, will sync to Ubuntu soon.

Changed in fatrace (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fatrace - 0.8-1

---------------
fatrace (0.8-1) unstable; urgency=medium

  * New upstream bug fix release: Fix the "Value too large for defined data
    type" error for real. (LP: #1372873)
  * Bump Standards-Version to 3.9.6 (no changes necessary).

 -- Martin Pitt <email address hidden> Tue, 23 Sep 2014 16:07:40 +0200

Changed in fatrace (Ubuntu):
status: Fix Committed → Fix Released
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.