Bug 413286 - plasma-browser-integration-host process at 100%CPU (on one core) when chromium started in another user's plasma session (via kdesu)
Summary: plasma-browser-integration-host process at 100%CPU (on one core) when chromiu...
Status: RESOLVED BACKTRACE
Alias: None
Product: plasma-browser-integration
Classification: Plasma
Component: Chrome (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-21 15:38 UTC by Patrick Hanft
Modified: 2019-11-13 08:24 UTC (History)
0 users

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 Patrick Hanft 2019-10-21 15:38:13 UTC
On my work computer I use my company account (using LDAP/Samba) to start my plasma session in a work context. 

However, I sometimes want to be able to look at websites from a personal context. That's why I do have a regular local user account, which I use for personal stuff. The chromium instance that is installed there is also synced with my chromium instance on my home computer via Google account. Therefore, also the support for plasma-browser-integration is active in this instance.

But usually I do not start a second X session with my personal account, but I do start chromium using `kdesu -u <personalaccount> chromium`. In this case, a process called `plasma-browser-integration-host` ist started with my personal account user, which has not started the X session. And this process continuesly reaches 100% cpu time on a single core.

I assume, this is due to the fact, that it probably doesn't have the right to talk to other graphical processes.

STEPS TO REPRODUCE
1. Have two users
2. Start plasma session with first user
3. Start chromium as second user using `kdesu -u seconduser chromium`

OBSERVED RESULT

Have `plasma-browser-integration-host` process, consuming high cpu on single core.

EXPECTED RESULT

If I still have a `plasma-browser-integration-host` process running as seconduser, it should not consume high cpu.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.17.0
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION
Comment 1 Kai Uwe Broulik 2019-10-21 15:51:05 UTC
Can you please gdb the host and see what it's doing? Probably the socket notifier going crazy.