Public bug reported: The gnome-shell process gets occasionally stuck in a busy loop using 100% CPU for a few minutes. strace shows that it repeatedly invokes sched_yield.
This seem to be triggered by opening (certain) context menus. It started out in Eclipse, but now also affects the Firefox address-bar dropdown. Backtrace: #0 0x00007fbe03b413f7 in sched_yield () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fbdeb9fdf31 in nouveau_fence_wait (fence=0x3a3a3b0) at ../../../../../../src/gallium/drivers/nouveau/nouveau_fence.c:212 #2 0x00007fbdeb9177c2 in st_finish (st=st@entry=0x22c1c50) at ../../../../src/mesa/state_tracker/st_cb_flush.c:101 #3 0x00007fbdeb9177f0 in st_glFinish (ctx=<optimized out>) at ../../../../src/mesa/state_tracker/st_cb_flush.c:136 #4 0x00007fbe011b1e82 in _cogl_winsys_wait_for_gpu (onscreen=0x25bb4d0) at ./winsys/cogl-winsys-glx.c:1577 #5 _cogl_winsys_onscreen_swap_region (onscreen=0x25bb4d0, user_rectangles=<optimized out>, n_rectangles=<optimized out>) at ./winsys/cogl-winsys-glx.c:1794 #6 0x00007fbe011a7341 in cogl_onscreen_swap_region (onscreen=0x25bb4d0, rectangles=rectangles@entry=0x7ffcc12a2080, n_rectangles=n_rectangles@entry=1) at ./cogl-onscreen.c:337 #7 0x00007fbe04f7d662 in clutter_stage_cogl_redraw (stage_window=0x2159b80) at ./cogl/clutter-stage-cogl.c:641 #8 0x00007fbe04fe1887 in clutter_stage_do_redraw (stage=0x254d790) at ./clutter-stage.c:1184 #9 _clutter_stage_do_update (stage=0x254d790) at ./clutter-stage.c:1242 #10 0x00007fbe04fc8028 in master_clock_update_stages (master_clock=0x2492a40, stages=0x7305590) at ./clutter-master-clock.c:457 #11 clutter_clock_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at ./clutter-master-clock.c:589 #12 0x00007fbe042a8e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #13 0x00007fbe042a9048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #14 0x00007fbe042a930a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #15 0x00007fbe059ee021 in meta_run () from /usr/lib/libmutter.so.0 #16 0x0000000000401d11 in main (argc=1, argv=0x7ffcc12a2488) at main.c:439 --- ApportVersion: 2.14.1-0ubuntu3.18 Architecture: amd64 CurrentDesktop: GNOME DisplayManager: lightdm DistroRelease: Ubuntu 14.04 GsettingsChanges: org.gnome.shell.calendar show-weekdate true org.gnome.desktop.interface toolkit-accessibility true org.gnome.desktop.interface gtk-im-module 'gtk-im-context-simple' org.gnome.desktop.interface clock-show-date true InstallationDate: Installed on 2014-04-01 (597 days ago) InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1) Package: gnome-shell 3.10.4-0ubuntu5.2 PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 3.13.0-68.111-generic 3.13.11-ckt27 Tags: trusty Uname: Linux 3.13.0-68-generic x86_64 UpgradeStatus: Upgraded to trusty on 2014-07-23 (484 days ago) UserGroups: adm cdrom dip disco lpadmin plugdev postgres sambashare sudo wireshark _MarkForUpload: True ** Affects: gnome-shell (Ubuntu) Importance: Undecided Status: New ** Tags: apport-collected trusty ** Tags added: apport-collected trusty ** Description changed: The gnome-shell process gets occasionally stuck in a busy loop using 100% CPU for a few minutes. strace shows that it repeatedly invokes sched_yield. This seem to be triggered by opening (certain) context menus. It started out in Eclipse, but now also affects the Firefox address-bar dropdown. Backtrace: #0 0x00007fbe03b413f7 in sched_yield () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fbdeb9fdf31 in nouveau_fence_wait (fence=0x3a3a3b0) at ../../../../../../src/gallium/drivers/nouveau/nouveau_fence.c:212 #2 0x00007fbdeb9177c2 in st_finish (st=st@entry=0x22c1c50) at ../../../../src/mesa/state_tracker/st_cb_flush.c:101 #3 0x00007fbdeb9177f0 in st_glFinish (ctx=<optimized out>) at ../../../../src/mesa/state_tracker/st_cb_flush.c:136 #4 0x00007fbe011b1e82 in _cogl_winsys_wait_for_gpu (onscreen=0x25bb4d0) at ./winsys/cogl-winsys-glx.c:1577 #5 _cogl_winsys_onscreen_swap_region (onscreen=0x25bb4d0, user_rectangles=<optimized out>, n_rectangles=<optimized out>) at ./winsys/cogl-winsys-glx.c:1794 #6 0x00007fbe011a7341 in cogl_onscreen_swap_region (onscreen=0x25bb4d0, rectangles=rectangles@entry=0x7ffcc12a2080, n_rectangles=n_rectangles@entry=1) at ./cogl-onscreen.c:337 #7 0x00007fbe04f7d662 in clutter_stage_cogl_redraw (stage_window=0x2159b80) at ./cogl/clutter-stage-cogl.c:641 #8 0x00007fbe04fe1887 in clutter_stage_do_redraw (stage=0x254d790) at ./clutter-stage.c:1184 #9 _clutter_stage_do_update (stage=0x254d790) at ./clutter-stage.c:1242 #10 0x00007fbe04fc8028 in master_clock_update_stages (master_clock=0x2492a40, stages=0x7305590) at ./clutter-master-clock.c:457 #11 clutter_clock_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at ./clutter-master-clock.c:589 #12 0x00007fbe042a8e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #13 0x00007fbe042a9048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #14 0x00007fbe042a930a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #15 0x00007fbe059ee021 in meta_run () from /usr/lib/libmutter.so.0 #16 0x0000000000401d11 in main (argc=1, argv=0x7ffcc12a2488) at main.c:439 + --- + ApportVersion: 2.14.1-0ubuntu3.18 + Architecture: amd64 + CurrentDesktop: GNOME + DisplayManager: lightdm + DistroRelease: Ubuntu 14.04 + GsettingsChanges: + org.gnome.shell.calendar show-weekdate true + org.gnome.desktop.interface toolkit-accessibility true + org.gnome.desktop.interface gtk-im-module 'gtk-im-context-simple' + org.gnome.desktop.interface clock-show-date true + InstallationDate: Installed on 2014-04-01 (597 days ago) + InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1) + Package: gnome-shell 3.10.4-0ubuntu5.2 + PackageArchitecture: amd64 + ProcVersionSignature: Ubuntu 3.13.0-68.111-generic 3.13.11-ckt27 + Tags: trusty + Uname: Linux 3.13.0-68-generic x86_64 + UpgradeStatus: Upgraded to trusty on 2014-07-23 (484 days ago) + UserGroups: adm cdrom dip disco lpadmin plugdev postgres sambashare sudo wireshark + _MarkForUpload: True -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1517901 Title: gnome-shell spins over sched_yield with 100% CPU To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1517901/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs