Bug 693348

Summary: GS 9.06 segfaults when converting to png, bmp, tiff, etc.
Product: Ghostscript Reporter: Till Kamppeter <till.kamppeter>
Component: PDF InterpreterAssignee: Alex Cherepanov <alex>
Status: RESOLVED FIXED    
Severity: critical    
Priority: P4    
Version: 9.06   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: command-line-101.pdf

Description Till Kamppeter 2012-09-21 14:08:22 UTC
Created attachment 8960 [details]
command-line-101.pdf

Original Ubuntu bug report:

https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1050602

Following command lines (PDF file attached) work with Ghostscript 9.05 and segfault with 9.06:

gs -sDEVICE=pngalpha -o command-line-1012.png command-line-101.pdf

gs -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" "-sOutputFile=out.png" command-line-101.pdf

According to the original report the problem also happens for jpg, bmp, psd, and tiff output format with this input file.