Bug 693348 - GS 9.06 segfaults when converting to png, bmp, tiff, etc.
Summary: GS 9.06 segfaults when converting to png, bmp, tiff, etc.
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: 9.06
Hardware: PC Linux
: P4 critical
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-21 14:08 UTC by Till Kamppeter
Modified: 2012-09-21 14:26 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
command-line-101.pdf (1.39 MB, application/binary)
2012-09-21 14:08 UTC, Till Kamppeter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.