Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319025 - dev-python/pygobject-2.20.0 100% CPU usage
Summary: dev-python/pygobject-2.20.0 100% CPU usage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://coherence.beebits.net/ticket/284
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-09 04:05 UTC by Mike Woods
Modified: 2010-11-06 11:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pygobject ebuild (pygobject-2.21.9999.ebuild,5.55 KB, text/plain)
2010-06-21 14:35 UTC, Victor Gaydov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Woods 2010-05-09 04:05:38 UTC
A coherence trouble ticket [1] indicates that there is a 100% CPU bug in pygobject and that the user should upgrade to 2.21.0. I have experienced this CPU issue and after copying the 2.20.0 ebuild to my local overlay and updating the version to 2.21.0 the 100% CPU issue is resolved.



[1] - http://coherence.beebits.net/ticket/284

Reproducible: Always

Steps to Reproduce:
1. emerge coherence with pygobject 2.20.0
2. run top
3. observe coherence using 100% CPU

Actual Results:  
Coherence uses 100% CPU

Expected Results:  
Coherence does not use 100% CPU constantly.
Comment 1 Pacho Ramos gentoo-dev 2010-05-10 18:58:22 UTC
2.21 versions are development, we should try to find the exact commit fixing this  instead :-/
Comment 2 Pacho Ramos gentoo-dev 2010-05-10 19:01:45 UTC
This could be the commit:
http://git.gnome.org/browse/pygobject/commit/?id=a9c168c58cc6a449b51653417bf3f58bdd41457c

Please try to apply the following patch to 2.20:
http://git.gnome.org/browse/pygobject/patch/?id=a9c168c58cc6a449b51653417bf3f58bdd41457c

Good luck!
Comment 3 Victor Gaydov 2010-06-10 12:42:35 UTC
(In reply to comment #2)
> Please try to apply the following patch to 2.20:
> http://git.gnome.org/browse/pygobject/patch/?id=a9c168c58cc6a449b51653417bf3f58bdd41457c

Just a note. From here: https://bugzilla.gnome.org/show_bug.cgi?id=481569

>When this patch for pygobject is backported to version 2.20, moovida becomes
>unresponsive (input events are very slow to be processed).
Comment 4 Victor Gaydov 2010-06-21 14:35:56 UTC
Created attachment 236147 [details]
pygobject ebuild

..for those who're looking for a bugfix: here is "dirty" ebuild for pygobject from Git. Dependencies can be found in gnome overlay, but it looks like pygobject snapshot from there doesn't contain the fix yet.
Comment 5 Brian Harring (RETIRED) gentoo-dev 2010-08-19 09:30:49 UTC
*bump*.  gnome folk, status?
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-08-19 10:04:59 UTC
We will add the upstream patch to 2.20.
Comment 7 Pacho Ramos gentoo-dev 2010-08-31 15:14:23 UTC
What patch should be included finally?
Comment 8 Pacho Ramos gentoo-dev 2010-11-06 11:03:38 UTC
pygobject-2.26 is in the tree and should fix this