Bug 403091 - plasmashell hangs randomly, 100% cpu usage
Summary: plasmashell hangs randomly, 100% cpu usage
Status: RESOLVED BACKTRACE
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-performance (show other bugs)
Version: 5.14.4
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-11 07:45 UTC by kukulski.przemyslaw
Modified: 2022-11-11 21:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
system monitor shouwing high cpu usage (125.27 KB, image/png)
2019-01-11 07:45 UTC, kukulski.przemyslaw
Details
plasmashell inspected with gdb (5.12 KB, text/plain)
2019-01-22 08:07 UTC, kukulski.przemyslaw
Details
more plasmashell gdb output (6.91 KB, text/plain)
2019-02-06 11:28 UTC, kukulski.przemyslaw
Details
krunner dgb logs (8.87 KB, text/plain)
2019-02-06 11:30 UTC, kukulski.przemyslaw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kukulski.przemyslaw 2019-01-11 07:45:55 UTC
Created attachment 117394 [details]
system monitor shouwing high cpu usage

SUMMARY
after a short period time, plasma ui elements stop working

STEPS TO REPRODUCE
1. log in with plasma (non-wayland) de
2. wait for 5-20 minutes

OBSERVED RESULT
can't interact with task bar and krunner, cpu usage of plasmashell and krunner reaches 100%, all opened apps work as before, can switch between windows with alt+tab.

EXPECTED RESULT
-

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 29
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.53.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2019-01-11 12:35:57 UTC
When usage is at 100% please can you run:

sudo gdb --pid `pidof plasmashell` from a command line.

Then when it loads type "bt" to get a trace and paste that here. 

Ideally then type "continue" followed by control+c then "bt" to get a few traces.
Comment 2 kukulski.przemyslaw 2019-01-17 19:59:13 UTC
I wasn't able reproduce this bug after reporting it. No updates, no package changes, it simply disappeared. I'll provide logs if it comes back (hopefully not). Also, I found a similar report:

https://bugs.kde.org/show_bug.cgi?id=401272

Thanks!
Comment 3 kukulski.przemyslaw 2019-01-22 08:07:36 UTC
Created attachment 117609 [details]
plasmashell inspected with gdb
Comment 4 kukulski.przemyslaw 2019-01-22 08:09:05 UTC
It happened again. Check out "plasmashell inspected with gdb" attachment.
Comment 5 Bug Janitor Service 2019-02-06 04:33:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 kukulski.przemyslaw 2019-02-06 11:28:30 UTC
Created attachment 117866 [details]
more plasmashell gdb output
Comment 7 kukulski.przemyslaw 2019-02-06 11:30:48 UTC
Created attachment 117867 [details]
krunner dgb logs

Both plasmashell and krunner seam to get stuck in QXcbConnection::compressEvent function.
Comment 8 kukulski.przemyslaw 2019-02-06 11:34:24 UTC
I've captured output of running gdb on plasmashell and krunner.
Comment 9 Nate Graham 2022-11-05 03:30:05 UTC
Thank you for reporting this issue in KDE software. As it has been a while since it was reported, can we please ask you to see if you can reproduce the issue with a recent software version? Like Plasma 5.25, or ideally 5.26?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 10 kukulski.przemyslaw 2022-11-11 21:22:29 UTC
(In reply to Nate Graham from comment #9)
> Thank you for reporting this issue in KDE software. As it has been a while
> since it was reported, can we please ask you to see if you can reproduce the
> issue with a recent software version? Like Plasma 5.25, or ideally 5.26?
> 
> If you can reproduce the issue, please change the status to "CONFIRMED" when
> replying. Thank you!

I am no longer using KDE, so I can't tell if the bug is still present. I will close this bug report.