Hide Forgot
Description of problem: I'm testing "gimagereader-gtk-3.1.99-1.fc25.x86_64" on Fedora 25 Workstation (Wayland session). The "Capture screenshot" functionality seems broken, as it throw an unhandled exception when invoked. This does not appear to be a regression, since the "3.1.91-1" is affected by the same bug. Version-Release number of selected component (if applicable): gimagereader-gtk-3.1.99-1.fc25.x86_64 How reproducible: Always Steps to Reproduce: 1. Open gtkimagereader-gtk from the terminal emulator 2. On the left side of the GUI, click the appropriate button in order to take a screenshot. Actual results: 1. The GUI gets stuck 2. The following output is printed on the terminal emulator: (gimagereader-gtk:5330): Gdk-CRITICAL **: gdk_pixbuf_get_from_surface: assertion 'width > 0 && height > 0' failed (gimagereader-gtk:5330): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_bits_per_sample: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (gimagereader-gtk:5330): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (gimagereader-gtk:5330): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (gimagereader-gtk:5330): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (gimagereader-gtk:5330): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_has_alpha: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (gimagereader-gtk:5330): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (gimagereader-gtk:5330): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (gimagereader-gtk:5330): glibmm-CRITICAL **: unhandled exception (type Glib::Error) in signal handler: domain: gdk-pixbuf-error-quark code : 5 what : Errore critico nel file di immagine PNG: Invalid IHDR data Expected results: 1. Ideally, the software should capture the screenshot without issues. 2. Ideally, no exceptions should be thrown on the terminal emulator. Additional info: I'm testing with qemu-kvm
Thanks for the bug report and for testing, I'll look into it.
Does not happen on F26/Rawhide. Looks like an issue with wayland/gdk which results in corrupt PNG data being returned for the screen capture. I'll need to set up a F25 VM to test further.
Unable to reproduce here. Can you provide a stack trace so that I can add some safeguards?
Closing since no reply. Feel free to reopen if you can provide more info.