DO NOT REPLY [Bug 41596] - ant 1.7 bzip2 task creates corrupted output file for some inputs

2007-05-30 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 |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |1.7.1




--- Additional Comments From [EMAIL PROTECTED]  2007-05-30 06:30 ---
I have reverted the bzip2 output stream code, and the example
files that were provided now work. Thanks a lot for providing
the example files - they were extremely useful.

-- 
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 bzip2 task creates corrupted output file for some inputs

2007-05-28 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-05-28 08:39 ---

Opps THAT should be: !
http://svn.apache.org/viewvc?view=rev&revision=278185


-- 
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 bzip2 task creates corrupted output file for some inputs

2007-05-28 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

   Severity|normal  |regression




--- Additional Comments From [EMAIL PROTECTED]  2007-05-28 08:34 ---
Tested with ant 1.6.5.
ant 1.6.5 works with this build file - so this is a regression.
comment #2 also says this.

Looking at the SVN repository the main change that
I can see is: revison 278185
http://svn.apache.org/viewvc?view=rev&revision=276208

which was applied as a result of:
http://issues.apache.org/bugzilla/show_bug.cgi?id=24798

this was done to make bzip2 faster and use less memory - however
on some edge cases it does seem to generate corrupt files.
I would suggest rolling back the changes.





-- 
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 bzip2 task creates corrupted output file for some inputs

2007-05-02 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

 AssignedTo|[EMAIL PROTECTED]  |dev@ant.apache.org




--- Additional Comments From [EMAIL PROTECTED]  2007-05-02 03:20 ---
Thanks for the test build file and data.
I can confirm that I see the same error.
reassigning to dev@ant.apache.org

-- 
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 bzip2 task creates corrupted output file for some inputs

2007-05-02 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

 AssignedTo|dev@ant.apache.org  |[EMAIL PROTECTED]
 Status|NEEDINFO|NEW




--- Additional Comments From [EMAIL PROTECTED]  2007-05-02 03:08 ---
Changing status and reassigning to [EMAIL PROTECTED] as requested in the
NEEDINFO status description.

-- 
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 bzip2 task creates corrupted output file for some inputs

2007-05-02 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-05-02 03:06 ---
Created an attachment (id=20086)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20086&action=view)
Testcase with datafile for which the bzip2 task creates a corrupted bz2 file

I have managed to reduce the size of my testcase to 10MB uncompressed (should
have done that earlier). Note that if I only take the last 9MB of the testcase
file, the created bzip2 file is correct.

The attached archive contains a testcase data file for which the ant bzip2 task
creates a corrupted bz2 archive and an ant buildfile which demonstrates the
behavior. The buildfile creates the bz2 archive and then executes the
command-line bzip2 -tv, which shows the error.

-- 
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 bzip2 task creates corrupted output file for some inputs

2007-04-29 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-29 22:53 ---
(In reply to comment #6)
> So is it the content of your specific file, or might it be possible to create 
> a
> buildfile or other program capable of -producing- a file that would show the
> same problems?

I tried at first to set up a script which creates files with random data of
increasing length to generate a smaller testcase, but the script ran very slow
(mainly because of /dev/random taking long to generate random data). I am also
not sure how the bzip2 algorithm behaves on pseudorandom data and if the error
will be triggered at all.

I think that to create a testcase, knowledge of the algorithms used is needed to
generate testcases for the boundary conditions; in other words you already need
to have a good idea what the error might be to write a testcase for it (and I
have no understanding of how bzip2 works).

-- 
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 bzip2 task creates corrupted output file for some inputs

2007-04-29 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-29 21:08 ---
(In reply to comment #6)
> So is it the content of your specific file, or might it be possible to create 
> a
> buildfile or other program capable of -producing- a file that would show the
> same problems?

My file was an oracle dump file.

-- 
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 bzip2 task creates corrupted output file for some inputs

2007-04-28 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-28 13:41 ---
So is it the content of your specific file, or might it be possible to create a
buildfile or other program capable of -producing- a file that would show the
same problems?

-- 
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 bzip2 task creates corrupted output file for some inputs

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

Summary|ant 1.7 tar and bzip2 tasks |ant 1.7 bzip2 task creates
   |corrupted output file when  |corrupted output file for
   |size exceeds certain limit  |some inputs




--- Additional Comments From [EMAIL PROTECTED]  2007-04-26 23:02 ---
I have updated the summary to better describe the problem.

-- 
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]