pdftopdf "inflate data - incorrect data check" with certain PDFs

Bug #1670730 reported by Alex Korobkin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups-filters (Ubuntu)
Invalid
Undecided
Unassigned
qpdf (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When /usr/lib/cups/filter/pdftopdf is processing certain PDF files, it stops with this error message:

WARNING: ./file.pdf (file position 101510): error decoding stream
data for object 39 0: stream inflate: inflate: data: incorrect data check
ERROR: Exception: stream inflate: inflate: data: incorrect data check

Example PDF (attached a copy, too) : https://shop.groveko.nl/images/products/7010209/VIB%20Suma%20Inox%20Classic%20D7%202016-03-31.pdf

Adobe Pro doesn't seem to have any issues with these PDFs, so the error is probably not fatal for processing the file.

Revision history for this message
Alex Korobkin (korobkin) wrote :
Revision history for this message
Tobias Hoffmann (smilingthax) wrote :

Object 39 is an image; but even Object 4 (the content stream of the first page; obj 93 *is* used on that page) has such a decompression error.

Ghostscript prints:
  warning: ignoring zlib error: incorrect data check

So probably libqpdf (which is used for the very low-level pdf stuff in pdftopdf) should also handle this as warning instead of as error?

Revision history for this message
Alex Korobkin (korobkin) wrote :
Revision history for this message
Jay Berkenbilt (ejb) wrote :

The latest version of qpdf in github is able to process the attached file now. When 7.0.0 is released later this summer, it should be able to handle this file and many with similar errors. Thanks.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Fix uploaded in QPDF 6.0.0-2ubuntu1 package.

Changed in qpdf (Ubuntu):
status: New → Fix Committed
Changed in cups-filters (Ubuntu):
status: New → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qpdf - 6.0.0-2ubuntu1

---------------
qpdf (6.0.0-2ubuntu1) artful; urgency=medium

  * Fixed zlib data error handling (LP: #1670730, Upstream Issue #106).

 -- Till Kamppeter <email address hidden> Fri, 18 Aug 2017 11:06:00 -0300

Changed in qpdf (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.