Bug 160295 - mc displays badly files >2GB
mc displays badly files >2GB
Product: Fedora
Classification: Fedora
Component: mc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
: FutureFeature
: 160729 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2005-06-14 03:59 EDT by Jan ONDREJ
Modified: 2013-07-02 19:07 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-10 05:26:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan ONDREJ 2005-06-14 03:59:15 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Galeon/1.3.21

Description of problem:
mc has no large file support. Hangs when downloading (may be copying too)
a large file from FTP. Show 0 byes as size for >2GB files.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Try to show an large file (for example FC4-i386-DVD.iso) in mc.
2. You will see ?FC4-i386-DVD.iso as name and 0 bytes as size.

There is also a problem to download large files over FTP connection with mc.
mc hangs (segmentation fault). :(   

Additional info:
Comment 1 Leonard den Ottolander 2005-06-14 10:10:45 EDT
Typically an issue that you should report upstream
(http://savannah.gnu.org/projects/mc). Please check the upstream bug database to
make sure the issue hasn't been reported yet.

Please don't abuse the priority and severity tags. Use the link to read on how
to set them properly.

Comment 2 Jan ONDREJ 2005-06-15 09:39:21 EDT
OK, it is already reported in mc bugzilla, but I am also trying to fix this bug.

After removing of -D_FILE_OFFSET_BITS=64 from spec file anything works fine.
May be it is properly compiled only for x86_64 architecture?

It it still an UPSTREAM problem? :-)

And about severity tags. It has been reported with high priority, because it says:
  crashes - and also mc crashes after FTP connections to large files,
  loss of data - also files may be lossed after crash,
  severe memory - and segfault is a memory problem :-)
Comment 3 Jindrich Novy 2005-06-15 09:57:59 EDT
Hello Ondrej,

yes, this problem might be caused by some of my fixes to the upstream mc. I was
trying to prevent the truncations to 31/32 bits for file sizes in the .64bit
patch what was added recently. Thanks for reporting this problem upstream, but
I'm not quite sure at the moment it's actually affected. I need to investigate this.

Leonard, please don't close bugs without testing or thinking about cause of
them. It's better to let me to change status/close such bugs as I'm aware of the
changes I added downstream.
Comment 4 Jindrich Novy 2005-06-16 08:27:15 EDT
Ondrej, the problem is finally in the upstream code as I built completely
unpatched FC4 mc where this problem occurs, but the unpatched latest devel mc
works just fine. I'll release mc update for FC4 to fix this.
Comment 5 Jindrich Novy 2005-06-17 03:18:23 EDT
*** Bug 160729 has been marked as a duplicate of this bug. ***
Comment 6 Jindrich Novy 2005-06-17 03:19:38 EDT
Fix confirmed by Jan, update is coming soon.
Comment 7 Leonard den Ottolander 2005-07-03 09:07:07 EDT
Wrt comment #2 and comment #3: My mistake. I'll be more careful in closing bugs
in the future. :)
Comment 8 Jindrich Novy 2005-11-10 05:26:29 EST
Should be fixed by former updates now.

Note You need to log in before you can comment on or make changes to this bug.