If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

[PDF Viewer] One page of a PDF stays blank with Error: Illegal character: )

RESOLVED FIXED in Firefox 25

Status

()

Firefox
PDF Viewer
P2
normal
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: Loic, Unassigned)

Tracking

24 Branch
Firefox 25
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [pdfjs-c-rendering][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/3374)

Attachments

(1 attachment)

389.02 KB, application/pdf
Details
(Reporter)

Description

4 years ago
Created attachment 756735 [details]
invitation.pdf

STR: open the joined PDF and go to the last page (4th).

Result: the last page is blank, it shouldn't.

Web console:
[20:34:05.355] "PDF 709da5fc4c1f177e1a1a142151c355a8 [1.4 GPL Ghostscript 8.63 / PDFCreator Version 0.9.6] (PDF.js: 0.8.169)"
[20:34:10.921] "An error occurred while rendering the page.
PDF.js v0.8.169 (build: 869b878)
Message: Bad encoding in flate stream
Stack: error@resource://pdf.js/build/pdf.js:1184
FlateStream_getCode@resource://pdf.js/build/pdf.js:33167
FlateStream_readBlock@resource://pdf.js/build/pdf.js:33289
DecodeStream_getByte@resource://pdf.js/build/pdf.js:32880
predictorStreamReadBlockPng@resource://pdf.js/build/pdf.js:33458
DecodeStream_getBytes@resource://pdf.js/build/pdf.js:32892
PDFImage_getImageBytes@resource://pdf.js/build/pdf.js:28718
PDFImage_fillRgbaBuffer@resource://pdf.js/build/pdf.js:28652
PDFImage_getImageData@resource://pdf.js/build/pdf.js:28713
PartialEvaluator_buildPaintImageXObject@resource://pdf.js/build/pdf.js:15680
parseCommands@resource://pdf.js/build/pdf.js:16130
PartialEvaluator_getOperatorList@resource://pdf.js/build/pdf.js:16237
NetworkPdfManager_ensureHelper@resource://pdf.js/build/pdf.js:613
NetworkPdfManager_ensure@resource://pdf.js/build/pdf.js:603
pdfjsWrapper/Page_getOperatorList/<@resource://pdf.js/build/pdf.js:793
Promise_then@resource://pdf.js/build/pdf.js:1923
Page_getOperatorList@resource://pdf.js/build/pdf.js:788
pdfjsWrapper/wphSetup/wphSetupRenderPage/<@resource://pdf.js/build/pdf.js:35483
Promise_then@resource://pdf.js/build/pdf.js:1923
wphSetupRenderPage@resource://pdf.js/build/pdf.js:35478
messageHandlerComObjOnMessage@resource://pdf.js/build/pdf.js:35175
"
[20:34:11.110] Error: Illegal character: ) @ resource://pdf.js/build/pdf.js:1184

Updated

4 years ago
OS: Windows 7 → All
Priority: -- → P2
Hardware: x86_64 → All
Whiteboard: [pdfjs-c-rendering]

Updated

4 years ago
Whiteboard: [pdfjs-c-rendering] → [pdfjs-c-rendering][pdfjs-f-fixed-upstream]https://github.com/mozilla/pdf.js/pull/3374

Updated

4 years ago
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Depends on: 888635
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
You need to log in before you can comment on or make changes to this bug.