Red Hat Bugzilla – Bug 1279291
Complete wayland session lockup or crash if pressing F11 under firefox
Last modified: 2017-03-20 11:58:06 EDT
Description of problem:
In Fedora 23, a gnome-shell session running under X11 will put firefox in a full-screen window when pressing F11. This is the expected behavior.
When running the same version of firefox and gnome-session under wayland, pressing F11 instead locks up the session completely. The keyboard becomes unresponsive, the mouse freezes, the console switch keys (Ctrl-Alt-FN) do not work either. Once this happens, I have to hard-reset the machine.
Version-Release number of selected component (if applicable):
Always (under gnome wayland session)
Steps to Reproduce:
1. Start Gnome under Wayland
2. Start Firefox
3. Press F11
Either a) fullscreen responsive window, as in X11, or b) failure to do anything, with session still responsive.
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10) (prog-if 00 [VGA controller])
Subsystem: Foxconn International, Inc. Device 0ded
Flags: bus master, fast devsel, latency 0, IRQ 27
Memory at fdf00000 (32-bit, non-prefetchable) [size=512K]
I/O ports at ff00 [size=8]
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Memory at fdb00000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled]
Capabilities:  MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Kernel driver in use: i915
Kernel modules: i915
I have not tried checking network responsiveness.
Looks more like Gtk3 bug.
I have also reproduced the lockup when pressing F11 on dia, which is, as far as I know, an X11 application that uses GTK2. Therefore, I think this is more of an Xwayland issue.
Still happening on Fedora 24 with:
I can ssh into the machine during the lockup, and apparently gnome-shell and firefox are both spinning.
Still happening on Fedora 25 with:
During the lockup, an attempt to switch to another virtual console with Ctrl-Alt-F3 and back ended up crashing Xwayland and gnome-shell.
Another crash. I found this in the system log from journalctl -b.
The program 'gnome-shell' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 1929 error_code 11 request_code 12 (core protocol) minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Still happening. I have seen that this crash is dependent on the Wayland display size. By changing the screen resolution I have seen that at up to 1024x768 Firefox correctly goes fullscreen without crashes, at 1152x864 it goes a little sluggish, and it crashes at 1280x960 and upwards.