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

Bug#786827: ghostscript: ps2pdf hangs while gv displays the file OK.



Package: ghostscript
Version: 9.06~dfsg-2
Severity: normal

Dear Maintainer,

ps2pdf hangs for me with this postscript file when simply run as:

$ ps2pdf test.ps

no output is ever generated, except a file in /tmp that slowly grows in size
(probably indefinitely), that I found by 'strace' of 'gs' process.

$ gv test.ps

shows file just fine.

The ps2pdf actually runs:

/usr/bin/gs -P- -dSAFER -dCompatibilityLevel=1.4 -q -P- -dNOPAUSE -dBATCH
-sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile=test.pdf -P- -dSAFER
-dCompatibilityLevel=1.4 -c .setpdfwrite -f test.ps

that hangs when run manually as well. Changing -sDEVICE to =X11 instead of
=pdfwrite and removing -dNOPAUSE displays the output on the screen just fine.



-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (500, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (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
ii  gsfonts                1:8.11+urwcyr1.0.7~pre44-4.2
ii  libc6                  2.19-18
ii  libgs9                 9.06~dfsg-2

ghostscript recommends no packages.

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

-- debconf-show failed

Attachment: test.ps
Description: PostScript document


Reply to: