Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878995 - dev-libs/libgcrypt-1.10.1-r2 upgrade makes gnome-keyring-daemon running with high CPU load
Summary: dev-libs/libgcrypt-1.10.1-r2 upgrade makes gnome-keyring-daemon running with ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-01 09:57 UTC by Stefan Salewski
Modified: 2022-11-05 03:36 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Salewski 2022-11-01 09:57:51 UTC
After todays emerge update I ended with a permanently high CPU load caused by gnome-keyring-d. Rebooting, or deleting potentially corrupted .local/share/keyrings/ did not help. Downgrading to libgcrypt-1.9.4-r2 and rebooting fixed it. This is a AMD-64 box with Gentoo-LTO.


genlop -l

Tue Nov  1 08:08:19 2022 >>> sys-libs/timezone-data-2022f
Tue Nov  1 08:08:42 2022 >>> dev-libs/libgcrypt-1.10.1-r2
Tue Nov  1 08:09:15 2022 >>> net-misc/curl-7.85.0-r2
Tue Nov  1 08:25:55 2022 >>> net-libs/nodejs-18.10.0
Tue Nov  1 10:36:32 2022 >>> dev-libs/libgcrypt-1.9.4-r2
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-01 13:29:37 UTC
Are you sure it's not bug 878351?

What version of glib?
Comment 2 Stefan Salewski 2022-11-01 19:04:24 UTC
For me it was definitely libgcrypt-1.10.1-r2 installed this morning what made the difference. But you are right, I have actually glib-2.74.1

genlop -l | grep glib-2.74
Tue Oct 18 21:07:11 2022 >>> dev-libs/glib-2.74.0-r1
Wed Oct 26 13:48:27 2022 >>> dev-libs/glib-2.74.1

But all was OK with glib-2.74.1 before libgcrypt-1.10.1-r2, and is OK again after downgrading to libgcrypt-1.9.4-r2
Comment 3 Larry the Git Cow gentoo-dev 2022-11-01 22:00:37 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=908c0517c4dadbc482a54f5f1f8f620aa648e5c2

commit 908c0517c4dadbc482a54f5f1f8f620aa648e5c2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-01 21:01:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-01 21:57:48 +0000

    profiles: mask glib-2.74.1 for gnome-keyring-daemon CPU bug
    
    Bug: https://bugs.gentoo.org/878995
    Bug: https://bugs.gentoo.org/878351
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 9 +++++++++
 1 file changed, 9 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2022-11-01 22:01:25 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e0a6db8f86e8f2a19e0da9a790afc20822d2e46

commit 9e0a6db8f86e8f2a19e0da9a790afc20822d2e46
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-01 22:01:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-01 22:01:02 +0000

    Revert "profiles: mask glib-2.74.1 for gnome-keyring-daemon CPU bug"
    
    This reverts commit 908c0517c4dadbc482a54f5f1f8f620aa648e5c2.
    
    Forgot I had this queued. I'll swap for the patch following
    discussion in #gentoo-desktop.
    
    Bug: https://bugs.gentoo.org/878995
    Bug: https://bugs.gentoo.org/878351
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 9 ---------
 1 file changed, 9 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2022-11-01 22:10:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92e1c534401aa14856d4f4e0887934bd24882d8c

commit 92e1c534401aa14856d4f4e0887934bd24882d8c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-01 22:10:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-01 22:10:00 +0000

    dev-libs/glib: backport gnome-keyring CPU peg fix
    
    Bug: https://bugs.gentoo.org/878995
    Bug: https://bugs.gentoo.org/878351
    Signed-off-by: Sam James <sam@gentoo.org>

 .../glib/files/glib-2.74.1-gnome-keyring-cpu.patch | 131 ++++++++++
 dev-libs/glib/glib-2.74.1-r1.ebuild                | 288 +++++++++++++++++++++
 2 files changed, 419 insertions(+)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-05 03:36:48 UTC
Still happening with the patch?