Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266877 - net-im/pidgin-2.5.5: Please apply the patches that fix 100% CPU consumption.
Summary: net-im/pidgin-2.5.5: Please apply the patches that fix 100% CPU consumption.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-20 19:02 UTC by Trustin Lee
Modified: 2009-04-23 04:39 UTC (History)
0 users

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


Attachments
MSNM protocol fix for 100% CPU consumption (pidgin-2.5.5-msnm.patch,748 bytes, patch)
2009-04-20 19:35 UTC, Trustin Lee
Details | Diff
ebuild patch (pidgin-2.5.5-r1.ebuild.patch,341 bytes, patch)
2009-04-20 19:36 UTC, Trustin Lee
Details | Diff
ebuild patch (pidgin-2.5.5-r1.ebuild.patch,275 bytes, patch)
2009-04-20 19:38 UTC, Trustin Lee
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Trustin Lee 2009-04-20 19:02:10 UTC
There are known issues with Pidgin XMPP and MSNM plugin, where pidgin takes up 100% CPU on disconnection or malformed data:

  * https://bugzilla.redhat.com/show_bug.cgi?id=490665
  * http://developer.pidgin.im/ticket/8594

Fortunately, there are known fixes:

  * http://developer.pidgin.im/viewmtn/revision/info/1d533cebad7c0dbda8ec8ebee1334d27dcae5f9c
  * http://developer.pidgin.im/viewmtn/revision/info/881df138362222308d7b078687b7576861609e9c

The fixes will be included in 2.6.0, but I think it will not be released soon.  Could we have a new ebuild with the two patches above included?

Reproducible: Sometimes

Steps to Reproduce:
1. Configure an XMPP or MSNM account
2. Wait for a while

Actual Results:  
No high CPU consumption

Expected Results:  
100% CPU consumption until the application restarts
Comment 1 Trustin Lee 2009-04-20 19:21:29 UTC
It seems like the jabber.c patch has been included in 2.5.5.  Sorry about the noise.  The soap.c patch seems valid though.
Comment 2 Trustin Lee 2009-04-20 19:35:24 UTC
Created attachment 188983 [details, diff]
MSNM protocol fix for 100% CPU consumption
Comment 3 Trustin Lee 2009-04-20 19:36:50 UTC
Created attachment 188985 [details, diff]
ebuild patch
Comment 4 Trustin Lee 2009-04-20 19:38:09 UTC
Created attachment 188986 [details, diff]
ebuild patch

Fixed the wrong path in the ebuild patch
Comment 5 Olivier Crete (RETIRED) gentoo-dev 2009-04-23 04:39:06 UTC
patch added, thanks for the pointer