bzip2-ruby icon indicating copy to clipboard operation
bzip2-ruby copied to clipboard

Premature termination of Bzip2::Reader - critical!

Open maasha opened this issue 12 years ago • 1 comments

I am experiencing nasty premature termination of Bzip2::Reader. I am including a test script and a data file located here:

ftp://ftp_20130926_12853:[email protected]

Notice the difference in output:

./test.rb | wc 13206 16508 952823

bzcat bzip_test.bz2 | wc 14604484 18255605 994881701

Versions:

Linux orsted 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux] bzip2-ruby (0.2.7)

maasha avatar Sep 26 '13 09:09 maasha

I am experiencing an abrupt termination after about (only) 900 KB has been uncompressed. Any development regarding that issue?

The impression I get is as if my bz2 source file would have a special character in it which makes the Bzip2::Reader stop reading/uncompressing the source file. But I know my bz2 source file is valid since tar -xvf source_file.bz2 works flawlessly.

cawel avatar Sep 09 '15 03:09 cawel