gs does not terminate and does not produce output when writing with pdfwrite
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GS-GPL |
Fix Released
|
Undecided
|
Unassigned | ||
ghostscript (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The following command never terminates, one CPU/thread up 100%:
gs -sDEVICE=pdfwrite -sOutputFile=
This is more or less what
ps2pdf test.ps
does.
I have obtained this test case from an old debian bug report at the URL below, as I have originally encountered the problem with a *much larger* postscript file (214MB), which I've left running for 24 hours with no progress. I have attached both files.
Both files (the small one and the large one) get read by gv and displayed perfectly on screen.
Terminating the process with ctrl+c, output file is generated but contains no data.
https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: ghostscript 9.19~dfsg+
ProcVersionSign
Uname: Linux 4.8.0-32-lowlatency x86_64
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Tue Jan 3 20:48:44 2017
InstallationDate: Installed on 2016-10-20 (74 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
SourcePackage: ghostscript
UpgradeStatus: No upgrade log present (probably fresh install)
Small file