Evince displays grey pages + OOM on the console on certain pages with certain PDF files
Submitted by sco..@..il.com
Link to original bug (#782371)
Description
Some PDF files with the official JBoss guides cause Evince to display a grey page, plus the nav bar gets grey as well and weird: see e.g. http://imgur.com/lI87Ghz
Steps:
- start evince from the terminal
- open the acctached pdf (from https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.0/pdf/development_guide/Red_Hat_JBoss_Enterprise_Application_Platform-7.0-Development_Guide-en-US.pdf)
- go to page 69 (will look ok)
- scroll down to the next page
- you will see a grey page
- on the terminal you'll see some OOM errors:
(evince:14769): Gtk-WARNING **: drawing failure for widget 'EvView': out of memory
(evince:14769): Gtk-WARNING **: drawing failure for widget 'GtkScrolledWindow': out of memory
(evince:14769): Gtk-WARNING **: drawing failure for widget 'GtkOverlay': out of memory
(evince:14769): Gtk-WARNING **: drawing failure for widget 'GtkBox': out of memory
(evince:14769): Gtk-WARNING **: drawing failure for widget 'GtkPaned': out of memory
(evince:14769): Gtk-WARNING **: drawing failure for widget 'GtkBox': out of memory
(evince:14769): Gtk-WARNING **: drawing failure for widget 'EvWindow': out of memory
- keep scrolling and you'll see Evince "going crazy"
Works fine with the built-in PDF reader embedded in Firefox (https://support.mozilla.org/en-US/kb/view-pdf-files-firefox#w_using-the-built-in-pdf-viewer); http://imgur.com/XZhQlPK.
I'm on Ubuntu 16.04, Evince 3.18.2.
All screenshots here: http://imgur.com/a/7mFJW
BTW I've found that this bug has already been reported on Red Hat Bugzilla, but I think it makes sense to report it here as well. See https://bugzilla.redhat.com/show_bug.cgi?id=1378961
Firefox's pdf viewer gives me these info, which I think you may find useful:
File name: Red_Hat_JBoss_Enterprise_Application_Platform-7.0-Development_Guide-en-US.pdf
File size: 2,89 MB (3.030.937 bytes)
Title: Red Hat JBoss Enterprise Application Platform 7.0 Development Guide
Author: -
Creation Date: 17/2/2017, 21:10:55
Modification Date: -
Creator: wkhtmltopdf 0.12.2.1
PDF Producer: Qt 4.8.6
PDF Version: 1.4
Page Count: 382
Attachment 351412, "offending pdf file":
Red_Hat_JBoss_Enterprise_Application_Platform-7.0-Development_Guide-en-US.pdf
Version: 3.18.x