← Back to team overview

compiz team mailing list archive

[Bug 1165426] [NEW] compiz suddenly starts consuming 100% CPU and hangs the whole system

 

Public bug reported:

At random times, suddently and without apparent reason, compiz suddently
starts consuming 99-100% CPU and makes the whole system unresponsive.

Actually there are TWO BUGS here:
- the fact itself that compiz starts eating up all that CPU (a bug in compiz by definition, whether or not accompanied by a bug in some other piece of the system)
- the fact that this is enough to render the whole system unresponsive. Responsiveness to keyboard and mouse should always have the maximum priority and allow you to, for example, alt-tab and open a terminal, or, if that itself depends on compiz being able to respond, then at least respond to keyboard input in order to do e.g. ctrl+Alt+F1 which lets you open a virtual terminal.

Actually by pressing ctlr+alt+F1 hundreds of time it finally caught one
and let me open a virtual terminal, which is how I could figure out it
was compiz who was eating 100% CPU.

Also, there should be a way to kill compiz and restart it, shouldn't it?

This has already happened to me a few times.

This may, or may not, be related to #1162568

The differences observed are:
- in this case it is 100% CPU consumption, no high disk I/O; in 1162568 it is massive disk I/O and low/normal CPU activity
- In 1162568 the mere action of switching to the virtual terminal, itself stopped the issue (unless it was a lucky coincidence). In this case it didn't. It just allowed me

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: compiz 1:0.9.8.6-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-27.46-generic 3.5.7.7
Uname: Linux 3.5.0-27-generic i686
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86 Kernel Module  304.43  Sun Aug 19 20:20:21 PDT 2012
 GCC version:  gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
.tmp.unity.support.test.0:
 
ApportVersion: 2.6.1-0ubuntu10
Architecture: i386
CompizPlugins: [core,composite,opengl,decor,vpswitch,mousepoll,compiztoolbox,snap,commands,place,resize,session,regex,grid,wall,move,gnomecompat,imgpng,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
CompositorRunning: compiz
Date: Sat Apr  6 16:50:40 2013
DistUpgraded: 2013-01-13 11:55:33,566 DEBUG enabling apt cron job
DistroCodename: quantal
DistroVariant: ubuntu
GraphicsCard:
 NVIDIA Corporation G84 [GeForce 9500M GS] [10de:0405] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:15d2]
InstallationDate: Installed on 2010-06-23 (1018 days ago)
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: ASUSTeK Computer Inc. M51Sn
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-27-generic root=UUID=173acbf5-26a0-49e3-8d2b-f1c142582cbf ro quiet splash
SourcePackage: compiz
UpgradeStatus: Upgraded to quantal on 2013-01-13 (83 days ago)
dmi.bios.date: 12/24/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 303
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: M51Sn
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.asset.tag: ATN12345678901234567
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr303:bd12/24/2007:svnASUSTeKComputerInc.:pnM51Sn:pvr1.0:rvnASUSTeKComputerInc.:rnM51Sn:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
dmi.product.name: M51Sn
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.
version.compiz: compiz 1:0.9.8.6-0ubuntu1
version.libdrm2: libdrm2 2.4.39-0ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.0.3-0ubuntu0.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.0.3-0ubuntu0.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.13.0-0ubuntu6.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.99.99~git20120913.8637f772-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.9-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.2-0ubuntu3

** Affects: compiz (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug compiz-0.9 i386 quantal running-unity ubuntu

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1165426

Title:
  compiz suddenly starts consuming 100% CPU and hangs the whole system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1165426/+subscriptions


Follow ups

References