Bug 1400182

Summary: Mutter 3.22.2 makes Gnome sessions fail under Xorg
Product: [Fedora] Fedora Reporter: David H. Gutteridge <dhgutteridge>
Component: mutterAssignee: Florian Müllner <fmuellner>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 25CC: BLWedge09, email, fmuellner, james, lucachess, nisutubobi, otaylor, rickatnight11, rmatos, secondary, walters
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-07 16:06:12 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:

Description David H. Gutteridge 2016-11-30 16:22:46 UTC
Description of problem:
After upgrading from mutter-3.22.1-8.fc25 to mutter-3.22.2-1.fc25, Gnome sessions under Xorg hang.

Version-Release number of selected component (if applicable):
3.22.2

How reproducible:
Always

Steps to Reproduce:
1. Start a "Gnome on Xorg" session from the GDM login prompt.
2. Observe that a screen showing only the grey background appears.
3. Check journalctl output and see that there are messages such as "WARNING: App 'org.gnome.Shell.desktop' exited with code 1".

Actual results:
Unusable session.

Expected results:
Usable session, as with the previous version of the package.

Additional info:
The obvious workaround is to revert mutter to 3.22.1-8.fc25, which works fine with all other packages in today's update, including the gnome-shell 3.22 ones.

Possibly relevant excerpt from journalctl:

Nov 30 10:30:15 arcusvii.nonus-porta.net org.gnome.Shell.desktop[1408]: X Error of failed request:  BadValue (integer parameter out of range for operation)
Nov 30 10:30:15 arcusvii.nonus-porta.net org.gnome.Shell.desktop[1408]:   Major opcode of failed request:  131 (XInputExtension)
Nov 30 10:30:15 arcusvii.nonus-porta.net org.gnome.Shell.desktop[1408]:   Minor opcode of failed request:  57 ()
Nov 30 10:30:15 arcusvii.nonus-porta.net org.gnome.Shell.desktop[1408]:   Value in failed request:  0x11c
Nov 30 10:30:15 arcusvii.nonus-porta.net org.gnome.Shell.desktop[1408]:   Serial number of failed request:  281
Nov 30 10:30:15 arcusvii.nonus-porta.net org.gnome.Shell.desktop[1408]:   Current serial number in output stream:  282
Nov 30 10:30:15 arcusvii.nonus-porta.net gnome-session[1319]: gnome-session-binary[1319]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Nov 30 10:30:15 arcusvii.nonus-porta.net gnome-session-binary[1319]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Nov 30 10:30:15 arcusvii.nonus-porta.net org.gnome.Shell.desktop[1415]: X Error of failed request:  BadValue (integer parameter out of range for operation)
Nov 30 10:30:15 arcusvii.nonus-porta.net org.gnome.Shell.desktop[1415]:   Major opcode of failed request:  131 (XInputExtension)
Nov 30 10:30:15 arcusvii.nonus-porta.net org.gnome.Shell.desktop[1415]:   Minor opcode of failed request:  57 ()
Nov 30 10:30:15 arcusvii.nonus-porta.net org.gnome.Shell.desktop[1415]:   Value in failed request:  0x11c
Nov 30 10:30:15 arcusvii.nonus-porta.net org.gnome.Shell.desktop[1415]:   Serial number of failed request:  281
Nov 30 10:30:15 arcusvii.nonus-porta.net org.gnome.Shell.desktop[1415]:   Current serial number in output stream:  282
Nov 30 10:30:15 arcusvii.nonus-porta.net gnome-session[1319]: gnome-session-binary[1319]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Nov 30 10:30:15 arcusvii.nonus-porta.net gnome-session[1319]: gnome-session-binary[1319]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Nov 30 10:30:15 arcusvii.nonus-porta.net gnome-session-binary[1319]: Unrecoverable failure in required component org.gnome.Shell.desktop
Nov 30 10:30:15 arcusvii.nonus-porta.net gnome-session-binary[1319]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Nov 30 10:30:15 arcusvii.nonus-porta.net gnome-session-binary[1319]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Nov 30 10:30:16 arcusvii.nonus-porta.net spice-vdagent[1429]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
Nov 30 10:30:16 arcusvii.nonus-porta.net gnome-session[1319]: gnome-session-binary[1319]: WARNING: App 'spice-vdagent.desktop' exited with code 1
Nov 30 10:30:16 arcusvii.nonus-porta.net gnome-session-binary[1319]: WARNING: App 'spice-vdagent.desktop' exited with code 1
Nov 30 10:30:16 arcusvii.nonus-porta.net gnome-session[1319]: Unable to init server: Could not connect: Connection refused
Nov 30 10:30:16 arcusvii.nonus-porta.net kernel: show_signal_msg: 18 callbacks suppressed
Nov 30 10:30:16 arcusvii.nonus-porta.net kernel: gnome-session-f[1421]: segfault at 0 ip b729c7ae sp bfe8e590 error 4 in libgtk-3.so.0.2200.4[b6f83000+750000]
Nov 30 10:30:16 arcusvii.nonus-porta.net audit[1421]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=1421 comm="gnome-session-f" exe="/usr/libexec/gnome-session-failed" sig=11
Nov 30 10:30:16 arcusvii.nonus-porta.net abrt-hook-ccpp[1433]: Process 1421 (gnome-session-failed) of user 1000 killed by SIGSEGV - dumping core

Comment 1 David H. Gutteridge 2016-11-30 16:30:51 UTC
Note there is no such issue on the machine in question running Gnome with Wayland. Only Xorg is affected. I only have the i686 machine to test with at present, so I can't comment if x86_64 is similarly affected (I'm guessing not if no one's already hit this).

Comment 2 David H. Gutteridge 2016-11-30 17:04:22 UTC
I tried setting some environment variables as detailed (https://developer.gnome.org/meta/stable/running-mutter.html) but the resulting output doesn't seem useful. It stops outputting after the first five lines are written.

Comment 3 Paweł Szymon Kosiński (pskosinski) 2016-11-30 21:03:31 UTC
I can confirm I get the same issue on x86_64.

Comment 4 David H. Gutteridge 2016-12-01 21:35:15 UTC
I'm unable to duplicate this on an x86_64 laptop I just upgraded to Fedora 25, so it appears there's something hardware-specific about this. (General settings are identical on both.) Both the reproducing and non-reproducing laptops have Intel graphics of differing vintages.

Comment 5 Paweł Szymon Kosiński (pskosinski) 2016-12-01 22:18:01 UTC
Interesting, I have the same issue and downgrading mutter alone fixes the problem. I do have Intel graphics card too (and x86_64 system): Intel HD Graphics 3000 on Intel i3-2310M processor (Sandy Bridge).

Comment 6 Brandon 2016-12-02 16:40:13 UTC
Same issue here on a Dell Lattitude E5470 with Processor: Intel® Core™ i5-6300U CPU @ 2.40GHz × 4  and Graphics: Intel HD Graphics 520 (Skylake GT2).

Comment 7 James 2016-12-02 19:50:13 UTC
Just run into this on my i7-2760Q notebook with Intel X3100 graphics. Downgrade mutter to fix.

My i5-5200U machine is unaffected.

Comment 8 Marco Motta 2016-12-02 20:27:27 UTC
I have the same problem on a notebook with Fedora 25 64 bit, Intel(R) Core(TM)2 Quad  CPU Q9000 @ 2.00GHz processor and Mobility Radeon HD 4650/5165 video card with radeon open drivers. This is the log of /var/log/messages, taken from ssh connection):

[   75.184974] gnome-session-f[1376]: segfault at 0 ip 00007fd515ddf579 sp 00007ffd2f332670 error 4 in libgtk-3.so.0.2200.4[7fd515b01000+6f0000]


Note that gnome-shell do not start, although the desktop icons are visible on a black background, and I can browse folders from them (but no execute any programs:

ps -e | grep gnome
  999 ?        00:00:00 gnome-keyring-d
 1238 tty1     00:00:00 gnome-session-b
 1385 tty1     00:00:00 gnome-settings-
 1462 tty1     00:00:01 gnome-softwar


Note too that another PC with Fedora 25 64 bit, GeForce GTX 650 video card, nouveau driver and Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz processor is wirking fine with the new version of mutter.
This bug seems hardware-dependent.

Comment 9 Tubobi Zain 2016-12-03 13:29:48 UTC
Same here. Hardware: dell precision 7510 with nvidia m1000m and i7-6820HQ.
Downgrading to mutter 3.22.1 helps.

journalctl:
Dez 03 13:45:56 my-laptop gnome-session-binary[1497]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Dez 03 13:45:56 my-laptop gnome-session-binary[1497]: Unrecoverable failure in required component org.gnome.Shell.desktop
Dez 03 13:45:56 my-laptop gnome-session-binary[1497]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Dez 03 13:45:56 my-laptop spice-vdagent[1547]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
Dez 03 13:45:56 my-laptop gnome-session-binary[1497]: WARNING: App 'spice-vdagent.desktop' exited with code 1
Dez 03 13:45:56 my-laptop gnome-session[1497]: gnome-session-binary[1497]: WARNING: App 'spice-vdagent.desktop' exited with code 1
Dez 03 13:45:56 my-laptop gnome-session[1497]: Unable to init server: Could not connect: Connection refused
Dez 03 13:45:56 my-laptop audit[1546]: ANOM_ABEND auid=4294967295 uid=42 gid=42 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 pid=1546 comm="gnome-session-f" exe="/usr/libexec/gnome-session-fai
Dez 03 13:45:56 my-laptop abrt-hook-ccpp[1551]: Process 1546 (gnome-session-failed) of user 42 killed by SIGSEGV - dumping core

Comment 10 secondary 2016-12-04 17:04:31 UTC
Looks like nvidia hardware is also affected: Geforce GT 730 using kmod-nvidia-4.8.10-300.fc25.x86_64.x86_64-1:375.20-1.fc25. Downgrading to mutter 3.22.1-8 resolved the issue.

Comment 11 Rick White 2016-12-06 04:01:46 UTC
I can confirm the same issue in a VirtualBox (5.1.10 on Windows 7 host) VM after upgrading from Fedora 24 to 25.

Downgrading mutter with `sudo dnf install mutter-3.22.1-8.fc25.x86_64` resolved this issue for me immediately.

Comment 12 Luca 2016-12-07 06:59:53 UTC
I can confirm this bug that appeared last week when I decided to upgrade from Fedora 24 (which works PERFECTLY).

Comment 13 Luca 2016-12-07 12:33:18 UTC
I am encountering this error during GNOME startup (core I3 4th generation):

[20632.439078] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* uncleared fifo underrun on pipe A
[20632.439103] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun

Comment 14 Rui Matos 2016-12-07 16:06:12 UTC

*** This bug has been marked as a duplicate of bug 1401893 ***

Comment 15 David H. Gutteridge 2016-12-07 21:29:09 UTC
Confirming https://bodhi.fedoraproject.org/updates/FEDORA-2016-12b729ad09 fixes the issue for me. (I'm commenting here since when this bug was closed as a duplicate, the CC list wasn't carried over to the other bug. I guess that's a deficiency of Bugzilla.)

Comment 16 Luca 2016-12-13 07:11:03 UTC
This bug reappeared again, unlucky... 

[  145.610219] gnome-session-f[2606]: segfault at 0 ip 00007fbe2669b579 sp 00007ffeddba0700 error 4 in libgtk-3.so.0.2200.4[7fbe263bd000+6f0000]

so this bug is not fixed, again.

Comment 17 David H. Gutteridge 2016-12-13 15:32:46 UTC
(In reply to Luca from comment #16)
> This bug reappeared again, unlucky... 
> 
> [  145.610219] gnome-session-f[2606]: segfault at 0 ip 00007fbe2669b579 sp
> 00007ffeddba0700 error 4 in libgtk-3.so.0.2200.4[7fbe263bd000+6f0000]
> 
> so this bug is not fixed, again.

I can't duplicate this, with updates as of last night. There must be something different in your environment versus mine.