Bug 411637 - plasmashell leaks shared memory segments. Eventually apps needing these (oracle) fail
Summary: plasmashell leaks shared memory segments. Eventually apps needing these (orac...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-performance (show other bugs)
Version: 5.16.90
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-06 08:24 UTC by Jeremy Harding
Modified: 2021-08-17 16:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screen recorder movie to demo problem (3.86 MB, application/mp4)
2019-10-04 02:21 UTC, Jeremy Harding
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Harding 2019-09-06 08:24:15 UTC
SUMMARY
switching activity leaks shared memory segments.

STEPS TO REPRODUCE
1. Login, set up activity pager and several activities with different backgrounds
2. use ipcs -mp | wc to see how much shared memory is in use
3. switch between activities and back
4. You will see the shared  segement count goinging up about 10 segments for each two switches.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.12.8-lp151.1.3-x86_64
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jeremy Harding 2019-09-17 09:39:45 UTC
The workaround is to kill and restart plasmashell.

I use kill <pid>; kstart plasmashell &

this spews out many messages - a cleaner restart would be helpful, but this does the job.
Comment 2 Christoph Feck 2019-10-03 11:20:25 UTC
How is this related to the 'Active Window Control' addon?
Comment 3 Jeremy Harding 2019-10-04 02:21:23 UTC
Created attachment 123003 [details]
screen recorder movie to demo problem
Comment 4 Christoph Feck 2019-10-04 20:50:28 UTC
Thanks for the update; changing status.
Comment 5 Ivan Čukić 2019-10-10 04:30:12 UTC
Moved to plasmashell/pager as this doesn't happen with the default activity switcher.
Comment 6 Jeremy Harding 2019-10-10 20:33:48 UTC
hmm, I tried all the activity switchers that I could find, and they all exhibit a similar problem.

Which activity switching mechanism did you use which didn't please? One of them seemed to waste less memory, which is good, and has a smaller panel footprint which is very good.