Closed Bug 1077808 Opened 10 years ago Closed 9 years ago

Specific PDF takes forever to load

Categories

(Firefox :: PDF Viewer, defect, P3)

32 Branch
x86_64
All
defect

Tracking

()

RESOLVED FIXED
Firefox 37

People

(Reporter: linuxhippy, Unassigned)

References

Details

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

Attachments

(1 file)

Attached file global_eben_jahr.pdf
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
Build ID: 20140923175406

Steps to reproduce:

Opened the attached PDF


Actual results:

After a minute, the PDF was still loading, while evince loaded it in <5s.
Happens also with PDF.js git. 


Expected results:

FF should be able to load and display the PDF at leats in couple of seconds.
Issue about image decoding.

Log console:

"PDF c09a51c74271b9ce99fa81e9f2eb30c3 [1.3 - / ESRI ArcMap 9.1.0.750] (PDF.js: 1.0.801)" viewer.js:3534
"Warning: Unknown command "^\LKGk.LHBj:616f,+!5"" pdf.worker.js:235
"Warning: Unknown command ">"" pdf.worker.js:235
"Warning: Unknown command "=I*\CkjE\a:sQcLGTosKQf_@:;I&P"" pdf.worker.js:235
"Warning: Ignoring invalid character "87" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "89" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "82" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "77" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "117" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "39" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "59" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "58" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "112" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "78" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "103" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "115" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "80" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "71" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "95" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "108" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "103" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "87" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "72" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "114" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "92" in hex string" pdf.worker.js:235
"Warning: Ignoring invalid character "89" in hex string" pdf.worker.js:235
"Error: Illegal character: 41" pdf.worker.js:250
"Lexer_getObj@resource://pdf.js/build/pdf.worker.js:30037:11
Parser_shift@resource://pdf.js/build/pdf.worker.js:29299:21
Parser_getObj@resource://pdf.js/build/pdf.worker.js:29304:7
Parser_getObj@resource://pdf.js/build/pdf.worker.js:29313:26
EvaluatorPreprocessor_read@resource://pdf.js/build/pdf.worker.js:11980:19
next@resource://pdf.js/build/pdf.worker.js:10472:17
PartialEvaluator_getOperatorList@resource://pdf.js/build/pdf.worker.js:10463:1
Page_getOperatorList/pageListPromise<@resource://pdf.js/build/pdf.worker.js:2195:16
" pdf.worker.js:252
"Warning: Unsupported feature "unknown"" pdf.worker.js:235
"Warning: Unsupported feature "unknown"" pdf.js:235
"Error: Bad encoding in flate stream" pdf.worker.js:250
"FlateStream_getBits@resource://pdf.js/build/pdf.worker.js:30738:9
FlateStream_readBlock@resource://pdf.js/build/pdf.worker.js:30957:17
DecodeStream_getBytes@resource://pdf.js/build/pdf.worker.js:30516:11
PDFImage_getImageBytes@resource://pdf.js/build/pdf.worker.js:26318:14
PDFImage_createImageData@resource://pdf.js/build/pdf.worker.js:26196:22
PartialEvaluator_buildPaintImageXObject/<@resource://pdf.js/build/pdf.worker.js:10079:25
" pdf.worker.js:252
"Warning: Unsupported feature "unknown"" pdf.worker.js:235
"Warning: Unsupported feature "unknown"" pdf.js:235
"Warning: Unable to decode image: Error: Bad encoding in flate stream" pdf.worker.js:235
Component: Untriaged → PDF Viewer
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering]
Confirmed with latest Nightly 36.0a1 with e10s under Win 7 64-bit.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Status: NEW → RESOLVED
Closed: 9 years ago
Depends on: 1117757
Resolution: --- → FIXED
Whiteboard: [pdfjs-c-rendering] → [pdfjs-c-rendering][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/5383
Target Milestone: --- → Firefox 37
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: