DO NOT REPLY [Bug 41596] - ant 1.7 tar and bzip2 tasks corrupted output file when size exceeds certain limit

2007-04-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41596





--- Additional Comments From [EMAIL PROTECTED]  2007-04-26 08:52 ---
(In reply to comment #0)
> Description:
> 
> Ant tar task with bzip2 compression option or ant bzip2 task generates
> corrupted output for filesize of roughly 170+MB (before compression).
> 
> This problem occurs with ant version 1.7 installed in 12/06.
> Tested on linux with both jdk 1.5 and jdk 1.6
> 
> Work around: replace  or 
>  with 2 steps:  and 
> 
> For example,
> 
>  Replace this:
>  destfile="${out.file}.dmp.tar.bz2">
>   
> 
>   
> 
>  Or this:
>  compression="bzip2">
>   
> 
>   
> 
> 
> 
>  With:
> 
> 
>   
> 
>   
> 
> 
>  executable="bzip2">
> 
> 

(In reply to comment #3)
> I can't attach the testcase, since its compressed size (1.4M) exceeds the
> bugzilla limit for uploads. Does anyone have a server where I can upload and
> link it?


I believe it's the content specific.  However I couldn't upload our data because
it's confidential.  Your testcase is crucial in this case.
Hopefully ant developers will contact you to get your testcase.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 41596] - ant 1.7 tar and bzip2 tasks corrupted output file when size exceeds certain limit

2007-04-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41596





--- Additional Comments From [EMAIL PROTECTED]  2007-04-26 06:57 ---
I can't attach the testcase, since its compressed size (1.4M) exceeds the
bugzilla limit for uploads. Does anyone have a server where I can upload and
link it?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 41596] - ant 1.7 tar and bzip2 tasks corrupted output file when size exceeds certain limit

2007-04-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41596


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 41596] - ant 1.7 tar and bzip2 tasks corrupted output file when size exceeds certain limit

2007-04-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41596


[EMAIL PROTECTED] changed:

   What|Removed |Added

 OS/Version|Linux   |All




--- Additional Comments From [EMAIL PROTECTED]  2007-04-26 06:38 ---
I've run into the same problem with the bzip2 task. The src file was originally
837MB, but through repeatedly splitting the file I could create a 22MB test file
which when bzipped with the ant task creates a corrupt bz2 file (verified with
bzip2 -t). I'll attach this file as a testcase. If I cut the file to 21MB, ant
creates a working bz2 file.

I could reproduce this error on both Windows XP and Linux, so I changed the OS
field to "All".

The error happens with both Java 1.5.0_10 and Java 1.6.0. I also tested the
following ant versions:

Corrupted bz2 file:
Apache Ant version 1.7.1alpha compiled on April 25 2007 (nightly build)
Apache Ant version 1.7.0 compiled on December 13 2006

Working:
Apache Ant version 1.6.5 compiled on June 2 2005

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 41596] - ant 1.7 tar and bzip2 tasks corrupted output file when size exceeds certain limit

2007-02-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41596


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2007-02-12 11:30 ---
I have not been able to reproduce this.
I have tested with the Knoppix.iso file as
an example of a large (~700M) file:


  
   
 
   

The resultant tar bz2 file seems ok,
tar xjf works on it and the cmp program
reports no difference:

~/learning/a/big> ls
big.iso  big.iso.save  build.xml  iso.tar.bz2
~/learning/a/big> tar tjf iso.tar.bz2
big.iso
~/learning/a/big> mkdir z
~/learning/a/big> cd z
~/learning/a/big/z> tar xjf ../iso.tar.bz2
~/learning/a/big/z> cmp big.iso ../big.iso
~/learning/a/big/z>  


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]