broken document can break evince drawing
@chpe
Submitted by Christian Persch Link to original bug (#719766)
Description
Open the document here: https://bugzilla.redhat.com/attachment.cgi?id=659314 (from https://bugzilla.redhat.com/show_bug.cgi?id=885054).
Result:
Internal Error: cairo context error: invalid value (typically too big) for the size of the input (surface, pattern, etc.)`<0a>`
Internal Error: cairo context error: invalid value (typically too big) for the size of the input (surface, pattern, etc.)`<0a>`
(lt-evince:26604): Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'width > 0 && height > 0' failed
(lt-evince:26604): Gtk-WARNING **: drawing failure for widget `EvView': invalid matrix (not invertible)
(lt-evince:26604): Gtk-WARNING **: drawing failure for widget `GtkScrolledWindow': invalid matrix (not invertible)
(lt-evince:26604): Gtk-WARNING **: drawing failure for widget `GtkOverlay': invalid matrix (not invertible)
(lt-evince:26604): Gtk-WARNING **: drawing failure for widget `GtkBox': invalid matrix (not invertible)
(lt-evince:26604): Gtk-WARNING **: drawing failure for widget `GtkPaned': invalid matrix (not invertible)
(lt-evince:26604): Gtk-WARNING **: drawing failure for widget `GtkBox': invalid matrix (not invertible)
(lt-evince:26604): Gtk-WARNING **: drawing failure for widget `EvWindow': invalid matrix (not invertible)
[etc]
Now, obviously, a bad document should not be able to break the drawing of the UI elements (Gtk* widget warnings above), only the drawing of the document itself.
gtk+, poppler and evince from git master, cairo-1.12.14-2.fc19.i686.
Edited by Germán Poo-Caamaño