Bug 444941 - System slows to a crawl on occasion
Summary: System slows to a crawl on occasion
Status: RESOLVED FIXED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (other bugs)
Version First Reported In: 0.7.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-04 12:49 UTC by Luigi Baldoni
Modified: 2022-06-25 17:16 UTC (History)
0 users

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


Attachments
haruna.conf (238 bytes, text/plain)
2021-11-04 16:09 UTC, Luigi Baldoni
Details
haruna log when plasma hangs (2.27 KB, text/x-log)
2021-11-19 20:43 UTC, Luigi Baldoni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luigi Baldoni 2021-11-04 12:49:05 UTC
SUMMARY
At seemingly random times, plasmashell CPU usage goes up to 100% and this persists until Haruna is closed.

STEPS TO REPRODUCE
Unsure.

OBSERVED RESULT
Plasma UI nearly frozen, Haruna functions normally.

EXPECTED RESULT
The system still working as usual.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  openSUSE Leap 15.3
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION
If nobody else can reproduce this, could someone tell me what to copy/save/examine whenever this problem occurs?
Comment 1 george fb 2021-11-04 15:55:29 UTC
Post your Haruna config, but check that there's no data you don't want to share like last played file.
Comment 2 Luigi Baldoni 2021-11-04 16:09:24 UTC
Created attachment 143205 [details]
haruna.conf

(In reply to george fb from comment #1)
> Post your Haruna config, but check that there's no data you don't want to
> share like last played file.

Done. I should also clarify that this has been happening for some time.
Comment 3 Luigi Baldoni 2021-11-04 16:43:51 UTC
@george fb I think it's also germane to say that the problem can occur only once a week or so.
Comment 4 Luigi Baldoni 2021-11-04 17:08:09 UTC
Ok, it happened again.
From what I could tell, the plasmashell problem occurs only when a file is playing. That is, if it reaches the end or even if it's paused, the situation goes back to normal. It resumes when the play restarts either anew or unpause. In these moments, the only way is to close the app and relaunch it.

Is there anything else I could check whenever this happens?
Comment 5 george fb 2021-11-04 17:57:58 UTC
It could also be a bug in Plasma or in one of Haruna's dependencies.
It's really hard to say when it can't be reproduced.

You could try to look at the system log, maybe there are some clues.
Try the flatpak version, see if it still happens.
Or if you can compile it with up to date dependencies, maybe with https://invent.kde.org/sdk/kdesrc-build.
Comment 6 Luigi Baldoni 2021-11-19 20:43:52 UTC
Created attachment 143746 [details]
haruna log when plasma hangs

(In reply to george fb from comment #5)
> It could also be a bug in Plasma or in one of Haruna's dependencies.
> It's really hard to say when it can't be reproduced.
> 
> You could try to look at the system log, maybe there are some clues.

Does the log snippet say anything of notice?

> Try the flatpak version, see if it still happens.
> Or if you can compile it with up to date dependencies, maybe with
> https://invent.kde.org/sdk/kdesrc-build.

Will try either or both as next step.
Comment 7 george fb 2022-06-07 14:18:36 UTC
Is this still happening?
Comment 8 Luigi Baldoni 2022-06-07 16:21:34 UTC
Tomorrow the new openSUSE Leap 15.4 with Qt 5.15.2 should be released.

I will try to upgrade and let you know within the week.
Comment 9 Luigi Baldoni 2022-06-10 09:33:34 UTC
I couldn't reproduce it with 0.8.0 built against Qt 5.15.2.