[Wayland-bugs] [Bug 762755] Epiphany, Eye of GNOME crash when run in gdkwindow-wayland.c buffer_release_callback()

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Sat Feb 27 22:07:53 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=762755

--- Comment #5 from Ray Strode [halfline] <rstrode at redhat.com> ---
well the obvious fix is to add a null check for the region, but that just
trades a crash for a warning, since the line is:

g_warn_if_fail (!cairo_region_is_empty (impl->staged_updates_region));

The g_warn_if_fail is wrong, since that code path can run any time something
calls begin_paint and then doesn't paint anything.

I think I know a better tactic to take and I'll attach a draft patch to that
effect, but I can't actually test it since epiphany won't start at all for me.
it's trying to use X11 specific code:

Gdk-WARNING **: gdkwindow-x11.c:5550 drawable is not a native X11 window

Gdk-WARNING **: gdkwindow-x11.c:5550 drawable is not a native X11 window

GLib-GObject-WARNING **: invalid cast from 'GdkWaylandVisual' to 'GdkX11Visual'

Gdk-WARNING **: gdkwindow-x11.c:5550 drawable is not a native X11 window
Segmentation fault (core dumped)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160227/fe2fe6e7/attachment.html>


More information about the wayland-bugs mailing list