Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76679 - fam has problems with 2GB+ files (patch fix included)
Summary: fam has problems with 2GB+ files (patch fix included)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: John N. Laliberte (RETIRED)
URL:
Whiteboard:
Keywords:
: 96761 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-04 13:21 UTC by Christian Rudh
Modified: 2005-06-22 07:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Large file patch (fam-2.7.0-largefile.patch,326 bytes, patch)
2005-01-21 20:24 UTC, Daniel Bowser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Rudh 2005-01-04 13:21:54 UTC
fam has problems with files larger than 2GB. If such a file is selected and right clicked upon in Nautilus the file disappears. If you re-open the window it is back again.

Reproducible: Always
Steps to Reproduce:
1. Locate a file larger than 2GB.
2. Select it.
3. Right click on it.

Actual Results:  
The file disappears.

Expected Results:  
The right click menu should appear.

This is verified in the GNOME bugzilla to be a problem with fam and not with
Nautilus. They have a 3 line patch to fam to fix the problem. Maybe this patch
can be included in the Gentoo ebuild (this was the reason for me to report it
here)? The bug and solution is from late 2002, but the problem is still there
and maybe the patch still works.

The bug on GNOME bugzilla:
http://bugzilla.gnome.org/show_bug.cgi?id=94730

The patch in the Nautilus mailing list:
http://mail.gnome.org/archives/nautilus-list/2002-October/msg00184.html
Comment 1 foser (RETIRED) gentoo-dev 2005-01-05 07:46:05 UTC
we had this patch when it was needed and iirc the newer fam releases (2.7.*) have this included already.
Comment 2 Christian Rudh 2005-01-05 08:03:14 UTC
Strange. I have the exact same problem right now on Gentoo (~x86) and have had for at least a year. If I shut fam down it works correctly.
Comment 3 Daniel Bowser 2005-01-21 20:22:20 UTC
I Made a patch that works with fam-2.7.0. This fixes the problem for me, I've been able to work with files up to 4.4GB.
Comment 4 Daniel Bowser 2005-01-21 20:24:05 UTC
Created attachment 49166 [details, diff]
Large file patch
Comment 5 Christian Rudh 2005-01-22 02:13:31 UTC
Thanks Daniel, that patch solved all my problems! It would be nice if it was included by default.
Comment 6 CJ van den Berg 2005-04-21 16:09:48 UTC
I can confirm that this bug is still there with fam-2.7.0-r2 and that the patch fixes the problem. *Please* can someone add the patch to the ebuild. This bug is a  real PITA and the fix is simple and clean (not to mention 3 years old).
Comment 7 John N. Laliberte (RETIRED) gentoo-dev 2005-04-28 20:19:48 UTC
magical :) 

I confirm this happens with fam-2.7.0-r2, will add the patch tommorrow morning in the tree.

To reproduce ( for other gnome gentoo devs to try ):
dd if=/dev/zero of=/tmp/bigZero bs=256k count=8500
/etc/init.d/famd start
open nautilus and right click the file
watch it disappear :)
hit the refresh button in nautilus, watch it reappear
rinse and repeat
Comment 8 John N. Laliberte (RETIRED) gentoo-dev 2005-04-29 05:52:03 UTC
patch committed to tree ~ for fam-2.7.0-r3. Please test! Thanks.
Comment 9 Linux Blues 2005-06-22 07:06:17 UTC
*** Bug 96761 has been marked as a duplicate of this bug. ***