Bug 25737 - pidgin with purple facebook gets stuck consuming 100% of cpu
Summary: pidgin with purple facebook gets stuck consuming 100% of cpu
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL: https://gitlab.gnome.org/GNOME/pango/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-25 07:53 CET by Shlomi Fish
Modified: 2020-06-12 11:26 CEST (History)
3 users (show)

See Also:
Source RPM: x11-server-1.20.6-4.mga8.src.rpm
CVE:
Status comment:


Attachments
Attempted fix for pango (680 bytes, patch)
2019-12-23 10:56 CET, Shlomi Fish
Details | Diff

Description Shlomi Fish 2019-11-25 07:53:33 CET
Description of problem:

pidgin with purple facebook gets stuck consuming 100% of CPU. This only happens in my local hosted Xorg. If I use my new intel NUC running fedora 31 x64 and run pidgin via ssh -X, everything is fine.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Lewis Smith 2019-11-25 11:35:03 CET
So the looping occurs if everything is run locally under Mageia, but not if pidgin (+ purple-facebook) is run via remote login to the same system?
Can you say what process is hogging the processor? Since you cite x11-server, perhaps you know it is that.

Severity: critical => major
CC: (none) => lewyssmith

Comment 2 Shlomi Fish 2019-11-25 17:53:11 CET
(In reply to Lewis Smith from comment #1)
> So the looping occurs if everything is run locally under Mageia, but not if
> pidgin (+ purple-facebook) is run via remote login to the same system?

yes, pidgin also behaves when run inside Xephyr (= nested x) that is running jwm.

> Can you say what process is hogging the processor? Since you cite
> x11-server, perhaps you know it is that.

the process that hogs the processor is "pidgin" and it stops accepting keyboard input.
Comment 3 Lewis Smith 2019-11-25 19:19:41 CET
Thanks for that info.
I should have asked this before also: does the error only happen with the addition of 'purple-facebook' to 'pidgin'? Trying to pin down the culprit. Not the same maintainer for the two elements.
Comment 4 Shlomi Fish 2019-12-23 10:56:53 CET
Created attachment 11428 [details]
Attempted fix for pango
Comment 5 Shlomi Fish 2019-12-23 10:58:08 CET
(In reply to Lewis Smith from comment #3)
> Thanks for that info.
> I should have asked this before also: does the error only happen with the
> addition of 'purple-facebook' to 'pidgin'? Trying to pin down the culprit.
> Not the same maintainer for the two elements.

I no longer seem to have any non-facebook contacts there
Comment 6 Shlomi Fish 2019-12-23 18:59:40 CET
Also see https://gitlab.gnome.org/GNOME/pango/merge_requests/167 .
Comment 7 Lewis Smith 2019-12-25 21:48:13 CET
Thank you for coming back on this. And all your work - a fix!
Assign to you or the pango maintainer? [ovitters]
Should the bug title be changed - to what?

On thin ice here: Do we mark this 'upstream' with the URL as in the previous comment? My understanding being that your fix proposed chez pango will eventually filter back down.
 OR
Should this bug be re-classified as 'pango' SRPM and your patch applied directly by the relevant maintainer?

> I no longer seem to have any non-facebook contacts there
Oh dear. I asked because I recall that when QA has to test pidgin, there is always a problem finding someone with a suitable account to do so.
Comment 8 Shlomi Fish 2019-12-27 14:04:14 CET
(In reply to Lewis Smith from comment #7)
> Thank you for coming back on this. And all your work - a fix!

You are welcome.

> Assign to you or the pango maintainer? [ovitters]

perhaps CC him.

> Should the bug title be changed - to what?

I think it should not.

> 
> On thin ice here: Do we mark this 'upstream' with the URL as in the previous
> comment? My understanding being that your fix proposed chez pango will

Dont know.

> eventually filter back down.
>  OR
> Should this bug be re-classified as 'pango' SRPM and your patch applied
> directly by the relevant maintainer?

it may be a problem in an upper layer of that function call.

> 
> > I no longer seem to have any non-facebook contacts there
> Oh dear. I asked because I recall that when QA has to test pidgin, there is
> always a problem finding someone with a suitable account to do so.

ah.
Comment 9 Lewis Smith 2019-12-30 21:00:15 CET
This is a pig. I have installed Pidgin and got it to work on IRC #mageia channels. So this bug is not generic Pidgin.
* Unsure that the bug occurs *without* 'purple facebook' [see above];
* Why should the X server be relevant? It seems to be;
* A fix is proposed for 'pango'!
So is it X, pidgin, purple-facebook, pango?

No choice but to assign this globally; CC'ing Olav for the pango patch.
purple-facebook has mixed committers. wally has done all recent Pidgin commits, but it is not really his baby.

CC: (none) => mageia, olav
Assignee: bugsquad => pkg-bugs
URL: (none) => https://gitlab.gnome.org/GNOME/pango/merge_requests/167

Comment 10 Olav Vitters 2020-06-12 11:26:01 CEST
Fixed upstream, included in pango-1.45.2-2.mga8.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.