Comment 22 for bug 2039804

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Happy to (in addition to comment #19) confirm that qpdf + libqpdf29 from noble-release and mantic/lunar-proposed fix the issue.

noble:
---

 $ lsb_release -cs
 No LSB modules are available.
 noble

 $ wget -q https://github.com/qpdf/qpdf/files/12885974/018.pdf

 $ sudo apt update && sudo apt install -y qpdf

 $ dpkg -s qpdf | grep Version:
 Version: 11.6.3-1

 $ qpdf --check 018.pdf
 checking 018.pdf
 PDF Version: 1.7
 File is not encrypted
 File is not linearized
 No syntax or stream encoding errors found; the file may still contain
 errors that qpdf cannot detect

mantic:
---

 $ lsb_release -cs
 No LSB modules are available.
 mantic

 $ wget -q https://github.com/qpdf/qpdf/files/12885974/018.pdf

 $ sudo apt update && sudo apt install -y qpdf

 $ dpkg -s qpdf libqpdf29 | grep Version:
 Version: 11.5.0-1
 Version: 11.5.0-1

 $ qpdf --check 018.pdf
 WARNING: 018.pdf (xref stream: object 17 1, offset 110340): EOF while reading token
 WARNING: 018.pdf (xref stream: object 17 1, offset 110830): unexpected EOF
 WARNING: 018.pdf (xref stream: object 17 1, offset 110830): parse error while reading object
 WARNING: 018.pdf (xref stream: object 17 1, offset 110830): expected endobj
 WARNING: 018.pdf: file is damaged
 WARNING: 018.pdf (offset 110267): xref not found
 WARNING: 018.pdf: Attempting to reconstruct cross-reference table
 qpdf: 018.pdf: unable to find trailer dictionary while recovering damaged file

 $ sudo add-apt-repository -yp proposed
 $ sudo apt install -y -t mantic-proposed qpdf

 $ dpkg -s qpdf libqpdf29 | grep Version:
 Version: 11.5.0-1ubuntu1
 Version: 11.5.0-1ubuntu1

 $ qpdf --check 018.pdf
 checking 018.pdf
 PDF Version: 1.7
 File is not encrypted
 File is not linearized
 No syntax or stream encoding errors found; the file may still contain
 errors that qpdf cannot detect

lunar:
---

 $ lsb_release -cs
 lunar

 $ wget -q https://github.com/qpdf/qpdf/files/12885974/018.pdf

 $ sudo apt update && sudo apt install -y qpdf

 $ dpkg -s qpdf libqpdf29 | grep Version:
 Version: 11.3.0-1
 Version: 11.3.0-1

 $ qpdf --check 018.pdf
 WARNING: 018.pdf (xref stream: object 17 1, offset 110340): EOF while reading token
 WARNING: 018.pdf (xref stream: object 17 1, offset 110830): unexpected EOF
 WARNING: 018.pdf (xref stream: object 17 1, offset 110830): parse error while reading object
 WARNING: 018.pdf (xref stream: object 17 1, offset 110830): expected endobj
 WARNING: 018.pdf: file is damaged
 WARNING: 018.pdf (offset 110267): xref not found
 WARNING: 018.pdf: Attempting to reconstruct cross-reference table
 qpdf: 018.pdf: unable to find trailer dictionary while recovering damaged file

 $ sudo add-apt-repository -yp proposed
 $ sudo apt install -y -t lunar-proposed qpdf

 $ dpkg -s qpdf libqpdf29 | grep Version:
 Version: 11.3.0-1ubuntu1
 Version: 11.3.0-1ubuntu1

 $ qpdf --check 018.pdf
 checking 018.pdf
 PDF Version: 1.7
 File is not encrypted
 File is not linearized
 No syntax or stream encoding errors found; the file may still contain
 errors that qpdf cannot detect