New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 795022 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Opening a specific pdf with the chrome pdf viewer throws an error "Failed to load PDF document."

Reported by jrofurt...@gmail.com, Dec 14 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36

Steps to reproduce the problem:
1. Open the following url in chrome: https://jo.azores.gov.pt/api/public/jornal/pdfOriginal?numeroJornal=234&ano=2017&serieId=e5b1fb74-7a34-4d76-925a-10f088b27490&suplemento=0

What is the expected behavior?
The pdf should open. In Firefox and Edge the document opens succesfully. With Ubuntu document reader the document also opens

What went wrong?
The error message "Failed to load PDF document." appears and the pdf doesn't open

WebStore page: 

Did this work before? N/A 

Chrome version: 61.0.3163.79  Channel: stable
OS Version: Ubuntu 17.04
Flash Version:
 
Labels: Needs-Milestone
Cc: vamshi.k...@techmahindra.com
Labels: Triaged-ET M-65 OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on reported chrome version stable 61.0.3163.79 and on the latest canary 65.0.3299.0 using Windows 10, Mac 10.13.1 and Ubuntu 14.04. As the issue is seen from M50(50.0.2634.0) hence considering it as non-regression and marking it as Untriaged.
Components: -Platform>Extensions Internals>Plugins>PDF
Owner: thestig@chromium.org
Status: Assigned (was: Untriaged)
[Extensions Triage] Don't think this is Extension related. Assigning to thestig@ for further triage.
Cc: karandeepb@chromium.org
Owner: ----
Status: Untriaged (was: Assigned)
karandeepb: Internals>Plugins>PDF has a bug triage rotation. There is no need to assign bugs.
pdfium_test won't load the PDF. It doesn't think the PDF is valid. Though the PDF opens in other PDF viewers.

"qpdf --check" says:

WARNING: 795022.pdf: file is damaged
WARNING: 795022.pdf (file position 1536314): xref not found
WARNING: 795022.pdf: Attempting to reconstruct cross-reference table
checking 795022.pdf
PDF Version: 1.4
File is not encrypted
File is not linearized
operation for Dictionary object attempted on object of wrong type

Cc: -karandeepb@chromium.org
Regarding c#4: Noted. Removing myself from cc.
Fun fact: The PDF in question is actually 2 valid PDFs concatenated together.
Status: Available (was: Untriaged)

Sign in to add a comment