Bug 66311 - compress seems to stop after 2GB in big files
Summary: compress seems to stop after 2GB in big files
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ncompress
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-06-07 14:33 UTC by David Stevenson
Modified: 2007-04-18 16:43 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-08-23 11:33:03 UTC
Embargoed:


Attachments (Terms of Use)

Description David Stevenson 2002-06-07 14:33:21 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0; Q312461)

Description of problem:
compress appears to stop compressing after 2GB for large files.  The file size 
started at 4GB, but when uncompressing it only comes up to about 2GB.

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


How reproducible:
Always

Steps to Reproduce:
1.  Use oracle export and import facility.
2.  Set oracle environment
3.  compress < file.dmp > file.dmp.Z &
4.  exp username/password file=file.dmp full=y
5.  uncompress < file.dmp.Z > file.dmp &
6.  imp username/password file=file.dmp show=yes
	

Actual Results:  After 4:  Export terminated successfully without warnings
After 6:
IMP-0009 - Abnormal end of export file
Import terminated successfully with warnings (which is oracle-sleak for 'it 
failed'!

Expected Results:  Import terminated successfully

Additional info:

doing a 'strings' on the export file shows that no further data was stored 
after the 2GB limit.  I suspect that this is a similar bug to that in 
the 'find' command that comes with the RedHat 7.2 release (now fixed)

Comment 1 David Stevenson 2002-06-07 15:31:44 UTC
A workaround, of course, is to use gzip, which appears to be ok, although I 
haven't done the full tests yet.  However I guess that compres, being 
a 'proper' utility, should work properly.

Comment 2 Trond Eivind Glomsrxd 2002-06-12 19:02:50 UTC
Happens to me,too... working on a fix.

Comment 3 Jeff Johnson 2004-08-23 11:33:03 UTC
Fixed in latest ncompress.


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