Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301658 - <dev-python/pygtk-2.17: high CPU usage
Summary: <dev-python/pygtk-2.17: high CPU usage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on: 328713
Blocks:
  Show dependency tree
 
Reported: 2010-01-20 19:20 UTC by niogic
Modified: 2010-08-13 21:15 UTC (History)
2 users (show)

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


Attachments
Working dev-python/pygtk-2.17 patch, based upon pygtk-2.16.0 (pygtk-2.17.0.ebuild,2.36 KB, text/plain)
2010-01-20 19:23 UTC, niogic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description niogic 2010-01-20 19:20:13 UTC
It fixes a bad bug that caused 100% cpu loop if file was opened (and still 100% when file closed, until program shut down).
Comment 1 niogic 2010-01-20 19:23:20 UTC
Created attachment 217003 [details]
Working dev-python/pygtk-2.17 patch, based upon pygtk-2.16.0

This ebuild is missing 2.6.16.0-r1 gdkcolor-fix patch.

Don't know if because it was fixed or not.

Ebuild comes from here: http://github.com/init6/init_6
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-20 23:18:15 UTC
I'd prefer a patch that fixes the problem and/or a link to the upstream bugzilla report that fixes this problem since 2.17 is development cycle release.
Comment 3 niogic 2010-01-21 18:32:46 UTC
Well, the only bug I could find is a deluge bug.
It's been resolved wontfix, saying it's a (recently fixed) problem in pygtk.

http://dev.deluge-torrent.org/ticket/1060

Unluckily, the developer didn't link bug to upstream when he set WONTFIX flag...
Comment 4 niogic 2010-01-21 18:37:30 UTC
Maybe I found this one:
https://bugzilla.gnome.org/show_bug.cgi?id=481569

Still doesn't apply to pygtk, but same patch should apply ...
Comment 5 Romain Perier (RETIRED) gentoo-dev 2010-01-21 18:41:56 UTC
(In reply to comment #2)
> I'd prefer a patch that fixes the problem and/or a link to the upstream
> bugzilla report that fixes this problem since 2.17 is development cycle
> release.
> 

+1
In the worst case we could rewrite the patch (if it doesn't apply), development cycle : BANG BANG BANG, it's bad ;)
Comment 6 Pacho Ramos gentoo-dev 2010-04-09 16:07:51 UTC
Have you verified bumping to pygtk 2.17.0 (and not touching pygobject) fixes your issue?
Comment 7 Pacho Ramos gentoo-dev 2010-04-09 16:13:26 UTC
The fix could the in the following commits, would be nice if you could tell us what patch applied to 2.16.0 fixes the issue for you or, at least, tell us how to reproduce the problem

http://git.gnome.org/browse/pygtk/commit/?id=3fb3606d803b49e30f4fd492a61f685d6c1540ac
http://git.gnome.org/browse/pygtk/commit/?id=482313729f53f417eeb3f8b89268599fee15cba1
http://git.gnome.org/browse/pygtk/commit/?id=f3691203d7405f400a2a731cb4f0ae76488c11ad
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-07-01 15:53:57 UTC
Are you sure 2.17 is development series?  All the other distributions are shipping with it.

http://www.archlinux.org/packages/extra/i686/pygtk/
http://cvs.fedoraproject.org/viewvc/rpms/pygtk2/devel/
http://packages.debian.org/sid/python-gtk2

And new media-sound/exaile would need this.
Comment 9 Pacho Ramos gentoo-dev 2010-07-01 16:11:06 UTC
It's what upstream says at its homepage: http://www.pygtk.org/ :-|

"PyGTK 2.17.0 released
Saturday 26 December 2009 by Gian Mario Tagliaretti
PyGTK 2.17.0 is the first release in the 2.17.x series. It's unstable, so it should be used with caution. As usual, it's sources can be fetched here. Check out the release announcement and full list of changes."

Comment 10 niogic 2010-07-01 17:10:49 UTC
(In reply to comment #6)
> Have you verified bumping to pygtk 2.17.0 (and not touching pygobject) fixes
> your issue?
> 

No 2.17 bump only didn't fix the issue. I still haven't managed to fix it.
You think I need to update pygobject, too?
What version should I use? 2.20 is stable
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2010-07-01 18:20:35 UTC
(In reply to comment #9)
> It's what upstream says at its homepage: http://www.pygtk.org/ :-|
> 
> "PyGTK 2.17.0 released
> Saturday 26 December 2009 by Gian Mario Tagliaretti
> PyGTK 2.17.0 is the first release in the 2.17.x series. It's unstable, so it
> should be used with caution. As usual, it's sources can be fetched here. Check
> out the release announcement and full list of changes."
> 

well it's good enough for all the other distros, should be good enough for us too.
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-07-02 12:00:48 UTC
it was good enough for dbus 1.3 and in the end we had to mask it and go back to 1.2 series.
Comment 13 Pacho Ramos gentoo-dev 2010-07-02 12:16:05 UTC
I mailed some days ago to upstream asking them for information related with considering 2.17 "stable enough"... but I have not received any reply from them :-(.

If any other can try to contact them, fine :-) (I don't have much time just now)
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-08-13 21:15:06 UTC
pygtk-2.17 is now in tree. Closing.