Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET Bug on ZLibCompressedStream /XCeedCompressedStream with Deflate64 compression

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #20221 |

    I  am using ZLibCompressedStream (Deflate64 option) to perform in memory compression and write the results to a database. I have found a few cases (20 in 30000) where the decompressed data does not match. The failure is repeatable – ie I have source data that always fails in a consistent way. The failure does not occur if the Deflate option is used on the same data. My data is characterised by large numbers of zeroes which result in a very high compression ratio which may be a factor. The fault occurs in v3.1 and v3.4 although the failure is slightly different. Has anyone experienced this problem? Is this a known bug in these versions that is fixed in later versions.

     

    Other users may want to be cautious in using the deflate64 option until Xceed have had a chance to comment on this and confirm the bug or otherwise 

    Attached are two files compressed from the same data using ZlibCompressedStream but with different deflate options. The Deflate64 does not decompress correctly   

     

    Thanks

     

    Richard J 

    Imported from legacy forums. Posted by Richard (had 1055 views)

    User (Old forums)
    Member
    Post count: 23064

    Update

    This has been confirmed by XCeed as a bug and they are carrying out further investigation. I will post further information when available

     

    Richard 

    Imported from legacy forums. Posted by Richard (had 268 views)

    User (Old forums)
    Member
    Post count: 23064

    This has been confirmed as a bug on v3.4 that was fixed in v3.5 and later

     

    Also confirmed that even in the most recent versions ZLibCompressedStream does not use the header to determine the compression method so it is necessary to know in advance the type of compression and set this on instantiation

     

     

    Richard 

    Imported from legacy forums. Posted by Richard (had 1280 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.