After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791163 - Can't visualize large PDF
Can't visualize large PDF
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: PDF
3.26.x
Other Linux
: Normal minor
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-12-03 11:46 UTC by Tomas
Modified: 2017-12-05 00:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
messy call graph of open-ssh (1.36 MB, application/pdf)
2017-12-03 11:46 UTC, Tomas
Details

Description Tomas 2017-12-03 11:46:23 UTC
Created attachment 364851 [details]
messy call graph of open-ssh

Hi,

I generated a messy and large PDF with the call graph of openssh. The file it's hard to visualize in general. I can somehow browse it in Chrome, but in Firefox I can't see the labels on focus. In Evince instead it renders nothing.
Comment 1 Germán Poo-Caamaño 2017-12-04 20:53:03 UTC
Thanks for your report.

Running pdftocairo (a tool provided by Poppler, the library used by Evince to render PDF) shows some errors:

$ pdftocairo -png CG.pdf CG
Internal Error: cairo context error: invalid value (typically too big) for the size of the input (surface, pattern, etc.)<0a>
cairo error: invalid value (typically too big) for the size of the input (surface, pattern, etc.)
libpng warning: Image width is zero in IHDR
libpng warning: Image height is zero in IHDR
libpng error: Invalid IHDR data
Internal Error: Error during writing header
Error writing CG-1.png

Running pdftoppm complains about memory:
$ pdftoppm CG.pdf CG
Bogus memory allocation size

Interesting enough: Acroread shows an empty page, and FoxItReader seems to be more permissive with errors and such.

It seems to me this is an issue in Poppler, not Evince. Please file a bug in Poppler's bug tracker:
https://bugs.freedesktop.org/enter_bug.cgi?product=poppler

Once you do it, please feel free to add a reference of the bug number in Poppler.
Comment 2 Tomas 2017-12-04 21:39:28 UTC
Thanks,

I reported it to Poppler at: https://bugs.freedesktop.org/show_bug.cgi?id=104088