[Pkg-cups-devel] Bug#558463: cups: Cups fails to print after upgrade
Jason White
jason at jasonjgw.net
Sun Nov 29 05:34:55 UTC 2009
Package: cups
Version: 1.4.2-2
Severity: normal
After upgrading to Cups 1.4.2-2, printing always fails. Below is the log
generated when someone tried to print a Web page from Iceweasel.
Downgrading to the version of Cups in testing, i.e., 1.4.1-4, works around the
issue, which is a regression.
I have removed the title of the document from the logs for privacy reasons.
>From /var/log/cups/error_log
D [29/Nov/2009:15:49:37 +1100] [Job 5785] argv[5]="Resolution=600x1200dpi HPwmTextMessage=Draft HPwmFontName=HelveticaB Smoothing=PrinterDefault HPJobName=DocName MediaType=None HPwmTextStyle=Medium HPwmSwitch=Off HPwmTextAngle=Deg45 PageSize=Letter HPEconoMode=PrinterDefault number-up=1 HPwmFontSize=pt48 HPwmBrightness=Medium Duplex=DuplexNoTumble InputSlot=Auto noManualFeed HPHalftone=PrinterDefault HPwmPages=AllPages HPUserName=FileSharingName job-uuid=urn:uuid:5092e050-c92f-3122-4fa5-3e66cbe645d4 job-originating-host-name=localhost"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] argv[6]="/var/spool/cups/d05785-001"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[8]="HOME=/var/spool/cups/tmp"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[10]="SERVER_ADMIN=root at jdc"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[11]="SOFTWARE=CUPS/1.4.2"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[13]="TZ=Australia/Melbourne"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[14]="USER=root"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[17]="IPP_PORT=631"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[18]="CHARSET=utf-8"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[19]="LANG=en_AU.UTF-8"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[20]="PPD=/etc/cups/ppd/home-printer.ppd"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[21]="RIP_MAX_CACHE=1015982k"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[22]="CONTENT_TYPE=application/postscript"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[23]="DEVICE_URI=usb://HP/LaserJet%202430"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[24]="PRINTER_INFO=HP Laserjet 2430dtn"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[25]="PRINTER_LOCATION=home desktop"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[26]="PRINTER=home-printer"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[27]="CUPS_FILETYPE=document"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] envp[28]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Started filter /usr/lib/cups/filter/pstopdf (PID 32766)
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Started filter /usr/lib/cups/filter/pdftopdf (PID 32767)
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Started filter /usr/lib/cups/filter/cpdftocps (PID 300)
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Started backend /usr/lib/cups/backend/usb (PID 301)
D [29/Nov/2009:15:49:37 +1100] [Job 5785] pstopdf 6 args: 5785 john 1 Resolution=600x1200dpi HPwmTextMessage=Draft HPwmFontName=HelveticaB Smoothing=PrinterDefault HPJobName=DocName MediaType=None HPwmTextStyle=Medium HPwmSwitch=Off HPwmTextAngle=Deg45 PageSize=Letter HPEconoMode=PrinterDefault number-up=1 HPwmFontSize=pt48 HPwmBrightness=Medium Duplex=DuplexNoTumble InputSlot=Auto noManualFeed HPHalftone=PrinterDefault HPwmPages=AllPages HPUserName=FileSharingName job-uuid=urn:uuid:5092e050-c92f-3122-4fa5-3e66cbe645d4 job-originating-host-name=localhost /var/spool/cups/d05785-001
D [29/Nov/2009:15:49:37 +1100] [Job 5785] PPD: /etc/cups/ppd/home-printer.ppd
D [29/Nov/2009:15:49:37 +1100] [Job 5785] home-printer: symbol lookup error: home-printer: undefined symbol: _ZN13GfxColorSpace5parseEP6Object
D [29/Nov/2009:15:49:37 +1100] [Job 5785] STATE: +connecting-to-device
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Printer using device file "/dev/usb/lp0"...
D [29/Nov/2009:15:49:37 +1100] [Job 5785] STATE: -connecting-to-device
D [29/Nov/2009:15:49:37 +1100] [Job 5785] backendRunLoop(print_fd=0, device_fd=5, snmp_fd=-1, addr=(nil), use_bc=1, side_cb=0x7f6b6ccc61b0)
D [29/Nov/2009:15:49:37 +1100] [Job 5785] pdftops argv[5] = 5785 john xxxxx 1 Resolution=600x1200dpi HPwmTextMessage=Draft HPwmFontName=HelveticaB Smoothing=PrinterDefault HPJobName=DocName MediaType=None HPwmTextStyle=Medium HPwmSwitch=Off HPwmTextAngle=Deg45 PageSize=Letter HPEconoMode=PrinterDefault number-up=1 HPwmFontSize=pt48 HPwmBrightness=Medium Duplex=DuplexNoTumble InputSlot=Auto noManualFeed HPHalftone=PrinterDefault HPwmPages=AllPages HPUserName=FileSharingName job-uuid=urn:uuid:5092e050-c92f-3122-4fa5-3e66cbe645d4 job-originating-host-name=localhost
D [29/Nov/2009:15:49:37 +1100] [Job 5785] PPD: /etc/cups/ppd/home-printer.ppd
D [29/Nov/2009:15:49:37 +1100] [Job 5785] /usr/bin/pdftops supports '-origpagesizes': yes
D [29/Nov/2009:15:49:37 +1100] [Job 5785] PostScript Level: 2
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Resolution: 600x1200
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Duplex: no
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Resolution: 600x1200
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Page size: Letter
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Page size: Letter
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Width: 612, height: 792, absolute margins: 12.00, 12.12, 599.88, 780.00
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Relative margins: 12.00, 12.12, 12.12, 12.00
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Width: 612, height: 792, absolute margins: 12.00, 12.12, 599.88, 780.00
D [29/Nov/2009:15:49:37 +1100] [Job 5785] PPD options: -level2 -origpagesizes
D [29/Nov/2009:15:49:37 +1100] [Job 5785] PostScript to be injected:
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Relative margins: 12.00, 12.12, 12.12, 12.00
D [29/Nov/2009:15:49:37 +1100] [Job 5785] PPD options: -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792
D [29/Nov/2009:15:49:37 +1100] [Job 5785] PostScript to be injected:
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Running cat | /usr/bin/ps2pdf13 -dAutoRotatePages=/None -dAutoFilterColorImages=false -dNOPLATFONTS -dPARANOIDSAFER -sstdout=%stderr -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer -dDoNumCopies -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 - -
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Device copies: 1; device collate:
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Running /usr/bin/pdftops -level2 -origpagesizes /var/spool/cups/tmp/pdftops.8J3OR6 -
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Running pstops '5785' 'john' 'xxxxxxxx' '1' ' Resolution=600x1200dpi HPwmTextMessage=Draft HPwmFontName=HelveticaB Smoothing=PrinterDefault HPJobName=DocName MediaType=None HPwmTextStyle=Medium HPwmSwitch=Off HPwmTextAngle=Deg45 PageSize=Letter HPEconoMode=PrinterDefault HPwmFontSize=pt48 HPwmBrightness=Medium Duplex=DuplexNoTumble InputSlot=Auto noManualFeed HPHalftone=PrinterDefault HPwmPages=AllPages HPUserName=FileSharingName job-uuid=urn:uuid:5092e050-c92f-3122-4fa5-3e66cbe645d4 job-originating-host-name=localhost'
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Error: May not be a PDF file (continuing anyway)
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Error: PDF file is damaged - attempting to reconstruct xref table...
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Error: Couldn't find trailer dictionary
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Error: Couldn't read xref table
D [29/Nov/2009:15:49:37 +1100] [Job 5785] GPL Ghostscript 8.70: Set UseCIEColor for UseDeviceIndependentColor to work properly.
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Error: /ioerror in --showpage--
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Operand stack:
D [29/Nov/2009:15:49:37 +1100] [Job 5785] 1 true
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Execution stack:
D [29/Nov/2009:15:49:37 +1100] [Job 5785] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop 1739 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1745 0 3 %oparray_pop --nostringval-- --nostringval--
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Dictionary stack:
D [29/Nov/2009:15:49:37 +1100] [Job 5785] --dict:1161/1684(ro)(G)-- --dict:1/20(G)-- --dict:109/200(L)--
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Current allocation mode is local
D [29/Nov/2009:15:49:37 +1100] [Job 5785] Last OS error: 32
D [29/Nov/2009:15:49:37 +1100] [Job 5785] GPL Ghostscript 8.70: Unrecoverable error, exit code 1
D [29/Nov/2009:15:49:37 +1100] [Job 5785] GPL Ghostscript 8.70: ERROR -12 closing pdfwrite device. See gs/src/ierrors.h for code explanation.
D [29/Nov/2009:15:49:37 +1100] [Job 5785] End of messages
D [29/Nov/2009:15:49:37 +1100] [Job 5785] printer-state=3(idle)
D [29/Nov/2009:15:49:37 +1100] [Job 5785] printer-state-message="Empty print file!"
D [29/Nov/2009:15:49:37 +1100] [Job 5785] printer-state-reasons=none
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31.5 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages cups depends on:
ii adduser 3.111 add and remove users and groups
ii bc 1.06.95-2 The GNU bc arbitrary precision cal
ii cups-client 1.4.1-4 Common UNIX Printing System(tm) -
ii cups-common 1.4.1-4 Common UNIX Printing System(tm) -
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii ghostscript 8.70~dfsg-2+b1 The GPL Ghostscript PostScript/PDF
ii libavahi-client3 0.6.25-2 Avahi client library
ii libavahi-common3 0.6.25-2 Avahi common library
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libcups2 1.4.2-2 Common UNIX Printing System(tm) -
ii libcupscgi1 1.4.2-2 Common UNIX Printing System(tm) -
ii libcupsdriver1 1.4.2-2 Common UNIX Printing System(tm) -
ii libcupsimage2 1.4.2-2 Common UNIX Printing System(tm) -
ii libcupsmime1 1.4.2-2 Common UNIX Printing System(tm) -
ii libcupsppdc1 1.4.2-2 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii libgcc1 1:4.4.2-3 GCC support library
ii libgnutls26 2.8.5-2 the GNU TLS library - runtime libr
ii libgssapi-krb5-2 1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k
ii libijs-0.35 0.35-7 IJS raster image transport protoco
ii libkrb5-3 1.7dfsg~beta3-1 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.17-2.1 OpenLDAP libraries
ii libpam0g 1.1.0-4 Pluggable Authentication Modules l
ii libpaper1 1.1.23+nmu1 library for handling paper charact
ii libpoppler4 0.10.6-1 PDF rendering library
ii libslp1 1.2.1-7.6 OpenSLP libraries
ii libstdc++6 4.4.2-3 The GNU Standard C++ Library v3
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii perl-modules 5.10.1-8 Core Perl modules
ii poppler-utils [xpdf-ut 0.12.2-1 PDF utilitites (based on libpopple
ii procps 1:3.2.8-2 /proc file system utilities
ii ssl-cert 1.0.25 simple debconf wrapper for OpenSSL
ii ttf-freefont 20090104-4 Freefont Serif, Sans and Mono True
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
Versions of packages cups recommends:
ii cups-driver-gutenprint 5.2.4-1 printer drivers for CUPS
ii foomatic-filters 4.0-20090509-1 OpenPrinting printer support - fil
ii ghostscript-cups 8.70~dfsg-2+b1 The GPL Ghostscript PostScript/PDF
Versions of packages cups suggests:
ii cups-bsd 1.4.1-4 Common UNIX Printing System(tm) -
pn cups-pdf <none> (no description available)
ii cups-ppdc 1.4.2-2 Common UNIX Printing System(tm) -
ii foomatic-db 20090616-1 OpenPrinting printer support - dat
ii foomatic-db-engine 4.0-20090509-2 OpenPrinting printer support - pro
ii hplip 3.9.8-1 HP Linux Printing and Imaging Syst
pn smbclient <none> (no description available)
ii udev 147-5 /dev/ and hotplug management daemo
pn xpdf-korean | xpdf-japane <none> (no description available)
-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd
More information about the Pkg-cups-devel
mailing list