[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#909999: ghostscript (via pdf2ps) crashes on most inputs following upgrade to 9.06~dfsg-2+deb8u9



Package: ghostscript
Version: 9.06~dfsg-2+deb8u9
Severity: grave
Justification: renders package unusable

Dear Maintainer,

   * What led up to the situation?

Ghostscript was upgraded to 9.06~dfsg-2+deb8u9

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I tried running 'pdf2ps <filename>' on several PDF files, and in
several cases it failed. Attached is a file, bug.pdf, that illustrates
this problem. However, pdf2ps generally worked before the ghostscript
upgrade.

(I first noticed the problem trying to print pdf files from evince
and then lp, but both failed; based on logs, CUPS attempted to run
ghostscript to generate ps files. I believe the pdf2ps command above
isolates the problem more precisely.  Relevant lines from
/var/log/cups/error_log are also attached, with usernames, hostnames,
and IP addresses replaced)

   * What was the outcome of this action?

$ pdf2ps bug.pdf
Error: /rangecheck in .installpagedevice
Operand stack:
   --nostringval--   --dict:174/176(ro)(L)--   --nostringval--   --nostringval--   false
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1910   1   3   %oparray_pop   1909   1   3   %oparray_pop   1893   1   3   %oparray_pop   --nostringval--   1839   1   4   %oparray_pop   --nostringval--   1823   1   4   %oparray_pop   --nostringval--   --nostringval--
Dictionary stack:
   --dict:939/1684(ro)(G)--   --dict:1/20(G)--   --dict:77/200(L)--   --dict:77/200(L)--
Current allocation mode is local
GPL Ghostscript 9.06: Unrecoverable error, exit code 1

I ran then ran 'pdf2ps bug.pdf >stdout 2>stderr', and have attached all three files (bug.pdf, stdout, stderr).  A file 'bug.ps' was generated, but was not useable (could not be opened in evince).  This file is attached as well.

   * What outcome did you expect instead?

I expected pdf2ps to exit with code 0, report no errors, and generate a usable pdf file.



-- System Information:
Debian Release: 8.11
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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  debconf [debconf-2.0]  1.5.56+deb8u1
ii  gsfonts                1:8.11+urwcyr1.0.7~pre44-4.2
ii  libc6                  2.19-18+deb8u10
ii  libgs9                 9.06~dfsg-2+deb8u9

ghostscript recommends no packages.

Versions of packages ghostscript suggests:
ii  ghostscript-x  9.06~dfsg-2+deb8u9

-- debconf-show failed
Error: /rangecheck in .installpagedevice
Operand stack:
   --nostringval--   --dict:174/176(ro)(L)--   --nostringval--   --nostringval--   false
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1910   1   3   %oparray_pop   1909   1   3   %oparray_pop   1893   1   3   %oparray_pop   --nostringval--   1839   1   4   %oparray_pop   --nostringval--   1823   1   4   %oparray_pop   --nostringval--   --nostringval--
Dictionary stack:
   --dict:939/1684(ro)(G)--   --dict:1/20(G)--   --dict:77/200(L)--   --dict:77/200(L)--
Current allocation mode is local

Attachment: bug.pdf
Description: Adobe PDF document

GPL Ghostscript 9.06: Unrecoverable error, exit code 1
E [30/Sep/2018:17:48:28 -0700] [Job 368] Job stopped due to filter errors; please consult the error_log file for details.
D [30/Sep/2018:17:48:28 -0700] [Job 368] The following messages were recorded from 05:48:24 PM to 05:48:28 PM
D [30/Sep/2018:17:48:28 -0700] [Job 368] Adding start banner page "none".
D [30/Sep/2018:17:48:28 -0700] [Job 368] Queued on "imageCLASS" by "myusername".
D [30/Sep/2018:17:48:28 -0700] [Job 368] Auto-typing file...
D [30/Sep/2018:17:48:28 -0700] [Job 368] Request file type is application/pdf.
D [30/Sep/2018:17:48:28 -0700] [Job 368] File of type application/pdf queued by "myusername".
D [30/Sep/2018:17:48:28 -0700] [Job 368] Adding end banner page "none".
D [30/Sep/2018:17:48:28 -0700] [Job 368] time-at-processing=1538354904
D [30/Sep/2018:17:48:28 -0700] [Job 368] 3 filters for job:
D [30/Sep/2018:17:48:28 -0700] [Job 368] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [30/Sep/2018:17:48:28 -0700] [Job 368] pdftops (application/vnd.cups-pdf to application/vnd.cups-postscript, cost 100)
D [30/Sep/2018:17:48:28 -0700] [Job 368] pstoufr2cpca (application/vnd.cups-postscript to printer/imageCLASS, cost 0)
D [30/Sep/2018:17:48:28 -0700] [Job 368] job-sheets=none,none
D [30/Sep/2018:17:48:28 -0700] [Job 368] argv[0]="imageCLASS"
D [30/Sep/2018:17:48:28 -0700] [Job 368] argv[1]="368"
D [30/Sep/2018:17:48:28 -0700] [Job 368] argv[2]="myusername"
D [30/Sep/2018:17:48:28 -0700] [Job 368] argv[3]="pldi2019.pdf"
D [30/Sep/2018:17:48:28 -0700] [Job 368] argv[4]="1"
D [30/Sep/2018:17:48:28 -0700] [Job 368] argv[5]="finishings=3 number-up=1 job-uuid=urn:uuid:24fdd827-f36a-3e67-72cf-0a796f4ec25c job-originating-host-name=localhost time-at-creation=1538354904 time-at-processing=1538354904"
D [30/Sep/2018:17:48:28 -0700] [Job 368] argv[6]="/var/spool/cups/d00368-001"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[8]="HOME=/var/spool/cups/tmp"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[10]="SERVER_ADMIN=root@myservername"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[11]="SOFTWARE=CUPS/1.7.5"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[13]="USER=root"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[14]="CUPS_MAX_MESSAGE=2047"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[17]="IPP_PORT=631"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[18]="CHARSET=utf-8"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[19]="LANG=en_US.UTF-8"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[20]="PPD=/etc/cups/ppd/imageCLASS.ppd"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[21]="RIP_MAX_CACHE=128m"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[22]="CONTENT_TYPE=application/pdf"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[23]="DEVICE_URI=socket://XXX.XXX.XXX.XXX"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[24]="PRINTER_INFO=Canon imageCLASS LBP612Cdw"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[25]="PRINTER_LOCATION="
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[26]="PRINTER=imageCLASS"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[27]="PRINTER_STATE_REASONS=none"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[28]="CUPS_FILETYPE=document"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [30/Sep/2018:17:48:28 -0700] [Job 368] envp[30]="AUTH_I****"
D [30/Sep/2018:17:48:28 -0700] [Job 368] Started filter /usr/lib/cups/filter/pdftopdf (PID 24609)
D [30/Sep/2018:17:48:28 -0700] [Job 368] Started filter /usr/lib/cups/filter/pdftops (PID 24610)
D [30/Sep/2018:17:48:28 -0700] [Job 368] Started filter /usr/lib/cups/filter/pstoufr2cpca (PID 24611)
D [30/Sep/2018:17:48:28 -0700] [Job 368] Started backend /usr/lib/cups/backend/socket (PID 24612)
D [30/Sep/2018:17:48:28 -0700] [Job 368] pstoufr2cpca start.
D [30/Sep/2018:17:48:28 -0700] [Job 368] pdftops - copying to temp print file "/tmp/060225bb50749"
D [30/Sep/2018:17:48:28 -0700] [Job 368] STATE: +connecting-to-device
D [30/Sep/2018:17:48:28 -0700] [Job 368] Looking up "XXX.XXX.XXX.XXX"...
D [30/Sep/2018:17:48:28 -0700] [Job 368] PID 24609 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [30/Sep/2018:17:48:28 -0700] [Job 368] Printer make and model: Canon lbp612c/613c
D [30/Sep/2018:17:48:28 -0700] [Job 368] Running command line for pstops: pstops 368 myusername pldi2019.pdf 1 'finishings=3 job-uuid=urn:uuid:24fdd827-f36a-3e67-72cf-0a796f4ec25c job-originating-host-name=localhost time-at-creation=1538354904 time-at-processing=1538354904'
D [30/Sep/2018:17:48:28 -0700] [Job 368] Using image rendering resolution 600 dpi
D [30/Sep/2018:17:48:28 -0700] [Job 368] Running command line for gs: gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=ps2write -sOUTPUTFILE=%stdout -dLanguageLevel=3 -r600 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE -c 'save pop' -f /tmp/060225bb50749
D [30/Sep/2018:17:48:28 -0700] [Job 368] Started filter gs (PID 24616)
D [30/Sep/2018:17:48:28 -0700] [Job 368] Started filter pstops (PID 24617)
D [30/Sep/2018:17:48:28 -0700] [Job 368] GPL Ghostscript 9.06: Unrecoverable error, exit code 1
D [30/Sep/2018:17:48:28 -0700] [Job 368] Page = 612x792; 14,14 to 598,778
D [30/Sep/2018:17:48:28 -0700] [Job 368] slow_collate=0, slow_duplex=0, slow_order=0
D [30/Sep/2018:17:48:28 -0700] [Job 368] This document does not conform to the Adobe Document Structuring Conventions and may not print correctly.
D [30/Sep/2018:17:48:28 -0700] [Job 368] opvpOpenPrinter(410)
D [30/Sep/2018:17:48:28 -0700] [Job 368] CStubOpenPrinter(349)
D [30/Sep/2018:17:48:28 -0700] [Job 368] opvpOpenPrinter(410)
D [30/Sep/2018:17:48:28 -0700] [Job 368] CStubOpenPrinter(349)
D [30/Sep/2018:17:48:28 -0700] [Job 368] GPL Ghostscript 9.06: Unrecoverable error, exit code 1
D [30/Sep/2018:17:48:28 -0700] [Job 368] PID 24611 (/usr/lib/cups/filter/pstoufr2cpca) did not catch or ignore signal 13.
D [30/Sep/2018:17:48:28 -0700] [Job 368] PID 24616 (gs) stopped with status 1!
D [30/Sep/2018:17:48:28 -0700] [Job 368] PID 24617 (pstops) exited with no errors.
D [30/Sep/2018:17:48:28 -0700] [Job 368] PID 24610 (/usr/lib/cups/filter/pdftops) stopped with status 1.
D [30/Sep/2018:17:48:28 -0700] [Job 368] Hint: Try setting the LogLevel to "debug" to find out more.
D [30/Sep/2018:17:48:28 -0700] [Job 368] hrDeviceDesc="Unknown"
D [30/Sep/2018:17:48:28 -0700] [Job 368] prtGeneralCurrentLocalization type is 0, expected 2!
D [30/Sep/2018:17:48:28 -0700] [Job 368] backendWaitLoop(snmp_fd=7, addr=0x556d457eebc8, side_cb=0x556d44875200)
D [30/Sep/2018:17:48:28 -0700] [Job 368] Connecting to XXX.XXX.XXX.XXX:9100
D [30/Sep/2018:17:48:28 -0700] [Job 368] Connecting to printer.
D [30/Sep/2018:17:48:28 -0700] [Job 368] STATE: -connecting-to-device
D [30/Sep/2018:17:48:28 -0700] [Job 368] Connected to printer.
D [30/Sep/2018:17:48:28 -0700] [Job 368] Connected to XXX.XXX.XXX.XXX:9100...
D [30/Sep/2018:17:48:28 -0700] [Job 368] backendRunLoop(print_fd=0, device_fd=8, snmp_fd=7, addr=0x556d457eebc8, use_bc=1, side_cb=0x556d44875200)
D [30/Sep/2018:17:48:28 -0700] [Job 368] Waiting for printer to finish.
D [30/Sep/2018:17:48:28 -0700] [Job 368] PID 24612 (/usr/lib/cups/backend/socket) exited with no errors.
D [30/Sep/2018:17:48:28 -0700] [Job 368] End of messages
D [30/Sep/2018:17:48:28 -0700] [Job 368] printer-state=3(idle)
D [30/Sep/2018:17:48:28 -0700] [Job 368] printer-state-message="Waiting for printer to finish."
D [30/Sep/2018:17:48:28 -0700] [Job 368] printer-state-reasons=none
E [30/Sep/2018:17:53:29 -0700] [Job 368] Stopping unresponsive job.

Attachment: bug.ps
Description: PostScript document


Reply to: