Skip to content

Print jobs fail due to filter error (ghostscript crash) #40289

Open

Description

@cjdesno

Is this a new report?

Yes

System Info

Void 5.18.19_1 x86_64 GenuineIntel notuptodate rrmFFFFFF

Package(s) Affected

cups-2.4.2_1, cups-filters-1.28.15_2, ghostscript-9.55.0_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

not sure. here's one that is similar but was fixed in an earlier cups-filters release: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926576

Expected behaviour

When I print a file to the printer, it should print.

Actual behaviour

Print job failed with "filter error".

cups error logs indicate this is due to ghostscript crashing:

E [01/Nov/2022:22:24:43 -0700] [Job 50] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
D [01/Nov/2022:22:24:43 -0700] [Job 50] The following messages were recorded from 22:24:42 to 22:24:43
D [01/Nov/2022:22:24:43 -0700] [Job 50] Gutenprint: ERROR: ***Gutenprint 5.3.4 assertion list != NULL failed! file print-list.c, line 212.  Please report this 
bug!
D [01/Nov/2022:22:24:43 -0700] [Job 50] PID 4136 (/usr/lib/cups/filter/rastertogutenprint.5.3) crashed on signal 6.
D [01/Nov/2022:22:24:43 -0700] [Job 50] Hint: Try setting the LogLevel to "debug" to find out more.
D [01/Nov/2022:22:24:43 -0700] [Job 50] OUTFORMAT=\"<none>\", so output format will be CUPS/PWG Raster
D [01/Nov/2022:22:24:43 -0700] [Job 50] Loading USB quirks from \"/usr/share/cups/usb\".
D [01/Nov/2022:22:24:43 -0700] [Job 50] Loaded 118 quirks.
D [01/Nov/2022:22:24:43 -0700] [Job 50] Printing on printer with URI: usb://Canon/MG3600%20series?serial=4DF22B&interface=1
D [01/Nov/2022:22:24:43 -0700] [Job 50] libusb_get_device_list=5
D [01/Nov/2022:22:24:43 -0700] [Job 50] STATE: +connecting-to-device
D [01/Nov/2022:22:24:43 -0700] [Job 50] pdftopdf: Last filter determined by the PPD: rastertogutenprint.5.3; FINAL_CONTENT_TYPE: application/vnd.cups-raster =>
 pdftopdf will not log pages in page_log.
D [01/Nov/2022:22:24:43 -0700] [Job 50] STATE: -connecting-to-device
D [01/Nov/2022:22:24:43 -0700] [Job 50] iSerialNumber=\"4DF22B\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] Printer found with device ID: MFG:Canon;CMD:BJL,BJRaster3,BSCCe,NCCe,IVEC,IVECPLI;SOJ:BJNP2,BJNPe;MDL:MG3600 series;CLS
:PRINTER;DES:Canon MG3600 series;VER:2.050;STA:10;FSI:00;HRI:2;MSI:AOFF,B240,DAT,E3,HFSF,JOFF,K21000700,LOFF;PDR:3;PSE:KLDH39252;CID:CA_IVEC1TYPE4_IJP; Device 
URI: usb://Canon/MG3600%20series?serial=4DF22B&interface=1
D [01/Nov/2022:22:24:43 -0700] [Job 50] Device protocol: 2
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] PDF interactive form and annotation flattening done via QPDF
D [01/Nov/2022:22:24:43 -0700] [Job 50] pdftopdf: \"print-scaling\" IPP attribute: auto
D [01/Nov/2022:22:24:43 -0700] [Job 50] pdftopdf: Print scaling mode: Do not scale, center, crop if needed
D [01/Nov/2022:22:24:43 -0700] [Job 50] After Cropping: 612.000000 792.000000 612.000000 792.000000
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Sending data to printer.
D [01/Nov/2022:22:24:43 -0700] [Job 50] Sent 0 bytes...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] PID 4134 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Color Manager: Calibration Mode/Off
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Calling FindDeviceById(cups-usb-canon)
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any
 .service files
D [01/Nov/2022:22:24:43 -0700] [Job 50] Failed to get find device cups-usb-canon
D [01/Nov/2022:22:24:43 -0700] [Job 50] Calling FindDeviceById(cups-usb-canon)
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any
 .service files
