Bug 425421 - [Wayland] Log out causes the CPU utilization to jump to 100%
Summary: [Wayland] Log out causes the CPU utilization to jump to 100%
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.19.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-16 12:16 UTC by twinshadows404
Modified: 2021-02-18 00:34 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:
twinshadows404: Wayland+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description twinshadows404 2020-08-16 12:16:26 UTC
SUMMARY
After pressing "log out", akonadi_maildispatcher_agent, akonadi_newmailnotifier_agent, akonadi_indexing_agent, korgac, kdeconnectd start using 100% of the CPU. 

STEPS TO REPRODUCE
1. Log in
2. Log out 

OBSERVED RESULT
After pressing log out, all the fans start ramping up. Signing in shows  akonadi_maildispatcher_agent, akonadi_newmailnotifier_agent,  akonadi_indexing_agent, korgac, kdeconnectd  using 100% of the CPU.
Strace in htop prints:
"wait4(6735, NULL WNOHANG, NULL)        = 0
poll([{fd=3, events=POLLIN}], 1, 1000)  = 0 (Timeout)" 
Plasma can stutter, freeze or crash. 

EXPECTED RESULT
CPU utilization stays below 1%

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200814
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.8.0-1-default
OS Type: 64-bit
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 15,6 GiB of RAM

ADDITIONAL INFORMATION
The issue may be with kdewallet, since this wasn't happening before I provided a PGP key to DrKonqui.
Comment 1 Patrick Silva 2020-08-16 18:27:30 UTC
similar to bug 421676
Comment 2 Alexander 2020-10-16 19:37:26 UTC
I can reproduce this to a 100% on 5.20 Wayland with a newly created user.
1. login
2. logout
3. login
4. observe how kdeconnectd replicates itself slowly until it uses 100% CPU
Comment 3 Eric Armbruster 2020-11-07 21:23:45 UTC
I can reproduce this as well. Running on 5.20 with Wayland.
Comment 4 twinshadows404 2021-02-18 00:34:30 UTC
Can't reproduce it on 5.21.