Summary: | Unable to open certain PDFs | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | derian |
Component: | General | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | henry.stiles |
Priority: | P4 | ||
Version: | 9.02 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: | Problematic PDF File |
Description
derian
2011-06-25 00:03:03 UTC
For me current (release) build gets an undefined in --get--, setting -dPDFDEBUG shows object 62 0 (an Image XObject with ImageMask true) as the culprit. If I use a debug build I instead get : **** Error reading a content stream. The page may be incomplete. **** File did not complete the page properly and may be damaged. And a partially blank page, missing the large image. If I decompress the file using MuPDF and render it then it works without problems. I suspect that either there is a problem decompressing the data, or possibly the compressed stream length is incorrect, leading to GS running off the end of the data. One for Alex. I just verified the error on a completely fresh install of the base OS (RHEL 5.6). I received the exact same error after compiling the most recent release of GS. We don't yet handle the case when the image has multiple decoding filters and one of them is JPXDecode. P2 for missing required functionality. Fix a bug in /JPXDecode filter handler that generated bad /DecodeParms when /JPXDecode filter was used in a /Filter array. Remove some obsolete code related to /JPXDecode. See http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=66700ec35f74a6e049ed6654283418a6d23bfb3e |