Evince says "The document contains no pages" while viewing pdf file

Bug #1617995 reported by Shubhojeet Ghosh
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Evince
Fix Released
Unknown
evince (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Evince says "The document contains no pages" while viewing pdf file
Please see file attached.
Ver. Evince 3.18.2 on Ubuntu 16.04 LTS

Tags: libpoppler
Revision history for this message
Shubhojeet Ghosh (shubhojeet-ghosh) wrote :
Revision history for this message
Shubhojeet Ghosh (shubhojeet-ghosh) wrote :

Although Chrome browser open the file without issues.

tags: added: libpoppler
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in evince (Ubuntu):
status: New → Confirmed
Revision history for this message
Thilo Cestonaro (tephraim) wrote :

I can confirm that evince still can't handle that document.... and others!

Revision history for this message
Thilo Cestonaro (tephraim) wrote :

I use Evince 3.32.0 Ubuntu Pre-19.10

Changed in evince (Ubuntu):
importance: Undecided → Low
Revision history for this message
Tejas (tejaskale27-s) wrote :

> evince --version
GNOME Document Viewer 3.36.7

Can confirm that this still exists. I had this when viewing a digitally signed document generated by https://www.docusign.com/ ( Cannot share this pdf unfortunately )

Debug messages with `G_MESSAGES_DEBUG=all`

```
Poppler-INFO: 08:35:07.796: Syntax error at position -1: Gen inside xref table too large (bigger than INT_MAX)
Poppler-INFO: 08:35:07.796: Syntax error at position -1: Invalid XRef entry 244
Poppler-INFO: 08:35:07.796: Syntax error at position -1: Invalid XRef entry 3
Poppler-INFO: 08:35:07.796: Syntax error at position -1: Top-level pages object is wrong type (null)
Poppler-INFO: 08:35:07.796: Syntax error at position -1: Top-level pages object is wrong type (null)
```

For the doc posted earlier by Shubhojeet Ghosh (shubhojeet-ghosh):
( Seems to be a different cause )

```
Poppler-INFO: 08:35:41.657: Syntax error at position -1: Invalid page count 0

(evince:2124716): Poppler-CRITICAL **: 08:35:41.687: PopplerPage* poppler_document_get_page(PopplerDocument*, int): assertion '0 <= index && index < poppler_document_get_n_pages (document)' failed

(evince:2124716): Poppler-CRITICAL **: 08:35:41.687: void poppler_page_get_size(PopplerPage*, double*, double*): assertion 'POPPLER_IS_PAGE (page)' failed

```

Both these documents are opened by chrome just fine.

Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

Example PDF (at least, it seems to reproduce the same error message): https://sec.report/lux/doc/102081415.pdf

I opened an upstream issue: https://gitlab.freedesktop.org/poppler/poppler/-/issues/1140

Changed in evince:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.