Discussion:
[gs-bugs] [Bug 698786] - Ghostscript - Stuck on most PDF / 1 core at 100% / Printing impossible
b***@artifex.com
2017-11-29 10:29:27 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698786

Bug ID: 698786
Summary: Stuck on most PDF / 1 core at 100% / Printing
impossible
Product: Ghostscript
Version: 9.21
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P4
Component: CUPS driver
Assignee: ***@gmail.com
Reporter: ***@gmail.com
QA Contact: gs-***@ghostscript.com
CC: ***@users.sourceforge.net, ***@easysw.com,
***@redhat.com
Word Size: ---

Created attachment 14499
--> http://bugs.ghostscript.com/attachment.cgi?id=14499&action=edit
The whole log of today (I only attempted & failed to print 1 PDF document)

Hi,

I'm under Ubuntu 17.10, dist-upgraded today.

Since a few weeks ago, I'm almost unable to print. Everytime I try to print a
PDF (2x2 pdfnup'ed books), a gs process gets stuck, occupying 100% on 1 of my
cores.

Trying to use:
- pdf2ps
- gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="${NEW_TMP}"
"${ORG_TMP}"
results in the same problem, with the creation of a ps of size 0.

Using:
- gs -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -o repaired.pdf corrupted.pdf
- pdfnup
- evince
work like a charm on the same pdfs.

Even using 10 pages extracts of the same books results in the exact same
problem.

Reinstalling ghostscript package results in the same problem.

Restarting cups daemon does not help either

PDF are copyrighted material (multiple ebooks), so I cannot share it publicly,
but maybe I can share non-working extracts in private, on demand, for debugging
purpose?

Some simple PDF (few pages) can be printed though.

FYI:
# dpkg --get-selections | grep filters
cups-filters install
cups-filters-core-drivers install
foomatic-filters deinstall
libcupsfilters1:amd64 install

gs -v
GPL Ghostscript 9.21 (2017-03-16)
Copyright (C) 2017 Artifex Software, Inc. All rights reserved.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-11-29 12:28:07 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698786

Till Kamppeter <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|***@gmail.com |***@artifex.com
Component|CUPS driver |PDF Interpreter

--- Comment #1 from Till Kamppeter <***@gmail.com> ---
This has nothing to do with the CUPS driver of Ghostscript, as it is not used
here. The problem is most probably in the PDF interpreter.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-11-29 12:28:58 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698786

Chris Liddell (chrisl) <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@artifex.com

--- Comment #2 from Chris Liddell (chrisl) <***@artifex.com> ---
We'll need a PDF that illustrates the problem, otherwise we can't reproduce it,
nor debug it.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-11-29 12:38:26 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698786

Robin Watts <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@artifex.com

--- Comment #3 from Robin Watts <***@artifex.com> ---
(In reply to Chris Liddell (chrisl) from comment #2)
Post by b***@artifex.com
We'll need a PDF that illustrates the problem, otherwise we can't reproduce
it, nor debug it.
Email us a PDF, and we can attach it to the bug privately (so no one outside
the company can see it). Then we can start to debug it. Thanks.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-11-29 12:41:55 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698786

--- Comment #4 from Ken Sharp <***@artifex.com> ---
Perhaps most importantly; test Ghostscript 9.22, the version you are using is 6
months out of date.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-11-29 12:42:27 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698786

Ken Sharp <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC|***@users.sourceforge.net |
|, ***@easysw.com, |
|***@redhat.com |
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-11-29 12:43:20 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698786

Ken Sharp <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|PDF Interpreter |PS Writer
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-12-05 13:37:03 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698786

Ken Sharp <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED

--- Comment #5 from Ken Sharp <***@artifex.com> ---
I haven't heard of any specimen file being received by anyone, and nobody has
attached a file here. In the absence of an example file there is no way to
investigate the problem.

You may reopen this report if you can supply an example file to demonstrate the
problem.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Loading...