Bug#926787: "filter failed" in CUPS, error log says "Unable to determine number of pages"

2019-04-10 Thread Jonas Smedegaard
Quoting James Van Zandt (2019-04-10 13:08:52)
> Most print jobs fail with "filter failed".  Only acroreader is able to
> print PDF files.

Thanks for reporting this issue!

Please check if this is the already reported bug 
https://bugs.debian.org/926576

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Bug#926787: "filter failed" in CUPS, error log says "Unable to determine number of pages"

2019-04-10 Thread James Van Zandt
Package: ghostscript
Version: 9.27~dfsg-1
Severity: normal


Most print jobs fail with "filter failed".  Only acroreader is able to
print PDF files.


The entry in /var/log/cups/error_log is:
  D [09/Apr/2019:20:17:06 -0400] [Job 1747] GPL Ghostscript 9.27:
Unrecoverable error, exit code 1
  D [09/Apr/2019:20:17:06 -0400] [Job 1747] Process is dying with \"Unable
to determine number of pages, page count: -1
  D [09/Apr/2019:20:17:06 -0400] [Job 1747] \", exit stat 3


The errors started on Apr 6:
   zgrep "Unable to determine" error*
  error_log:D [09/Apr/2019:20:17:06 -0400] [Job 1747] Process is dying with
\"Unable to determine number of pages, page count: -1
  error_log:D [09/Apr/2019:20:20:50 -0400] [Job 1748] Process is dying with
\"Unable to determine number of pages, page count: -1
  error_log.2.gz:D [07/Apr/2019:17:51:43 -0400] [Job 1741] Process is dying
with \"Unable to determine number of pages, page count: -1
  error_log.3.gz:D [06/Apr/2019:09:11:42 -0400] [Job 1736] Process is dying
with \"Unable to determine number of pages, page count: -1
  error_log.3.gz:D [06/Apr/2019:09:12:33 -0400] [Job 1736] Process is dying
with \"Unable to determine number of pages, page count: -1
  error_log.3.gz:D [06/Apr/2019:09:23:30 -0400] [Job 1737] Process is dying
with \"Unable to determine number of pages, page count: -1
  error_log.3.gz:D [06/Apr/2019:09:35:34 -0400] [Job 1738] Process is dying
with \"Unable to determine number of pages, page count: -1
  root@home:/var/log/cups#

I may not have printed between 3/31 and 4/6.

Updates on 4/1 included:

  Start-Date: 2019-04-01  19:38:30
  Commandline: apt-get -y upgrade
  Requested-By: jrv (1000)
  Upgrade:
  libcups2:amd64 (2.2.10-4, 2.2.10-5),
  libcups2:i386 (2.2.10-4, 2.2.10-5),
  cups-server-common:amd64 (2.2.10-4, 2.2.10-5),
  cups-common:amd64 (2.2.10-4, 2.2.10-5),
  cups-ppdc:amd64 (2.2.10-4, 2.2.10-5),
  cups-bsd:amd64 (2.2.10-4, 2.2.10-5),
  cups-core-drivers:amd64 (2.2.10-4, 2.2.10-5),
  cups-daemon:amd64 (2.2.10-4, 2.2.10-5),
  libcupsimage2:amd64 (2.2.10-4, 2.2.10-5),
  cups:amd64 (2.2.10-4, 2.2.10-5),
  cups-client:amd64 (2.2.10-4, 2.2.10-5),
  cups-ipp-utils:amd64 (2.2.10-4, 2.2.10-5),
  End-Date: 2019-04-01  19:47:02


Updates on 4/4 included:

  Start-Date: 2019-04-04  21:24:21
  Commandline: apt-get -y upgrade
  Requested-By: jrv (1000)
  Upgrade:
  ghostscript-doc:amd64 (9.26a~dfsg-2, 9.27~dfsg-1),
  ghostscript:amd64 (9.26a~dfsg-2, 9.27~dfsg-1),
  ghostscript-x:amd64 (9.26a~dfsg-2, 9.27~dfsg-1),
  End-Date: 2019-04-04  21:28:54

cups-filters has not been upgraded since at least 3/1.

I found these in my backups:
  -rw-r--r-- 1 root root   94436 Apr  9 21:00
/tmp/ghostscript_9.26a~dfsg-2_amd64.deb
  -rw-r--r-- 1 root root 3449200 Apr  9 21:00
/tmp/ghostscript-doc_9.26a~dfsg-2_all.deb
  -rw-r--r-- 1 root root   90360 Apr  9 21:00
/tmp/ghostscript-x_9.26a~dfsg-2_amd64.deb
  -rw-r--r-- 1 root root   26948 Apr  9 21:00
/tmp/libfile-slurp-perl_.26-1_all.deb
  -rw-r--r-- 1 root root 2197888 Apr  9 21:00
/tmp/libgs9_9.26a~dfsg-2_amd64.deb
  -rw-r--r-- 1 root root 5135548 Apr  9 21:00
/tmp/libgs9-common_9.26a~dfsg-2_all.deb

After downgrading to those versions, printing works again.


I conclude that the last version of Ghostscript is (at least) incompatible
with CUPS.

- Jim Van Zandt


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (700, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ghostscript depends on:
ii  libc6   2.28-8
ii  libgs9  9.26a~dfsg-2

Versions of packages ghostscript recommends:
ii  gsfonts  1:8.11+urwcyr1.0.7~pre44-4.4

Versions of packages ghostscript suggests:
ii  ghostscript-x  9.26a~dfsg-2

-- no debconf information