when converting the attached PDF file into PDF (or TIFF) with GS HEAD (i tried older GS versions and got the same problem) the resulting PDF file contains blank pages. PS: Adobe Preflight sais that the original document is a valid PDF.
Created attachment 4013 [details] PDF file
Created attachment 4014 [details] Simplified sample file
This is a /JBIG2Decode issue. The simplified sample file contains just a single image.
*** Bug 689845 has been marked as a duplicate of this bug. ***
The file is in fact invalid: the data length of the second segment inside the JBIG2 stream is corrupt. jbig2dec consumes the entire stream without producing output because it wants to buffer all the segment's data before starting decode. If I replace the length with one determined from the size of the JBIG2Decode stream, the file decodes properly.
A work around for this problem was committed as r8778. *** This bug has been marked as a duplicate of 689852 ***