compiz occasionally hangs with 100% cpu usage (inotify plugin infinite loop)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
MC Return | ||
compiz (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: compiz
Occasionally my whole desktop hangs, only the mouse cursor moves. Compiz is running at 100% cpu usage in this loop (forever!):
0x00007f3a51
=> 0x00007f3a515866d3 <+227>: cmp %edx,0x10(%rax)
0x00007f3a51
0x00007f3a515866d3 in InotifyScreen:
I'm running natty amd64 with gnome2 (ubuntu classic) shell.
After having a look at the source code of this specific plugin I suspect that there is a bug in an iterator loop. I created a patch, but haven't had time to test it so far. Maybe this helps.
Workaround: start ccsm, find "File Watcher" plugin and disable it.
Related branches
- Sam Spilsbury: Approve
- PS Jenkins bot: Pending (continuous-integration) requested
-
Diff: 11 lines (+1/-1)1 file modifiedplugins/inotify/src/inotify.cpp (+1/-1)
tags: | added: patch |
description: | updated |
tags: | added: precise |
no longer affects: | compiz |
Changed in compiz: | |
status: | New → Confirmed |
Changed in compiz (Ubuntu): | |
importance: | Undecided → Low |
Changed in compiz: | |
importance: | Undecided → Medium |
Changed in compiz: | |
assignee: | nobody → MC Return (mc-return) |
status: | Confirmed → In Progress |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
Changed in compiz (Ubuntu): | |
status: | Confirmed → Fix Released |
i can confirm that the hang issue completly disappeared after i created and installed the patched compiz-plugins package! so it's finally working now.
btw the bug exists in the recent git repos on freedesktop.org, too.