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 650857 - Gnome-shell frequently freezes with nothing in logs
Gnome-shell frequently freezes with nothing in logs
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.0.x
Other Linux
: Normal major
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-05-23 12:19 UTC by Martin Dratva
Modified: 2012-12-13 22:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
messages.log (7.87 KB, text/plain)
2011-05-23 12:19 UTC, Martin Dratva
Details
Xorg.log (48.94 KB, text/plain)
2011-05-23 12:19 UTC, Martin Dratva
Details
xsession-errors (6.42 KB, text/plain)
2011-05-23 19:04 UTC, Martin Dratva
Details
xsession-errors part II (5.05 KB, text/plain)
2011-05-23 21:42 UTC, Martin Dratva
Details
script(https://live.gnome.org/GnomeShell/Debugging) output (1.48 KB, text/plain)
2011-06-06 19:21 UTC, Jozef Pajzinka
Details
gdb output (4.82 KB, text/plain)
2011-06-06 19:22 UTC, Jozef Pajzinka
Details
PID 10397 (2.92 KB, text/plain)
2011-06-09 20:40 UTC, Micky King
Details
PID 16495 (4.18 KB, text/plain)
2011-06-13 16:08 UTC, Micky King
Details
xsession log (24.03 KB, application/octet-stream)
2011-09-23 04:31 UTC, bwatkins
Details
gdb output (5.71 KB, text/plain)
2011-10-17 19:22 UTC, Jozef Pajzinka
Details
output from gdb (5.53 KB, text/plain)
2011-12-15 00:08 UTC, Przemyslaw Kochanski
Details
Backtrace (1.37 KB, text/plain)
2011-12-16 14:50 UTC, dany
Details

Description Martin Dratva 2011-05-23 12:19:14 UTC
Created attachment 188376 [details]
messages.log

Hello.

I have been using Gnome 2 + Compiz + ATI open source driver for a long time without any problem on this setup. Since upgrading to Gnome 3 I am experiencing frequent freezes. Frequency is not regular, for example, today I used this machine for almost 2 hours, but then I got 3 freezes in 20 minutes.
What happens - screen stops responding, conky is not refreshing, I can not switch between open windows, nothing reacts EXCEPT mouse, which seems to behave completely normal. I can switch to console and log in, music player still keeps on playing songs.
I can restart Xorg by CTRL+ALT+BACKSPACE and then all is fine again. So it is not a complete freeze, just a gnome-shell (?) freeze.

The same machine has the same installation (Arch Linux) cloned 3 times. 
- Arch + XFCE
- Arch + Gnome 2 + Compiz
- Arch + Gnome 3

The other two clones of the same installation work without any problem, so I am pretty sure this is Gnome 3 problem.
Comment 1 Martin Dratva 2011-05-23 12:19:50 UTC
Created attachment 188377 [details]
Xorg.log
Comment 2 Rui Matos 2011-05-23 13:16:22 UTC
Anything in ~/.xsession-errors ?
Comment 3 Martin Dratva 2011-05-23 14:48:27 UTC
According to guy in this thread is started:
https://bbs.archlinux.org/viewtopic.php?id=119060
there is nothing in ~/.xsession-errors.

I will check on my machine when it freezes again and post that file here.
Comment 4 Martin Dratva 2011-05-23 19:04:04 UTC
I just had a crash. See attachment for .xsession-errors.
Comment 5 Martin Dratva 2011-05-23 19:04:33 UTC
Created attachment 188412 [details]
xsession-errors
Comment 6 Rui Matos 2011-05-23 19:30:06 UTC
> ** (gnome-shell:3767): WARNING **: Accessibility: org.a11y.atspi schema not found. Are you sure that at-spi or at-spi2 is installed on your system?

gsettings aborts the process if it can't find all the schemas. You need to install at-spi.
Comment 7 Martin Dratva 2011-05-23 19:39:12 UTC
I have at-spi 1.32.0-4 installed.
Comment 8 Rui Matos 2011-05-23 20:01:58 UTC
Try installing at-spi2.
Comment 9 Martin Dratva 2011-05-23 20:27:50 UTC
Ok, in my repo I have:

extra/at-spi 1.32.0-4 [installed]
    Assistive Technology Service Provider Interface
extra/at-spi2-atk 2.0.1-1 (gnome) [installed]
    A GTK+ module that bridges ATK to D-Bus at-spi
extra/at-spi2-core 2.0.1-1 (gnome) [installed]
    Protocol definitions and daemon for D-Bus at-spi


As you can see I have now installed all three of them. Do I still need the 1.32 version and do I need both core and atk from the version 2 ?

Above mentioned warning is now gone from my .xsession-errors file. I will test and report back whether this has solved my problems.
Comment 10 Milan Bouchet-Valat 2011-05-23 21:06:48 UTC
Can you check whether $(prefix)/share/glib-2.0/schemas/org.a11y.atspi.gschema.xml exists? How do you start the Shell? What does this command say:
gsettings get org.a11y.atspi atk-bridge-location

Your problem may simply be that GSettings schemas are not loaded correctly, and at-spi is the first schema that the Shell tries to load.
Comment 11 Martin Dratva 2011-05-23 21:17:59 UTC
I do have file /usr/share/glib-2.0/schemas/org.a11y.atspi.gschema.xml


I do start shell using GDM and GDM is started with inittab:
x:5:respawn:/usr/sbin/gdm -nodaemon


Using your command:
raqua@Phenom64:/etc-gnome3 
$ gsettings get org.a11y.atspi atk-bridge-location
'/usr/lib/gtk-3.0/modules/libatk-bridge.so'
Comment 12 Milan Bouchet-Valat 2011-05-23 21:36:25 UTC
So everything looks good. My question about how you start the Shell was more: do you run it from packages? If not, then jhbuild can explain why GSettings are not properly found by the Shell.
Comment 13 Martin Dratva 2011-05-23 21:41:42 UTC
I am not sure if I understand what do you mean. I installed gnome from my distribution packages. 

Btw. It is still crashing. 

I am uploading new .xsession-errors file.
Comment 14 Martin Dratva 2011-05-23 21:42:20 UTC
Created attachment 188424 [details]
xsession-errors part II
Comment 15 Martin Dratva 2011-05-23 21:48:36 UTC
And this appeared in my dmesg:
 at-spi-bus-laun[10244]: segfault at 968 ip 00007f2192102a21 sp 00007fff93705e40 error 4 in libX11.so.6.3.0[7f21920de000+139000]

But right after freeze, this was not in logs, it appeared later.
Comment 16 Martin Dratva 2011-05-31 07:44:27 UTC
Still freezing in Gnome 3.0.2
Comment 17 Micky King 2011-05-31 21:49:51 UTC
(In reply to comment #16)
> Still freezing in Gnome 3.0.2

Just wanted to add that I have been having the exact same issue as Martin.  My work around for the freezing is fallback mode for now..
Comment 18 Jozef Pajzinka 2011-06-05 19:48:04 UTC
Hi guys I have same problem. So I ssh from my netbook and I've made little investigation. 

I take a look on any logs (Xorg/dmesg/xsession-errors/messages) and didn't found anything suspicious. 

I've tried to restart daemons, but that brought no effect.
Interesting on the freeze is, that all what happens is that windows manager doesn't respond to keyboard/mouse. So I can move with mouse and see result, but click is without effect. Or I've triyed alt+F2, r, ENTER (restart gnome) but again nothing has happened. Moreover, when it freezes with video on background I could still listen the sound.

Interesting was that when I tried to kill firefox and empathy with -9, they stayed alive as defunct. Then I strace-d gnome-shell instance and it was frozen on call: restart_syscall(<... resuming interupted call ...>)

Please take a look at it, I hope I helped you a bit ;)
Joe
Comment 19 Martin Dratva 2011-06-05 20:05:22 UTC
I would say that this bug already deserves to be marked as confirmed.
Comment 20 Milan Bouchet-Valat 2011-06-05 20:38:04 UTC
Since you have SSH access, could you get backtraces for the Shell, and possibly X.org? See https://live.gnome.org/GnomeShell/Debugging.

Martin: Usually, we never mark bugs as confirmed, even when developers know that's a real issue and have information about it. This doesn't prevent them from begin fixed.
Comment 21 Jozef Pajzinka 2011-06-06 19:21:05 UTC
Created attachment 189356 [details]
script(https://live.gnome.org/GnomeShell/Debugging) output
Comment 22 Jozef Pajzinka 2011-06-06 19:22:45 UTC
Created attachment 189357 [details]
gdb output
Comment 23 Rui Matos 2011-06-06 20:17:27 UTC
Is everyone here using the free radeon driver? Please post your graphics chip's model as well as the mesa version you're using.

Martin:
From your X log it seems you're using the classic r300 driver. Can you try the r300g (gallium) driver instead?
Comment 24 Matt Walton 2011-06-06 22:16:47 UTC
I'm having what sounds like the same problem. From time to time, the Shell just freezes, mouse moves (although the pointer doesn't change as normal over various elements, it just stays on whatever it was when the freeze started). After a couple of minutes, suddenly everything is back to normal, and it even reacts to clicks made during the freeze, changing window focus/stacking appropriately for example.

During one of two such freezes today, I switched out to another virtual console (that still works fine), logged in and had a look at top. gnome-shell was chewing between 95% and 100% CPU continuously until the freeze went away. I straced it and it was spinning around the same system call - sched_yield() or something like that (I'd not seen it before, so the spelling hasn't stuck very firmly in my mind and I've now lost that bit of console history).

I am *not* using the radeon driver. Here's my system:

Fedora 15 x86_64, no additional package sources, up to date (GNOME 3.0.2)
Lenovo ThinkPad T61p, 4GB RAM, Core 2 Duo CPU
nVidia Quadro 140M graphics chip
nouveau 3D driver, Fedora's default setup upon installation of 15
Using GNOME Shell as my primary session. Because the freeze always resolves, I can put up with it for the time being, but obviously I'd like to see it fixed!

The only stuff in my .xsession-errors seems to be various hideous things going on with Firefox plugins. I'll check it just after a freeze next time.
Comment 25 Jozef Pajzinka 2011-06-07 00:16:19 UTC
I have ATI x1400 and I'm using xf86-video-ati and Galium on ATI RV515
Comment 26 Jozef Pajzinka 2011-06-07 00:39:05 UTC
I have ATI x1400 and I'm ati-dri(mesa) 7.10.2-2
Comment 27 Rui Matos 2011-06-07 14:27:46 UTC
(In reply to comment #25)
> I have ATI x1400 and I'm using xf86-video-ati and Galium on ATI RV515

Ok, that's good. Your gdb trace above is missing debug symbols though. Can you install the debug packages for (at least) your mesa and clutter packages and get that gdb backtrace again please? Thanks.
Comment 28 Micky King 2011-06-08 16:58:18 UTC
I have an ATI Radeon X1550 and am using package xf86-video-ati-dri from AUR and ati-dri(mesa) v 7.10.2-2 from Arch's repo's. I have also tried the xf86-video-ati from extra with the same results.

Graphics list out as Gallium 0.4 on ATI RV515 here also.
Comment 29 Micky King 2011-06-09 20:40:52 UTC
Created attachment 189579 [details]
PID 10397

I SSH'd in as well and ran gdb against the gnome-shell.  Strangely enough... every time I attached to the running gnome-shell instance it crashed immediately where normally I can run for about an hour or so before it freezes.  Then again I may be doing something wrong.  

Anyway, my output looks about the same as Jozef because I also could not find any debug packages for mesa and/or clutter for my distro.  I ran a package Query looking for anything titled mesa-debug etc.  Again, this is under Arch.  Any suggestions so that I may provide a more useful debug for you?
Comment 30 Rui Matos 2011-06-09 20:57:07 UTC
(In reply to comment #29)
> Anyway, my output looks about the same as Jozef because I also could not find
> any debug packages for mesa and/or clutter for my distro.  I ran a package
> Query looking for anything titled mesa-debug etc.  Again, this is under Arch. 
> Any suggestions so that I may provide a more useful debug for you?

https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces
Comment 31 Stephen Mather 2011-06-12 20:11:14 UTC
I seem to be having the same problem, however it only occurs occasionally when my screen turns on after having turned off automatically. When moving the pointer with mouse or touchpad to turn the screen on, my desktop appears but nothing responds except the pointer. The only other thing of note is that the speech bubble beside my user name in the panel has three dots through it. I can switch to other VTs without issue.

System:
Arch Linux x86_64
MacBook4,1
Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller
xf86-video-intel 2.15.0-2
mesa 7.10.2-2
intel-dri 7.10.2-2
at-spi 1.32.0-4
at-spi2-atk 2.0.2-1
at-spi2-core 2.0.2-1

"/usr/share/glib-2.0/schemas/org.a11y.atspi.gschema.xml" exists.

Output of "gsettings get org.a11y.atspi atk-bridge-location" is:
"'/usr/lib/gtk-3.0/modules/libatk-bridge.so'"

I have been having several power related issues (battery charge indication incorrect; action on laptop lid close stopped working). Could this issue also be power related?

I shall post logs if they would be helpful after the next occurrence of this bug. Which logs should I post?
Comment 32 Jozef Pajzinka 2011-06-12 20:24:51 UTC
my... pacman -Syu says I'm still running testing version of graphics drivers, so maybe switching to 'mormal' would help? What about you guys?

warning: ati-dri: local (7.10.99.git20110429-1) is newer than extra (7.10.2-2)
warning: libgl: local (7.10.99.git20110429-1) is newer than extra (7.10.2-2)
warning: mesa: local (7.10.99.git20110429-1) is newer than extra (7.10.2-2)
Comment 33 Stephen Mather 2011-06-12 21:05:36 UTC
(In reply to comment #32)
> my... pacman -Syu says I'm still running testing version of graphics drivers,
> so maybe switching to 'mormal' would help? What about you guys?
> 
> warning: ati-dri: local (7.10.99.git20110429-1) is newer than extra (7.10.2-2)
> warning: libgl: local (7.10.99.git20110429-1) is newer than extra (7.10.2-2)
> warning: mesa: local (7.10.99.git20110429-1) is newer than extra (7.10.2-2)

I'm running the versions from extra.
Comment 34 Micky King 2011-06-13 16:08:41 UTC
Created attachment 189833 [details]
PID 16495 

> https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces

Thanks for the link.  If you need the debug info for the rest of the ?? shown let me know.

Hope this helps.
Comment 35 Micky King 2011-06-13 19:13:23 UTC
(In reply to comment #22)
> Created an attachment (id=189357) [details]
> gdb output


> Your gdb trace above is missing debug symbols though. Can you
> install the debug packages for (at least) your mesa and clutter packages and
> get that gdb backtrace again please? Thanks.


Jozef:  I had trouble finding the PKGBUILDS at first...  I linked a few of yours if you need them to make w/ symbols.


https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces


$ pacman -Qo /usr/lib/libclutter-glx-1.0.so.0 
/usr/lib/libclutter-glx-1.0.so.0 is owned by clutter 1.6.14-1
http://projects.archlinux.org/svntogit/packages.git/tree/clutter/trunk/

$ pacman -Qo /usr/lib/libGL.so.1
/usr/lib/libGL.so.1 is owned by libgl 7.10.2-2
http://projects.archlinux.org/svntogit/packages.git/tree/mesa/trunk/

$ pacman -Qo /usr/lib/libglib-2.0.so.0
/usr/lib/libglib-2.0.so.0 is owned by glib2 2.28.8-1
http://projects.archlinux.org/svntogit/packages.git/tree/glib2/trunk/

$ pacman -Qo /usr/lib/libxcb.so.1
/usr/lib/libxcb.so.1 is owned by libxcb 1.7-2
http://projects.archlinux.org/svntogit/packages.git/tree/libxcb/trunk/
Comment 36 Rui Matos 2011-06-13 19:54:44 UTC
(In reply to comment #34)
> Created an attachment (id=189833) [details]
> PID 16495 

So, you've SSH in and attached gdb to gnome-shell, right? Was it already frozen when you attached? Also, the output of gjs_dumpstack() goes into your ~/.xsession-errors so we also need that file.

This backtrace here doesn't have anything interesting unfortunately. Please install the debug symbols for mutter and gnome-shell too, just in case.
Comment 37 Ray Strode [halfline] 2011-06-13 20:34:20 UTC
Does 

grep file ~/.local/share/recently-used.xbel 

show any files that are especially large images?  If so, may be a dupe of bug 650690
Comment 38 Stephen Mather 2011-06-13 21:16:13 UTC
(In reply to comment #37)
> Does 
> 
> grep file ~/.local/share/recently-used.xbel 
> 
> show any files that are especially large images?  If so, may be a dupe of bug
> 650690

My "~/.local/share/recently-used.xbel" sometimes references large (>100MB) FLV files. Ahem. Could this be related? I shall check the contents of "recently-used.xbel" upon the next occurrence of this bug.
Comment 39 Fabricio 2011-07-25 16:57:54 UTC
I got the same problem using stock Arch 64bit and now using 32bit + intel GMA 965 (the only aur pkg is shell-extensions from git) but got problems before installing the git versions too.

Happens very often, 3-5 times a day, i'll try to debug to see if show something. I can go to terminal, but can't log in, can't open htop or any other program, it just show nothing like it's openning forever... if the terminal is already open I can write but no effect if hit enter... weird, and logs don't shows erros apparently.

Tried XFCE w/ compiz and no problems in 2 days of usage.
Comment 40 Jisoo Park 2011-07-30 10:15:49 UTC
I tried latest ubuntu, fedora, opensuse and arch (both 64 and 32) with ATI Radeon X2300 (xf64-video-ati) and always got the same freeze. 

With arch + openbox, no problem for 2 weeks.
Comment 41 bwatkins 2011-09-22 18:42:12 UTC
I have the same problem with fedora 15 + gnome 3. Everything will be working fine, then the gnome-shell totally freezes. I can't click anything, interact with any windows ect, but when I mouse over things I do get the rollover effects. Another strange thing is to fix this freeze I can hit alt + f2 and type r and hit enter (as you would normally do in gnome-shell) and it works. The shell restarts and responds. But when I do this I do it blindly, I don't see the run box actually come up at all.
Comment 42 Nicolas Peninguy 2011-09-22 19:09:45 UTC
I had this problem using r300g with a R500 card, Since I removed the card to use the onboard RS780 (r600g) a few weeks ago, I never had the problem again...
Comment 43 bwatkins 2011-09-22 21:43:48 UTC
Forgot to mention my specs in my previous comment. I am using intel ironlake graphics. I will try grab some logs next time it happens.
Comment 44 bwatkins 2011-09-23 04:31:22 UTC
Created attachment 197315 [details]
xsession log
Comment 45 Alvin Starr 2011-09-28 23:50:33 UTC
To chime in here.
I can reliably get the problem when watching video.
The video stream freezes but the audio keeps on.
I have not noticed any video problems at the point of freeze.
It is like it has completely rendered a frame and is hung up on a frame switch.
The freezes also seem to be of variable time from a fraction of a second up to a minute or more.


01:05.0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics]
Chipset: "ATI Radeon HD 3200 Graphics" (ChipID = 0x9612)
mesa-dri-drivers-7.11-1.fc15.x86_64
mesa-dri-llvmcore-7.11-0.16.20110709.0.fc15.x86_64
mesa-libGLU-7.11-1.fc15.x86_64
mesa-dri-filesystem-7.11-1.fc15.x86_64
mesa-libGL-7.11-1.fc15.x86_64
xorg-x11-server-Xorg-1.10.4-1.fc15.x86_64
xorg-x11-drv-ati-6.14.1-2.20110525gitfe5c42f51.fc15.x86_64
Comment 46 Lukas 2011-10-04 22:03:38 UTC
Hey everyone, 

same happening to me, also it seems it happens most of the time, when i scroll in firefox. I run Ubuntu natty 11.04 and just installed gnome-shell from the gnome3-ppa..

my graphics:


01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400
	Subsystem: Lenovo Thinkpad T60 model 2007
	Kernel driver in use: radeon
	Kernel modules: radeon

if you need any more info, i will be happy to provide...
Comment 47 André Klapper 2011-10-14 15:28:14 UTC
Is this still an issue in 3.2?
Comment 48 bwatkins 2011-10-14 15:31:42 UTC
Yes, I just had this happen in ubuntu 11.10 running gnome/gnome-shell 3.2. Exact same freeze, gui goes unresponsive but I can still hear stuff in the background, and if I can manage to restart the shell everything comes back.

Haven't been able to pinpoint exactly when it happens, it seems pretty random.
Comment 49 Michael Tremer 2011-10-14 15:33:13 UTC
Yes, in my case it is.

Gnome-shell freezes occasionally (1-5 times a day) using 100% of the CPU power
on my box.
If you kill (SIGKILL - SIGTERM does not work) the shell, it is respawned and
you can go on working. Still nothing in logs.

Im am running the F16 with latest updates.

01:00.0 VGA compatible controller: ATI Technologies Inc Redwood PRO [Radeon HD
5500 Series] (prog-if 00 [VGA controller])
    Subsystem: PC Partner Limited Device e163
    Flags: bus master, fast devsel, latency 0, IRQ 52
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Memory at f7bc0000 (64-bit, non-prefetchable) [size=128K]
    I/O ports at b000 [size=256]
    Expansion ROM at f7ba0000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: radeon
    Kernel modules: radeon
Comment 50 Martin Dratva 2011-10-14 17:19:44 UTC
Still the same story
Comment 51 Jozef Pajzinka 2011-10-17 19:18:28 UTC
Hi guys built myself several debug versions and here is what I have. Problem seems to be in dri2.c. I assume, something (wrong pointer) makes it wait too long time, but I need to investigate it. Until then you can look at my debug log.
Comment 52 Jozef Pajzinka 2011-10-17 19:22:59 UTC
Created attachment 199254 [details]
gdb output
Comment 53 Jozef Pajzinka 2011-10-18 20:34:56 UTC
Hi girls, so I found it. My computer get freezes in this pool

ret = poll(&fd, 1, -1);

it's in libxcb-1.7/src/xcb_conn.c:313 .

It's obvious there must be kind of race condition or whatever and something eats things in socket before I get there, so then I sleep there for eternity. (Since debug versions of libraries are bit slower, my system was more stable and it took a while to freeze it.)

So this really doesn't seem to be Gnome bug, but I am not sure if it's libX11/libGL/libxcb issue.

Since I am running X just locally I 'fixed it' like this:

ret = poll(&fd, 1, 1000);

I am not interested in any big cod review, and I hope libraries are able to handle null event(buffer) ;)

I wonder how it gona behave.
Comment 54 amnesia 2011-10-20 21:26:51 UTC
Just reporting in that I have the same issue on Ubuntu 11.10 32bit and Gnome 3.2 with an nVidia GT430 using driver version 280.13.

My shell freezes several times per day, most often when switching desktops.  All of the apps are still running but no shell activity works.  I can still click on menus and things within the apps themselves.  Sending SIGHUP to the gnome-shell process gives me my desktop back without losing anything.
Comment 55 mirandir 2011-10-31 14:56:21 UTC
I have exactly the same problem as describe by amnesia.

Gnome-shell often freezes, specialy when I unlock gnome-screensaver.

My system : Archlinux 64 bits, kernel-3.0.7, mesa-7.11, xorg-server-1.11.1.901 and
gnome-shell-3.2.1 with an ATI Mobility Radeon HD5470 with the radeon driver.(everything works great with Gnome 3.0, and I can't reproduce this bug with another laptop with Intel graphics).

I initialy report a bug here : https://bugs.freedesktop.org/show_bug.cgi?id=41592
Comment 56 bwatkins 2011-10-31 15:14:49 UTC
For me this was caused by a gnome-shell extension (gnome-shell-extensions-mediaplayer) This was fixed by the extension author in the latest version, if anyone is using this I recommend you try updating it.
Comment 57 mirandir 2011-11-01 17:38:26 UTC
bwat47, thanks ! I uninstalled gnome-shell-extensions-mediaplayer, and it seems that it solves my problem.
Comment 58 Milan Bouchet-Valat 2011-11-02 09:52:31 UTC
Anybody here isn't using gnome-shell-extensions-mediaplayer and experiences the freeze?
Comment 59 Martin Dratva 2011-11-02 09:54:50 UTC
I never used such an extension and I experienced freezes even without any extension.
Comment 60 Michael Tremer 2011-11-02 11:59:02 UTC
Me neither. Never used any GNOME shell extensions.
Comment 61 amnesia 2011-11-02 13:12:47 UTC
Only extension I have is the user-theme extension.
Comment 62 amnesia 2011-11-10 17:51:08 UTC
Has anyone figured out a successful workaround for this yet?  I have been trying various things to no avail.  I'm so addicted to the wonderful new interface but it's soooo unstable :(.  Not knocking the developers, because they obviously have worked very hard on it,  but this never should have been marked as a release,  it's hardly even beta quality.  I cannot wait for the finished product though!
Comment 63 Milan Bouchet-Valat 2011-11-10 21:32:53 UTC
Developers, is the trace from comment #52 enough? Do you need more? For the record, it is:
  • #0 __kernel_vsyscall
  • #1 poll
    from /lib/libc.so.6
  • #2 ??
    from /usr/lib/libxcb.so.1
  • #3 xcb_wait_for_reply
    from /usr/lib/libxcb.so.1
  • #4 _XReply
    from /usr/lib/libX11.so.6
  • #5 DRI2WaitMSC
    at dri2.c line 635
  • #6 dri2WaitForMSC
    at dri2_glx.c line 345
  • #7 __glXWaitVideoSyncSGI
    at glxcmds.c line 1843
  • #8 ??
    from /usr/lib/libcogl.so.5
  • #9 ??
    from /usr/lib/libcogl.so.5
  • #10 cogl_framebuffer_swap_region_EXP
    from /usr/lib/libcogl.so.5
  • #11 ??
    from /usr/lib/libclutter-glx-1.0.so.0
  • #12 ??
    from /usr/lib/libclutter-glx-1.0.so.0
  • #13 ??
    from /usr/lib/libclutter-glx-1.0.so.0
  • #14 ??
    from /usr/lib/libclutter-glx-1.0.so.0
  • #15 ??
    from /usr/lib/libclutter-glx-1.0.so.0
  • #16 ??
    from /usr/lib/libclutter-glx-1.0.so.0
  • #17 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #18 ??
    from /usr/lib/libglib-2.0.so.0
  • #19 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #20 meta_run
    from /usr/lib/libmutter.so.0
  • #21 main
    at main.c line 571

Comment 64 Jasper St. Pierre (not reading bugmail) 2011-11-11 00:00:11 UTC
Jozef, did you get that by going to another VT and getting a backtrace then? DRI blocks when you switch to a VT, so it's telling us that cogl is waiting on a vblank sync.
Comment 65 Przemyslaw Kochanski 2011-11-13 11:35:32 UTC
I'm affected as well. OpenGL renderer string: Gallium 0.4 on ATI RV515.
(In reply to comment #64)
> DRI blocks when you switch to a VT, so it's telling us that cogl is waiting on
> a vblank sync.
So disabling vblank sync using 'export vblank_mode=0' should solve the problem?
Comment 66 Milan Bouchet-Valat 2011-11-13 12:06:45 UTC
Have a look at debugging methods exposed at https://live.gnome.org/GnomeShell/Debugging
Comment 67 dany 2011-11-22 22:45:57 UTC
I have same issue with gnome-shell and ati mobility x1200 card with RS690M chip.
My system is Arch Linux x86_64.Any other DE/WM works fine.
Comment 68 edgarkls 2011-11-25 13:51:07 UTC
Same issue with ATI Radeon HD 5450, Opensuse 12.1, fglrx 11.11 and gnome 3.2. KDE and LXDE work fine.
Comment 69 amnesia 2011-12-13 21:54:18 UTC
Anybody having any luck with this, or know any workarounds?
Comment 70 Martin Dratva 2011-12-13 23:37:35 UTC
My workaround is called XFCE. :) I don't like the way new Gnome is going anyway and I can not use constantly freezing environment either.
Comment 71 Milan Bouchet-Valat 2011-12-14 10:01:00 UTC
amnesia: Please give us answers to the questions we asked in the numerous comments on this thread. We need a backtrace: https://live.gnome.org/GnomeShell/Debugging
Comment 72 Jozef Pajzinka 2011-12-14 12:45:13 UTC
Well, I have no time now, to investigate this issue and I switched to XFCE also. 

I accept your critics to way how I debugged the system. But I was thinking and the result is, by coincidence my debug was correct and I really found the place where system freezes. 

The reason why I think so, is patch which I've tried. It changed behavior from freezes to crash, but didn't damaged anything else.
Comment 73 amnesia 2011-12-14 13:57:57 UTC
Yea I guess I'll switch back to XFCE too.  I'm sorry to say I'm too busy to do someone else's debugging.  This was my first time trying Gnome and I really liked the layout and some of the features were outstanding.  I hope the development team can get their act together, the code seems to be the only thing holding this back from being a great product.
Comment 74 Milan Bouchet-Valat 2011-12-14 15:09:00 UTC
(In reply to comment #73)
> Yea I guess I'll switch back to XFCE too.  I'm sorry to say I'm too busy to do
> someone else's debugging.
That's not "someone else's", that's debugging your own problem. That said, we can perfectly understand you don't have the time to do that. ;-)

> This was my first time trying Gnome and I really
> liked the layout and some of the features were outstanding.
Glad to know that.

> I hope the
> development team can get their act together, the code seems to be the only
> thing holding this back from being a great product.
In the present case, there are strong reasons to think the actual bug is in the drivers, not in the Shell. Hopefully, due to the pressure of users experiencing such problems using GNOME, the drivers will improve soon (as they've started to do). So you can retry when the next release of your distro is out.


Does somebody still want to provide a stacktrace?
Comment 75 Przemyslaw Kochanski 2011-12-15 00:08:20 UTC
Created attachment 203528 [details]
output from gdb 

I've followed the GnomeShell Debugging guide that you posted and reproduced the crash. Have I done it all right? Is it all what you need?
Comment 76 Jasper St. Pierre (not reading bugmail) 2011-12-15 00:27:01 UTC
We do not need more backtraces, Milan, we have plenty. The issue is that we're waiting for the X server to respond to a request, which means that either X or the drivers have hung. If you're using the open-source drivers, please file a bug with your driver at https://bugs.freedesktop.org/enter_bug.cgi .
Comment 77 Przemyslaw Kochanski 2011-12-15 01:41:51 UTC
(In reply to comment #76)
> If you're using the open-source drivers, please file a
> bug with your driver at https://bugs.freedesktop.org/enter_bug.cgi .
It's already done: https://bugs.freedesktop.org/show_bug.cgi?id=41668
Comment 78 Milan Bouchet-Valat 2011-12-15 10:01:44 UTC
(In reply to comment #76)
> We do not need more backtraces, Milan, we have plenty. The issue is that we're
> waiting for the X server to respond to a request, which means that either X or
> the drivers have hung.
Sorry, I interpreted your comment #64 as saying that the trace was not correct since the Shell was just hanging because user had switched to a VT.

Przemyslaw, sorry to have wasted your time. :-/
Comment 79 amnesia 2011-12-15 14:26:30 UTC
If this is a driver problem, why does it occur with both ATI and nVidia cards?  Why does every other WM work fine?  I'm not trying to be argumentative or disrespectful, just trying to understand.
Comment 80 dany 2011-12-16 14:50:16 UTC
Created attachment 203677 [details]
Backtrace

This is my backtrace
Comment 81 Milan Bouchet-Valat 2011-12-16 21:11:45 UTC
(In reply to comment #79)
> If this is a driver problem, why does it occur with both ATI and nVidia cards? 
> Why does every other WM work fine?  I'm not trying to be argumentative or
> disrespectful, just trying to understand.
That's indeed a good question. One explanation might be that different bugs are being dealt with in the same report. ;-)

Anyway, the fact that it only happens to some cards really means that the bug is driver-related, even if two different drivers may trigger it.
Comment 82 Przemyslaw Kochanski 2011-12-16 22:21:58 UTC
!!! WORKAORUND !!!:
Add "irqpoll" to kernel options in GRUB (GRUB_CMDLINE_LINUX_DEFAULT line). The bug is no longer triggered!

(In reply to comment #81)
> the bug is driver-related, even if two different drivers may trigger it.
Since this kernel option work, it's not radeon bug. I've been told its probably a bad apic or msi setup for our chipset. I've been suggested to contact linux-kernel mailing list. I'll post a bug report on bugzilla.kernel.org when it will be online (the page doesn't respond).
Comment 83 Jisoo Park 2011-12-18 13:55:18 UTC
Applied immediately, no freeze for two days.
Thank you so much!!! How did you find out of this?
Comment 84 Przemyslaw Kochanski 2011-12-18 15:09:57 UTC
(In reply to comment #83)
> Applied immediately, no freeze for two days.
> Thank you so much!!! How did you find out of this?

From there: https://bugs.freedesktop.org/show_bug.cgi?id=41668
Comment 85 Florian Müllner 2012-10-25 23:58:17 UTC
Is this still an issue with current shell/driver versions?
Comment 86 Michael Tremer 2012-10-26 11:21:36 UTC
(In reply to comment #85)
> Is this still an issue with current shell/driver versions?

I have not experienced any freezes for a long time.

The problem has never happened again with Fedora 17 (that's for sure) and maybe not with later versions of Fedora 16 (not so sure about this).

You will my hardware information in comment #49. Thanks for your support!
Comment 87 Christoph Husse 2012-12-10 10:34:29 UTC
Yes it is still a problem.

I am using Debian Wheezy Beta4... But the issue was still there also from Beta2 (the first I tried with Gnome 3)

The desktop is working normally and suddenly it freezes as described above. First I thought this would be a probelm of VMWare Workstation 9, but there seems to be no one who has the same issue with that product. And since a lot of people seem to have these freezes, I suspect it is independent of VMWare. Unfortunately I can't really verify that at the moment, because I get like one freeze every two days... So This is nothing I can just try out, since I need VMWare to work...
Comment 88 Martin Dratva 2012-12-10 10:39:48 UTC
It is fixed for a long time already, I am now on version 3.6, but this has been fixed also in 3.4 for me.
Comment 89 Christoph Husse 2012-12-10 10:43:38 UTC
Okay maybe Debian is a bit behind? I am on GNOME 3.4.2.1...

BTW, for me this only happens immediately after switching between apps using ALT+TAB or some similar action...
Comment 90 Martin Dratva 2012-12-10 11:26:22 UTC
I am pretty sure, Debian is behind as I am on Arch Linux, but I am also sure, that in 3.4 I have not had this issue anymore. 
On the other hand, I still have irqpoll in my kernel boot parameters, which if I remember correctly fixed it for me. Maybe without it I would still have problems. I can try it. 
Did you try the irqpoll workaround yourself?
Comment 91 Christoph Husse 2012-12-10 20:00:27 UTC
I have the irqpoll running now :)... We will see. I think I need a week at least to verify this. Two weeks would be more safe.
Comment 92 Martin Dratva 2012-12-13 22:46:39 UTC
Ok, I ditched the irqpoll and it seems that there is no problem with my pc anymore. This is preliminary test. If I do not report here in a week, then all is fine.