View Issue Details

IDProjectCategoryView StatusLast Update
0000595filegeneralpublic2017-02-27 08:36
ReporterHelmut Lichtenberg 
Assigned ToChristos Zoulas 
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Platform64-bitOSGNU/Linux kernel 3.16.0-4-amd64OS VersionDebian Jessie
Product Version5.22 
Target VersionFixed in Version 
Summary0000595: Text file erroneously recognized as zlib compressed data
DescriptionFrom the area of animal breeding I get ASCII CSV files (with pipe | as
separator) in the form:

Animal-ID|Sire-ID|Dam-ID|Birthdate|Sex

The attached datafile is erroneously recognized as zlib compressed data instead of simple ASCII text.

file -b datafile: zlib compressed data
file -bi datafile: application/zlib; charset=us-ascii
Steps To ReproduceRun against the provided datafile (first 20 lines).
Additional InformationThe problem seems to be connected to the data 1980 (see datafile). When I move one line with 1981 to the top it is recognized correctly.
Tagsregression

Relationships

Activities

Helmut Lichtenberg

Helmut Lichtenberg

2017-02-14 09:10

reporter  

datafile-zlib-bug (440 bytes)
800020|||1980-03-31|F
800260|||1980-03-31|F
800270|||1980-03-31|F
800480|||1980-03-31|F
800620|||1980-03-31|F
800630|||1980-03-31|F
801180|||1980-03-31|F
801680|||1980-03-31|F
801780|||1980-03-31|F
801920|||1980-03-31|F
802660|||1980-03-31|F
803080|||1980-03-31|F
803390|||1980-03-31|F
804040|||1980-03-31|F
804140|||1980-03-31|F
804190|||1980-03-31|F
804230|||1980-03-31|F
810020|||1981-03-31|F
810350|||1981-03-31|F
810620|||1981-03-31|F
datafile-zlib-bug (440 bytes)
Christos Zoulas

Christos Zoulas

2017-02-25 18:57

manager   ~0001477

Cannot reproduce with 5.30.
Helmut Lichtenberg

Helmut Lichtenberg

2017-02-27 08:36

reporter   ~0001479

You are right, 5.30 doesn't show this bug. Thanks for your help.

Issue History

Date Modified Username Field Change
2017-02-14 09:10 Helmut Lichtenberg New Issue
2017-02-14 09:10 Helmut Lichtenberg File Added: datafile-zlib-bug
2017-02-14 09:10 Helmut Lichtenberg Tag Attached: regression
2017-02-25 18:56 Christos Zoulas Assigned To => Christos Zoulas
2017-02-25 18:56 Christos Zoulas Status new => assigned
2017-02-25 18:57 Christos Zoulas Status assigned => feedback
2017-02-25 18:57 Christos Zoulas Note Added: 0001477
2017-02-27 08:36 Helmut Lichtenberg Note Added: 0001479
2017-02-27 08:36 Helmut Lichtenberg Status feedback => assigned