Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Premature termination of Bzip2::Reader - critical! #22

Open
maasha opened this issue Sep 26, 2013 · 1 comment
Open

Premature termination of Bzip2::Reader - critical! #22

maasha opened this issue Sep 26, 2013 · 1 comment

Comments

@maasha
Copy link

maasha commented Sep 26, 2013

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)

@cawel
Copy link

cawel commented Sep 9, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants