GNOME Bugzilla – Bug 743553
mutter built from jhbuild freezes on x11
Last modified: 2015-01-29 22:01:10 UTC
Since a few months I didn't have much success trying to run GNOME using jhbuild. After I run "jhbuild run gnome-shell --replace" the desktop freezes after a while and I have to kill gnome-shell. I can reproduce the issue when running mutter alone on Xorg (startx /bin/xterm). I tried running mutter with debugging: GDK_DEBUG=all MUTTER_VERBOSE=1 MUTTER_DEBUG=1 jhbuild run xtrace mutter -r I could notice that once I try to switch focus from a window to another, mutter stops receiving / processing x11 events (I don't see any more logging being generated when I move the mouse on the desktop). strace is also "stuck": [pid 10748] recvmsg(6, 0x7fff5dcdd000, 0) = -1 EAGAIN (Resource temporarily unavailable) [pid 10748] recvmsg(13, 0x7fff5dcdcff0, 0) = -1 EAGAIN (Resource temporarily unavailable) [pid 10748] poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN}], 4, 4294967295 The gstack output doesn't look much different before and after the freeze. gstack $(pidof mutter)|grep Thread -A1
+ Trace 234595
I can reproduce with mutter built using jhbuild from the 3.14 branch and also from the 3.16 one. The system mutter (3.14.3 on Fedora 21) doesn't have such issue. Any help how to debug this further would be appreciated.
Turns out to be related to libXi: https://bugs.freedesktop.org/show_bug.cgi?id=88870
Thanks for tracking this down!