Bug 386381 - Plasma utilizing 100% CPU (1 core) after upgrade to 17.10
Summary: Plasma utilizing 100% CPU (1 core) after upgrade to 17.10
Status: CLOSED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.10.5
Platform: Kubuntu Linux
: NOR major
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-31 09:17 UTC by Petr Nehez
Modified: 2018-03-07 18:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Nehez 2017-10-31 09:17:04 UTC
After uprgading Kubuntu 17.04 with plasmoid BatteryTime, Plasmashell gets frozen after logging in.
It turned out that there is a problem with this plasmoid, and when I renamed the folder and restarted system, everything got fine.

This is error from .xsession-errors:

unknown: file:///home/petr/.local/share/plasma/plasmoids/com.github.zren.batterytime/contents/ui/main.qml:252:4: QML Text: Binding loop detected for property "height"
Comment 1 David Edmundson 2017-10-31 12:31:27 UTC
That line of output has nothing to do wtih a freeze.
(also it's clearly not come from plasma)

If you have a freeze please run

"sudo gdb --pid `pidof plasmashell`"
then type "bt" and copy and paste that output.

We can do nothing with this, sorry.
Comment 2 Petr Nehez 2017-10-31 13:05:18 UTC
OK, I have written it in a bad way.
Plasmashell was utilizing 1 core on 100% and doing a lot of IO writes.
That line was the only thing I have found out by executing 
* "lsof | grep plasmashe" 
* "sudo strace -p XXXX -v"
and checking what was being written.

And that line was the only thing that was being written.

When I deleted the folder "/home/petr/.local/share/plasma/plasmoids/com.github.zren.batterytime/" and restarted system, plasmashell started correctly.

I deleted the folder after logging in and pressing of Ctrl+Alt+F1 and logging in again in terminal.

Now I have no idea how you want from me to debug it after fixing of the issue.
My computers was not usable after upgrade until I deleted that folder.
Comment 3 David Edmundson 2017-10-31 13:07:43 UTC
>When I deleted the folder "/home/petr/.local/share/plasma/plasmoids/com.github.zren.batterytime/" and restarted system, plasmashell started correctly.

Sounds like they're stuck in a layout loop. 
But not Plasma code, so I can't do anything.
Comment 4 Petr Nehez 2017-10-31 13:14:29 UTC
OK, I understand it is not specifically Plasma's code, but would it be possible to disable all plasmoids while doing an upgrade?

This would avoid such problems.
For less experienced users this would mean full reinstall only...