Bug#1001543: cups-daemon: no printing at all because of ghostscript unrecoverable error

2022-08-15 Thread Brian Potkin
tags 1001543 moreinfo
thanks



Thank you for your report, Eric.

On Sat 11 Dec 2021 at 23:55:16 +0100, Eric Van Buggenhaut wrote:

> Package: cups-daemon
> Version: 2.3.3op2-7

Debian 11.1 did not ship with this version of cups-daemon.

> Severity: important
> X-Debbugs-Cc: ericv...@gmail.com
> 
> I installed cups on a fresh install and trying to print on a HP Laserjet 107r.
> 
> Any attempt at printing be it a test page or a document terminates with a
> 
> GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
> 
> D [11/Dec/2021:23:47:22 +0100] [Job 14] Printer found with device ID: 
> MFG:HP;CMD:SPL,URF,FWV,PIC,EXT,PWGRaster;PRN:5UE14A;MDL:HP Laser 103 107 
> 108;CLS:PRINTER;CID:HPLJPCLMSMV1;MODE:SPL3,R000105;STATUS:BUSY; Device URI: 
> usb://HP/Laser%20103%20107%20108?serial=CNB2N2RJGL
> D [11/Dec/2021:23:47:22 +0100] [Job 14] Device protocol: 2
> D [11/Dec/2021:23:47:22 +0100] [Job 14] Sending data to printer.
> D [11/Dec/2021:23:47:22 +0100] [Job 14] Sent 0 bytes...
> D [11/Dec/2021:23:47:22 +0100] [Job 14] Start rendering...
> D [11/Dec/2021:23:47:22 +0100] [Job 14] Processing page 1...
> D [11/Dec/2021:23:47:22 +0100] [Job 14] Error: /ioerror in --showpage--
> D [11/Dec/2021:23:47:22 +0100] [Job 14] Operand stack:
> D [11/Dec/2021:23:47:22 +0100] [Job 14] (/tmp/gs_INP1mG)   --nostringval--   
> 1   true
> D [11/Dec/2021:23:47:22 +0100] [Job 14] Execution stack:
> D [11/Dec/2021:23:47:22 +0100] [Job 14] %interp_exit   .runexec2   
> --nostringval--   showpage   --nostringval--   2   %stopped_push   
> --nostringval--   showpage   showpage   false   1   %stopped_push   1990   1  
>  3   %oparray_pop   1989   1   3   %oparray_pop   1977   1   3   %oparray_pop 
>   showpage   1978   3   3   %oparray_pop   showpage   showpage   2   1   1   
> showpage   %for_pos_int_continue   1981   3   7   %oparray_pop   showpage   
> showpage   1840   2   9   %oparray_pop   showpage   showpage
> D [11/Dec/2021:23:47:22 +0100] [Job 14] Dictionary stack:
> D [11/Dec/2021:23:47:22 +0100] [Job 14] --dict:772/1123(ro)(G)--   
> --dict:1/20(G)--   --dict:81/200(L)--   --dict:81/200(L)--   
> --dict:134/256(ro)(G)--   --dict:324/325(ro)(G)--   --dict:35/64(L)--   
> --dict:6/9(L)--   --dict:7/20(L)--
> D [11/Dec/2021:23:47:22 +0100] [Job 14] Current allocation mode is local
> D [11/Dec/2021:23:47:22 +0100] [Job 14] Last OS error: Broken pipe
> D [11/Dec/2021:23:47:22 +0100] [Job 14] GPL Ghostscript 9.55.0: Unrecoverable 
> error, exit code 1
> D [11/Dec/2021:23:47:22 +0100] [Job 14] Rendering completed
> 
> 
> 
> -- System Information:
> Debian Release: 11.1
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
> 'testing'), (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 5.10.0-9-amd64 (SMP w/8 CPU threads)
> Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
> LANGUAGE=en_US:en
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages cups-daemon depends on:
> ii  adduser  3.118
> ii  bc   1.07.1-2+b2
> ii  init-system-helpers  1.60
> ii  libavahi-client3 0.8-5
> ii  libavahi-common3 0.8-5
> ii  libc62.31-13+deb11u2
> ii  libcups2 2.3.3op2-7
> ii  libdbus-1-3  1.12.20-2
> ii  libgssapi-krb5-2 1.18.3-6+deb11u1
> ii  libpam0g 1.4.0-9+deb11u1
> ii  libpaper11.1.28+b1
> ii  libsystemd0  247.3-6
> ii  lsb-base 11.1.0
> ii  procps   2:3.3.17-5
> ii  ssl-cert 1.1.0+nmu1
> 
> Versions of packages cups-daemon recommends:
> ii  avahi-daemon  0.8-5
> ii  colord1.4.5-3
> pn  cups-browsed  
> pn  ipp-usb   

You have Recommends disabled?
 
> Versions of packages cups-daemon suggests:
> ii  cups   2.3.3op2-7
> ii  cups-bsd   2.3.3op2-7
> ii  cups-client2.3.3op2-7
> ii  cups-common2.3.3op2-7
> ii  cups-filters   1.28.7-1
> ii  cups-ppdc  2.3.3op2-3+deb11u1
> ii  cups-server-common 2.3.3op2-7
> pn  foomatic-db-compressed-ppds | foomatic-db  
> ii  ghostscript9.55.0~dfsg-3

Debian 11.1 did not ship with this version of ghostscript.

> ii  poppler-utils  20.09.0-3.1
> ii  printer-driver-cups-pdf [cups-pdf] 3.0.1-9
> pn  smbclient  
> ii  udev   247.3-6

You do not have a consistent Debian 11.1 system. Plus, my preference
is to debug on unstable. Anyway, has there been any improvement in
the printing situation in the meantine?

Regards,

Brian.



Bug#1001543: cups-daemon: no printing at all because of ghostscript unrecoverable error

2021-12-11 Thread Eric Van Buggenhaut
Package: cups-daemon
Version: 2.3.3op2-7
Severity: important
X-Debbugs-Cc: ericv...@gmail.com

I installed cups on a fresh install and trying to print on a HP Laserjet 107r.

Any attempt at printing be it a test page or a document terminates with a

GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1

D [11/Dec/2021:23:47:22 +0100] [Job 14] Printer found with device ID: 
MFG:HP;CMD:SPL,URF,FWV,PIC,EXT,PWGRaster;PRN:5UE14A;MDL:HP Laser 103 107 
108;CLS:PRINTER;CID:HPLJPCLMSMV1;MODE:SPL3,R000105;STATUS:BUSY; Device URI: 
usb://HP/Laser%20103%20107%20108?serial=CNB2N2RJGL
D [11/Dec/2021:23:47:22 +0100] [Job 14] Device protocol: 2
D [11/Dec/2021:23:47:22 +0100] [Job 14] Sending data to printer.
D [11/Dec/2021:23:47:22 +0100] [Job 14] Sent 0 bytes...
D [11/Dec/2021:23:47:22 +0100] [Job 14] Start rendering...
D [11/Dec/2021:23:47:22 +0100] [Job 14] Processing page 1...
D [11/Dec/2021:23:47:22 +0100] [Job 14] Error: /ioerror in --showpage--
D [11/Dec/2021:23:47:22 +0100] [Job 14] Operand stack:
D [11/Dec/2021:23:47:22 +0100] [Job 14] (/tmp/gs_INP1mG)   --nostringval--   1  
 true
D [11/Dec/2021:23:47:22 +0100] [Job 14] Execution stack:
D [11/Dec/2021:23:47:22 +0100] [Job 14] %interp_exit   .runexec2   
--nostringval--   showpage   --nostringval--   2   %stopped_push   
--nostringval--   showpage   showpage   false   1   %stopped_push   1990   1   
3   %oparray_pop   1989   1   3   %oparray_pop   1977   1   3   %oparray_pop   
showpage   1978   3   3   %oparray_pop   showpage   showpage   2   1   1   
showpage   %for_pos_int_continue   1981   3   7   %oparray_pop   showpage   
showpage   1840   2   9   %oparray_pop   showpage   showpage
D [11/Dec/2021:23:47:22 +0100] [Job 14] Dictionary stack:
D [11/Dec/2021:23:47:22 +0100] [Job 14] --dict:772/1123(ro)(G)--   
--dict:1/20(G)--   --dict:81/200(L)--   --dict:81/200(L)--   
--dict:134/256(ro)(G)--   --dict:324/325(ro)(G)--   --dict:35/64(L)--   
--dict:6/9(L)--   --dict:7/20(L)--
D [11/Dec/2021:23:47:22 +0100] [Job 14] Current allocation mode is local
D [11/Dec/2021:23:47:22 +0100] [Job 14] Last OS error: Broken pipe
D [11/Dec/2021:23:47:22 +0100] [Job 14] GPL Ghostscript 9.55.0: Unrecoverable 
error, exit code 1
D [11/Dec/2021:23:47:22 +0100] [Job 14] Rendering completed



-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages cups-daemon depends on:
ii  adduser  3.118
ii  bc   1.07.1-2+b2
ii  init-system-helpers  1.60
ii  libavahi-client3 0.8-5
ii  libavahi-common3 0.8-5
ii  libc62.31-13+deb11u2
ii  libcups2 2.3.3op2-7
ii  libdbus-1-3  1.12.20-2
ii  libgssapi-krb5-2 1.18.3-6+deb11u1
ii  libpam0g 1.4.0-9+deb11u1
ii  libpaper11.1.28+b1
ii  libsystemd0  247.3-6
ii  lsb-base 11.1.0
ii  procps   2:3.3.17-5
ii  ssl-cert 1.1.0+nmu1

Versions of packages cups-daemon recommends:
ii  avahi-daemon  0.8-5
ii  colord1.4.5-3
pn  cups-browsed  
pn  ipp-usb   

Versions of packages cups-daemon suggests:
ii  cups   2.3.3op2-7
ii  cups-bsd   2.3.3op2-7
ii  cups-client2.3.3op2-7
ii  cups-common2.3.3op2-7
ii  cups-filters   1.28.7-1
ii  cups-ppdc  2.3.3op2-3+deb11u1
ii  cups-server-common 2.3.3op2-7
pn  foomatic-db-compressed-ppds | foomatic-db  
ii  ghostscript9.55.0~dfsg-3
ii  poppler-utils  20.09.0-3.1
ii  printer-driver-cups-pdf [cups-pdf] 3.0.1-9
pn  smbclient  
ii  udev   247.3-6

-- no debconf information