Bug 692302 - Ghostscript runs indefinitely while reading PDF
Summary: Ghostscript runs indefinitely while reading PDF
Status: RESOLVED WORKSFORME
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: General (show other bugs)
Version: 8.70
Hardware: Other Linux
: P4 normal
Assignee: Default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-25 04:54 UTC by FilQ
Modified: 2011-06-25 08:34 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
PDF causing ghostcript error (627.17 KB, application/pdf)
2011-06-25 04:58 UTC, FilQ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FilQ 2011-06-25 04:54:52 UTC
The attached PDF is causing ghostscript to run indefinitely hugging CPU.
Ghostscript is called from ImageMagick convert to convert the PDF to PNG.
Please advise on how to fix it.
Comment 1 FilQ 2011-06-25 04:58:05 UTC
Created attachment 7608 [details]
PDF causing ghostcript error
Comment 2 Ken Sharp 2011-06-25 08:34:57 UTC
On current code (9.03 pre-release master) the file completes quickly (a couple of seconds). You haven't supplied a command line for us to use, so I tried:

gs -sDEVICE=png16m -sOutptuFile=\temp\out.png UABC2011_002.pdf

You claim to be using Ghostscript 8.70, if this is true I would suggest upgrading to something more recent as the most likely way to resolve this. If the problem persists then please reopen this bug, and supply a command line which exhibits the problem.