We use ImageMagick to extract a the first page of a PDF as a thumbnail and recently started getting exceptions with some PDFs. Traced it to the call that ImageMagick was making:
gs -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r72x72' -dLastPage=1 -sOutputFile=1.png -f Bloomfire-Security_and_Redundancy.pdf
When this is run with GS version 9.25, the thumbnail is extracted with no error.
When this is run with GS version 9.26, I see "Segmentation fault: 11"
I've attached a file that causes there error. Observed on both OSX and Ubuntu Linux.
Created attachment 16470 [details]
Output of run with -dDEBUG
Created attachment 16471 [details]
PDF example that causes the segfault
*** This bug has been marked as a duplicate of bug 699815 ***
*** Bug 700314 has been marked as a duplicate of this bug. ***
*** Bug 700313 has been marked as a duplicate of this bug. ***
Fixed in commit fae21f1668d2b44b18b84cf0923a1d5f3008a696
*** Bug 700350 has been marked as a duplicate of this bug. ***