Bug 411637

Summary: plasmashell leaks shared memory segments. Eventually apps needing these (oracle) fail
Product: [Plasma] plasmashell Reporter: Jeremy Harding <the.great.zarf>
Component: generic-performanceAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: normal CC: ivan.cukic, nate, plasma-bugs, the.great.zarf
Priority: NOR    
Version: 5.16.90   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screen recorder movie to demo problem

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.