Bug 1350060
Summary: | [wayland-copr] Firefox exits with "Error 71 (Protocol error) dispatching to Wayland display." when showing any menu | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Christian Stadelmann <fedora> | ||||||
Component: | firefox | Assignee: | Martin Stransky <stransky> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 25 | CC: | gecko-bugs-nobody, jhorak, pjasicek, stransky | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2017-06-01 20:10:01 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1054334 | ||||||||
Attachments: |
|
Description
Christian Stadelmann
2016-06-25 00:30:20 UTC
This crash also happens in the main menu (menu toolbar enabled by pressing the Alt key). Context menus in about:config are affected too, so I guess it affects most if not all menus Created attachment 1172224 [details] A backtrace from gdb attached to firefox from wayland copr Breaking on g_strerror and skipping some occurrences, I managed to get a backtrace. The error is being catched in https://github.com/GNOME/gtk/blob/master/gdk/wayland/gdkeventsource.c#L197 Also reported against Gtk+: https://bugzilla.gnome.org/show_bug.cgi?id=768111 Created attachment 1173920 [details] Output of $ LC_ALL=C WAYLAND_DEBUG=1 firefox According to upstream Gtk+ developer Jonas Ã…dahl [1]: > As far as I can tell what is happening is that: > > 1. a popup is created with the toplevel window as parent > 2. another popup is created while the previous popup is still mapped, also with the toplevel window as parent > > This is not allowed, as the compositor wouldn't know what to dismiss when the popup grab is broken. > > I'm guessing that either firefox is > 1) missing to destroy an old menu, or > 2) using the wrong parent for a child menu, or > 3) it accidentally creates two popups when it meant to create only one. [1] https://bugzilla.gnome.org/show_bug.cgi?id=768111#c5 and #c3 This issue is gone in Nightly builds for wayland, 52.0a1, BuildID 20170215004354, downloaded from https://firefox-flatpak.mojefedora.cz/ (created with build scripts from https://github.com/xhorak/firefox-devedition-flatpak) |