[Wayland-bugs] [Bug 768111] New: Applications exit after "Error 71 (Protocol error) dispatching to Wayland display" while showing menu

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 27 19:46:17 UTC 2016


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

            Bug ID: 768111
           Summary: Applications exit after "Error 71 (Protocol error)
                    dispatching to Wayland display" while showing menu
    Classification: Platform
           Product: gtk+
           Version: 3.20.x
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
          Assignee: gtk-bugs at gtk.org
          Reporter: gnome at genodeftest.de
        QA Contact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---

With Gtk+ 3.x applications running with a wayland Gdk backend I recently
discovered an issue which exits applications in rare cases. They happen
while/after showing a menu. Right before the application exits, it prints this
warning

Gdk-WARNING **: Error 71 (Protocol error) dispatching to Wayland display.

from gdk/wayland/gdkeventsource.c:197. There are 2 cases I can reproduce:

1. In LibreOffice Impress, when using the "View" menu, in some cases it just
exits after printing the warning added above.
Bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1343752#c7 
Backtrace: https://bugzilla.redhat.com/attachment.cgi?id=1172226

2. Firefox builds with Wayland Gdk backend behave similiar on showing any menu
(!)
Bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1350060
Backtrace: https://bugzilla.redhat.com/attachment.cgi?id=1172224
Note that this doesn't work with default Firefox builds because they enforce
using x11 as Gdk backend on linux. You have to use the builds from
https://copr.fedorainfracloud.org/coprs/stransky/firefox-wayland/ instead. See
this mailing list thread for details:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/54P3DQEOHXJQNUPUMHLA2GSQCWU4ZKXE/

I'm reporting this here because it happens in 2 very different applications and
because a LibreOffice developer commented this would be an issue in Gtk+ in
https://bugzilla.redhat.com/show_bug.cgi?id=1343752#c10

Despite using gnome+wayland heavily, this bug hasn't occurred to me anywhere
else before so I guess it is either recently introduced or due to the special
way how Firefox and LibreOffice use Gtk+.

-- 
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/20160627/f3c8a2d9/attachment-0001.html>


More information about the wayland-bugs mailing list