[kactivitymanagerd] [Bug 453550] kactivitymanagerd flood logs with "Linking" entries

2022-05-13 Thread Fabio Coatti
https://bugs.kde.org/show_bug.cgi?id=453550

--- Comment #7 from Fabio Coatti  ---
Btw, I tried to remove the empty line from 
/usr/share/kservices5/kcm_kscreen.desktop

line 11, between X-Plasma-Mainscript and Name=Display Configuration

X-KDE-FormFactors=tablet,handset,desktop
X-Plasma-MainScript=ui/main.qml

Name=Display Configuration
Name[ar]=ﺾﺒﻃ ﺎﻠﻋﺮﺿ


And now the logs are no longer growing like crazy. Maybe it is only a
coincidence, but it was worth noting it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kactivitymanagerd] [Bug 453550] kactivitymanagerd flood logs with "Linking" entries

2022-05-13 Thread Fabio Coatti
https://bugs.kde.org/show_bug.cgi?id=453550

--- Comment #6 from Fabio Coatti  ---
(In reply to Ivan Čukić from comment #5)
> A possibility would be to launch plasmashell from terminal (and enable
> logging kdebugdialog5 before that) to see the logs. I expect those will be
> visible there.

I tried, they aren't:
```
[...]
libkcups: CUPS-Get-Printers last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ExpandedRepresentation.qml:165:9:
QML HiddenItemsView: Binding loop detected for property "implicitHeight"
Plasma Shell startup completed
Plasma Shell startup completed
libkcups: 3 "Hewlett-Packard_HP_Color_LaserJet_MFP_M277dw"
libkcups: 0
libkcups: 0
QFont::setPointSizeF: Point size <= 0 (0.00), must be greater than 0
qt.svg: :2: Could not resolve property: #linearGradient10962
ktp-common-internals: Current presence changed: "offline" ""
ktp-common-internals: Requested presence changed: "available" ""
ktp-common-internals: Presence changing: true
ktp-common-internals: Connection status changed:
KTp::GlobalPresence::Connecting
ktp-common-internals: Account "gabble/jabber/google_2dim_8" enabled: true
org.kde.klipper: Checking clip data
```
And the journactl logs are still growing with the same message. The only way to
stop the issue seems to be to remove the desktop file

-- 
You are receiving this mail because:
You are watching all bug changes.

[kactivitymanagerd] [Bug 453550] kactivitymanagerd flood logs with "Linking" entries

2022-05-09 Thread Ivan Čukić
https://bugs.kde.org/show_bug.cgi?id=453550

--- Comment #5 from Ivan Čukić  ---
A possibility would be to launch plasmashell from terminal (and enable logging
kdebugdialog5 before that) to see the logs. I expect those will be visible
there.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kactivitymanagerd] [Bug 453550] kactivitymanagerd flood logs with "Linking" entries

2022-05-09 Thread Fabio Coatti
https://bugs.kde.org/show_bug.cgi?id=453550

--- Comment #4 from Fabio Coatti  ---
(In reply to Silvan Calarco from comment #3)

> After stracing plasmashell I found a lot of quick repetitions of such lines:
> 
> readlink("/usr/share/kservices5/kcm_kscreen.desktop", 0x7ffd3dc458b0, 1023)
> = -1 EINVAL (Invalid argumet)
> 
> Then I tried removing/renaming /usr/share/kservices5/kcm_kscreen.desktop and
> this caused plasmashell and kactivity to suddenly restore normal CPU usage
> and apparently work as expected.

Indeed, good catch. Same behavior/strace, removing that file fixes the CPU hog.
Maybe a weird content of the file combined with a weird parsing on plasmashell
side?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kactivitymanagerd] [Bug 453550] kactivitymanagerd flood logs with "Linking" entries

2022-05-09 Thread Silvan Calarco
https://bugs.kde.org/show_bug.cgi?id=453550

--- Comment #3 from Silvan Calarco  ---
I have a similar problem causing plasmashell and kactivitymanagerd use a lot of
CPU.

After stracing plasmashell I found a lot of quick repetitions of such lines:

readlink("/usr/share/kservices5/kcm_kscreen.desktop", 0x7ffd3dc458b0, 1023) =
-1 EINVAL (Invalid argumet)

Then I tried removing/renaming /usr/share/kservices5/kcm_kscreen.desktop and
this caused plasmashell and kactivity to suddenly restore normal CPU usage and
apparently work as expected.

My kcm_kscreen.desktop is from kscreen 5.24.5, could this be caused by a
problem introduced in this file with recent update?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kactivitymanagerd] [Bug 453550] kactivitymanagerd flood logs with "Linking" entries

2022-05-09 Thread Fabio Coatti
https://bugs.kde.org/show_bug.cgi?id=453550

--- Comment #2 from Fabio Coatti  ---
(In reply to Ivan Čukić from comment #1)
> Can you post the plasma logs so that we can tell what tries to add the
> favourite so often?

I just had a look at journactl -b /usr/bin/plasmashell output but I have not
seen anything related to favourites, activities or even such a frequent
request. Do you mean some other logs?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kactivitymanagerd] [Bug 453550] kactivitymanagerd flood logs with "Linking" entries

2022-05-09 Thread Silvan Calarco
https://bugs.kde.org/show_bug.cgi?id=453550

Silvan Calarco  changed:

   What|Removed |Added

 CC||silvan.cala...@mambasoft.it

-- 
You are receiving this mail because:
You are watching all bug changes.

[kactivitymanagerd] [Bug 453550] kactivitymanagerd flood logs with "Linking" entries

2022-05-08 Thread Ivan Čukić
https://bugs.kde.org/show_bug.cgi?id=453550

--- Comment #1 from Ivan Čukić  ---
Can you post the plasma logs so that we can tell what tries to add the
favourite so often?

-- 
You are receiving this mail because:
You are watching all bug changes.