r/kde 1d ago

General Bug kwalletd memory leak?

So after I updated yesterday and now I have kwallet 6.29.0-1 and kwalletmanager 26.08.0-1 I noticed a big ram consumption and when I checked, kwalletd was using like 3-4GiB of my RAM, and when I opem KWalletManager it freezes immediately and system asks to terminate it.

So is this a memory leak or what?

7 Upvotes

13 comments sorted by

u/AutoModerator 1d ago

Thank you for your submission.

Consider becoming a Supporting Member and help KDE thrive!

The KDE community supports the Fediverse and open source social media platforms over proprietary and user-abusing outlets. Consider visiting our community on Mastodon (Lemmy will be back shortly). Tag us in your toots! You can also visit our forum at KDE Discuss to talk about KDE stuff, brainstorm ideas and get the answers to your KDE-related issue.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/AutoModerator 1d ago

Hi, this is AutoKonqi reporting for duty: this post was flaired as General Bug.

While r/kde allows to discuss issues, raise their visibility, and get assistance from other users out of good will, it is not the proper channel to report issues and the developers able to fix them won't be able to act on them over Reddit.

So if this bug was not reported to the developers yet and it is in fact a bug in KDE software, please take a brief look at the issue reporting guide and report the issue over the KDE Bugzilla. If it is a crash, be sure to read about getting backtraces so your report can assist the developers. If this is a known issue, you may want to include the bug report on your post so your fellow users experiencing the same thing can CC themselves to the report. Be sure to describe your issue well and with context. Thank you.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Intrepid_Clock_9716 12h ago

does the rust programming language solve such problem?

1

u/YTriom1 11h ago

rust is memory safe, but a lazy dev can still use unsafe functions causing memory leaks, but it's still rare

1

u/Intrepid_Clock_9716 9h ago

should they rewrite into rust the memory-critical components of plasma?

1

u/YTriom1 7h ago

it'll be hard but if they can it'll be great

1

u/Intrepid_Clock_9716 7h ago

can you file a bug/feature request on bugs.kde.org please thanks

1

u/YTriom1 7h ago

This issue already has a request I guess

1

u/TanThetaaa 3h ago

Faced the same issue, updated all the packages yesterday. Happens when we have a long uptime on our device.

1

u/YTriom1 2h ago

I think it only happens when u have an open app that uses kwallet like a chromium browser or a vpn app.

i tried using a firefox browser and no vpn for a day and no noticeable memory leak happened.

1

u/TanThetaaa 3h ago

I see this commit fixes some memory leak, which would be active when 6.30 is released.

https://invent.kde.org/frameworks/kwallet/-/commit/068d7d07ad4fa2ce126cc9565c39529926d58c93