Comment 6 for bug 1617995

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.