D [01/Nov/2022:22:24:43 -0700] [Job 50] Failed to get device cups-usb-canon
D [01/Nov/2022:22:24:43 -0700] [Job 50] Color Manager: no profiles specified in PPD
D [01/Nov/2022:22:24:43 -0700] [Job 50] Color Manager: ICC Profile: None
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Ghostscript using Any-Part-of-Pixel method to fill paths.
D [01/Nov/2022:22:24:43 -0700] [Job 50] Ghostscript command line:DEBUG: Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] gs -dQUIET -dSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdou
t -sDEVICE=cups -sMediaClass=Front -sMediaType=Plain -r600x600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsC
olorSpace=0 -dcupsRowFeed=2 -scupsPageSizeName=Letter -I/usr/share/cups/fonts -c \'<</.HWMargins[0.000000 0.000000 0.000000 0.000000] /Margins[0 0]>>setpagedev
ice\' -f -_
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[0]=\"CUPS_CACHEDIR=/var/cache/cups\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[1]=\"CUPS_DATADIR=/usr/share/cups\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[2]=\"CUPS_DOCROOT=/usr/share/doc/cups\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[3]=\"CUPS_REQUESTROOT=/var/spool/cups\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[4]=\"CUPS_SERVERBIN=/usr/lib/cups\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[5]=\"CUPS_SERVERROOT=/etc/cups\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[6]=\"CUPS_STATEDIR=/run/cups\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[7]=\"HOME=/var/spool/cups/tmp\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[8]=\"PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[9]=\"SERVER_ADMIN=root@dppdtt\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[10]=\"SOFTWARE=CUPS/2.4.2\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[11]=\"TMPDIR=/var/spool/cups/tmp\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[12]=\"USER=root\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[13]=\"CUPS_MAX_MESSAGE=2047\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[14]=\"CUPS_SERVER=/run/cups/cups.sock\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[15]=\"CUPS_ENCRYPTION=IfRequested\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[16]=\"IPP_PORT=631\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[17]=\"CHARSET=utf-8\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[18]=\"LANG=en_US.UTF-8\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[19]=\"PPD=/etc/cups/ppd/usb-canon.ppd\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[20]=\"CONTENT_TYPE=application/pdf\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[21]=\"DEVICE_URI=usb://Canon/MG3600%20series?serial=4DF22B&interface=1\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[22]=\"PRINTER_INFO=canon\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[23]=\"PRINTER_LOCATION=room\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[24]=\"PRINTER=usb-canon\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[25]=\"PRINTER_STATE_REASONS=none\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[26]=\"CUPS_FILETYPE=document\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[27]=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] envp[28]=\"AUTH_INFO_REQUIRED=none\"
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 512 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Read 418 bytes of back-channel data...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Start rendering...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Processing page 1...
D [01/Nov/2022:22:24:43 -0700] [Job 50] Error: /ioerror in --showpage--
D [01/Nov/2022:22:24:43 -0700] [Job 50] Operand stack:
D [01/Nov/2022:22:24:43 -0700] [Job 50] (/var/spool/cups/tmp/gs_fun1Ps)   --nostringval--   1   true
D [01/Nov/2022:22:24:43 -0700] [Job 50] Execution stack:
D [01/Nov/2022:22:24:43 -0700] [Job 50] %interp_exit   .runexec2   --nostringval--   showpage   --nostringval--   2   %stopped_push   --nostringval--   showpag
e   showpage   false   1   %stopped_push   1974   1   3   %oparray_pop   1973   1   3   %oparray_pop   1961   1   3   %oparray_pop   showpage   1962   3   3   
%oparray_pop   showpage   showpage   2   1   2   showpage   %for_pos_int_continue   1965   3   7   %oparray_pop   showpage   showpage   1824   2   9   %oparray
_pop   showpage   showpage
D [01/Nov/2022:22:24:43 -0700] [Job 50] Dictionary stack:
D [01/Nov/2022:22:24:43 -0700] [Job 50] --dict:775/1123(ro)(G)--   --dict:1/20(G)--   --dict:81/200(L)--   --dict:81/200(L)--   --dict:134/256(ro)(G)--   --dic
t:325/325(ro)(G)--   --dict:35/64(L)--   --dict:6/9(L)--   --dict:6/20(L)--
D [01/Nov/2022:22:24:43 -0700] [Job 50] Current allocation mode is local
D [01/Nov/2022:22:24:43 -0700] [Job 50] Last OS error: Broken pipe
D [01/Nov/2022:22:24:43 -0700] [Job 50] GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
D [01/Nov/2022:22:24:43 -0700] [Job 50] Rendering completed
D [01/Nov/2022:22:24:43 -0700] [Job 50] PID 4135 (/usr/lib/cups/filter/gstoraster) stopped with status 1.
D [01/Nov/2022:22:24:43 -0700] [Job 50] Hint: Try setting the LogLevel to "debug" to find out more.
D [01/Nov/2022:22:24:43 -0700] [Job 50] Waiting for read thread to exit...
D [01/Nov/2022:22:24:43 -0700] [Job 50] PID 4137 (/usr/lib/cups/backend/usb) exited with no errors.
D [01/Nov/2022:22:24:43 -0700] [Job 50] End of messages
D [01/Nov/2022:22:24:43 -0700] [Job 50] printer-state=3(idle)
D [01/Nov/2022:22:24:43 -0700] [Job 50] printer-state-message="Rendering completed"
D [01/Nov/2022:22:24:43 -0700] [Job 50] printer-state-reasons=none

Steps to reproduce

  1. Open a pdf in firefox
  2. Print to canon usb printer
  3. Print job fails with filter error

Activity

  1. added
    bugSomething isn't working
    needs-testingTesting a PR or reproducing an issue needed
    on Nov 2, 2022
  2. nezos commented on Jan 3, 2023

    @nezos
    Contributor

    As far as I understand from the log file, you are using Canon's driver for linux. I have also a Canon printer and my printer stopped printing with cups > 2.4. I ended downgrading to cups-2.3.3op2_1 (which I compiled locally with xbps-src) BUT I also compiled Canon's drivers by myself after doing some corrections inside the source files. Thankfully the some libraries worked although source code was not available. It took a lot of debugging.

    I would share my instructions but they don't fit your printer, I have an MX920 and the driver is different. I haven't checked it. In my case Canon stopped releasing new versions for the printer since 2013.

  3. tomo90 commented on Jul 3, 2023

    @tomo90

    Seem quite similar to this report - #43534

    what helped me was uninstalling the gutenprint package and install it from source - #43534 (comment)

    printing started working right away

  4. Kakoks commented on Sep 29, 2023

    @Kakoks

    tomo90 could you help me a little? I have an epson l120 and the cups log suggest the gutenprint filter failed (cups web interface says "idle - filter failed". I tried installing gutenprint from source and did it successfully but now how do i apply the specific driver on system-printer-config?

  5. tomo90 commented on Oct 7, 2023

    @tomo90

    tomo90 could you help me a little? I have an epson l120 and the cups log suggest the gutenprint filter failed (cups web interface says "idle - filter failed"....

    @Kakoks I'm not really familiar with system-printer-config. I just configure my printer through CUPS's standard web interface - http://localhost:631
    The "Add printer" guide allows you to choose the guttenprint package you compiled and installed previously.

  6. balejk commented on Mar 9, 2025

    @balejk
    Contributor

    I get the same error on x86_64-musl. It can be solved by building the package with the following patch applied to the template:

    diff --git a/srcpkgs/gutenprint/template b/srcpkgs/gutenprint/template
    index 230cc64f7722..307c41544aa1 100644
    --- a/srcpkgs/gutenprint/template
    +++ b/srcpkgs/gutenprint/template
    @@ -1,10 +1,10 @@
     # Template file for 'gutenprint'
     pkgname=gutenprint
     version=5.3.4
    -revision=1
    +revision=2
     build_style=gnu-configure
    -configure_args="--disable-rpath --enable-samples --disable-static
    - --disable-static-genppd --enable-cups-ppds --enable-simplified-cups-ppds=only
    +configure_args="--enable-samples
    + --enable-cups-ppds --enable-simplified-cups-ppds=only
      --enable-translated-cups-ppds --enable-globalized-cups-ppds"
     hostmakedepends="ghostscript perl"
     makedepends="cups-devel"

    I don't have time to try right now which specific one of the removed flags fixes the problem, but building from source works (as mentioned above) exactly because (some of) these flags are not set by default.

  7. Gorggg commented on Mar 19, 2025

    @Gorggg
    Contributor

    This should now be fixed in the 5.3.5 release (pull request #54678), which includes this fix:
    https://sourceforge.net/p/gimp-print/source/merge-requests/10/

    When I got this problem, I found it was due to an interaction of void-packages with gutenprint's build system, which led to the path to gutenprint's modules being defined incorrectly as:

    /* */
    #define PKGMODULEDIR "${exec_prefix}/lib64/gutenprint/5.3/modules"
    

    This was due to these lines in void-packages which specified libdir on the configure command line in terms of exec_prefix, which gutenprint's configure script put directly into config.h instead of allowing it to have prefix variables substituted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-testingTesting a PR or reproducing an issue needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions