After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 743553 - mutter built from jhbuild freezes on x11
mutter built from jhbuild freezes on x11
Status: RESOLVED NOTGNOME
Product: mutter
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2015-01-26 20:44 UTC by Sylvain Pasche
Modified: 2015-01-29 22:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sylvain Pasche 2015-01-26 20:44:25 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

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.
Comment 1 Sylvain Pasche 2015-01-29 20:57:43 UTC
Turns out to be related to libXi: https://bugs.freedesktop.org/show_bug.cgi?id=88870
Comment 2 Florian Müllner 2015-01-29 22:01:10 UTC
Thanks for tracking this down!