Bug#987566: ghostscript: PDF Interpreter error on armel
Package: ghostscript
Version: 9.27~dfsg-2+deb10u4
Severity: grave
Justification: renders package unusable
Dear Maintainer,
Initialy, I found the bug by updating from Debian stretch to buster (10.9): the printer was working on stretch but no more on buster. The device was running on armel. I did tests on i686 and it works.
After investigation, I was able to identify the « smallest » error context. The following command:
gs -dPDFDEBUG -dPARANOIDSAFER -dNOPAUSE -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=jpeg -sMediaType=Automatic -sOutputType=0 -r600x600 -dMediaPosition=7 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=841 -dcupsMediaType=-1 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=17 -dcupsInteger0=26 -scupsPageSizeName=A4 -I/usr/share/cups/fonts -c '<</.HWMargins[9.000000 9.000000 9.000000 9.000000] /Margins[0 0]>>setpagedevice' -f -_ < /tmp/ades.cups-pdf >/dev/null
Produces error messages on armel but not on i686:
8.33333 0 0 8.33333 0 0 cm
BT
**** Error reading a content stream. The page may be incomplete.
Output may be incorrect.
**** Error: Form stream has unbalanced q/Q operators (too many q's)
Output may be incorrect.
Q
Q
**** Error: File did not complete the page properly and may be damaged.
Output may be incorrect.
%Resolving: [1 0]
The input is obtained from hp-setup print test page (PS) converted to cups-pdf with cupsfilter, which certainly means that gs is not able to read a PDF it generates.
-- System Information:
Debian Release: 10.9
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armel (armv5tel)
Kernel: Linux 4.19.158-1
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ghostscript depends on:
ii libc6 2.28-10
ii libgs9 9.27~dfsg-2+deb10u4
Versions of packages ghostscript recommends:
ii gsfonts 1:8.11+urwcyr1.0.7~pre44-4.4
Versions of packages ghostscript suggests:
pn ghostscript-x <none>
-- no debconf information
Reply to: