gzipped file cannot be read with zlib
Bug #1267930 reported by
Barry Haddow
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zlib (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi
I gzip a file (dropbox link below), but when trying to read it with zlib I get:
zlib.error: Error -3 while decompressing: invalid distances set
This seems to be a zlib problem -- using the latest zlib release (1.2.8) is fine.
For reading in the file, I am using C++ to call the zlib api, but I can reproduce the problem in a simple python program:
import gzip
fd = gzip.GzipFile(
count = 1
for line in fd:
count +=1
print count
Ubuntu 12.04
zlib1g:
Installed: 1:1.2.3.
Candidate: 1:1.2.3.
Version table:
*** 1:1.2.3.
Problem file:
https:/
cheers - Barry
To post a comment you must log in.