Red Hat Bugzilla – Bug 160295
mc displays badly files >2GB
Last modified: 2013-07-02 19:07:43 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):
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). :(
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.
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 :-)
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.
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.
*** Bug 160729 has been marked as a duplicate of this bug. ***
Fix confirmed by Jan, update is coming soon.
Wrt comment #2 and comment #3: My mistake. I'll be more careful in closing bugs
in the future. :)
Should be fixed by former updates now.