[gs-bugs] [Bug 691493] New: Infinite loop when rendering a PDF file

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Fri Jul 23 10:56:24 UTC 2010


           Summary: Infinite loop when rendering a PDF file
           Product: Ghostscript
           Version: HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: PDF Interpreter
        AssignedTo: alex.cherepanov at artifex.com
        ReportedBy: till.kamppeter at gmail.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0

Created an attachment (id=6532)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=6532)
Offending PDF file: f10test.pdf

I am trying out the current SVN state (rev 11538) of Ghostscript. I have
compiled with "make so" on Linux and run Ghostscript directly from the source
tree without installing:

cat ~/ghostscript/gpl/testfiles/f10test.pdf  | LD_PRELOAD=sobin/libgs.so.9.00
GS_LIB=Resource/Init:lib sobin/gsc -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH
-sDEVICE=png16m -sstdout=%stderr -sOutputFile=%stdout -r720x720

With the attached input file (f10test.pdf) Ghostscript gets stuck in an
infinite loop. I get the same result with reduced resolution ("-r72x72") and
also with the "cups" output device.

Also this simplified command line makes Ghostscript hanging:

LD_PRELOAD=sobin/libgs.so.9.00 GS_LIB=Resource/Init:lib sobin/gsc
-sDEVICE=png16m -o out.png ~/ghostscript/gpl/testfiles/f10test.pdf

Screen display with X using the command line

LD_PRELOAD=sobin/libgs.so.9.00 GS_LIB=Resource/Init:lib sobin/gsc -sDEVICE=x11

shows an incompletely rendered page in the window and then hangs (screenshot

Acrobat Reader displays the file correctly. Also Ghostscript 8.71 has no
problems with this file.

Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gs-bugs mailing list