Bug#898338: plasma-workspace: Different components hang, high CPU load

2018-05-12 Thread Dominik George
Hi,

> I think that means that the kactivities database is broken, you might
> want to try moving ~/.local/share/kactivitymanagerd.

That seems to fix it.

So is this a plasmashell bug, or a KActivity bug, or both, or none?

-nik


signature.asc
Description: PGP signature


Bug#898338: plasma-workspace: Different components hang, high CPU load

2018-05-10 Thread Maximiliano Curia

¡Hola Dominik!

El 2018-05-10 a las 22:34 +0200, Dominik George escribió:

OK, I found something:



When I kill plasmashell and start it again, in a terminal, I get the
following several times per second:



KActivities: Database can not be opened in WAL mode. Check the SQLite version 
(required >3.7.0). And whether your filesystem supports shared memory
Closing SQL connection:  "kactivities_db_resources_139838218086080_readonly"
KActivities ERROR: There is no database. This probably means that you do not 
have the Activity Manager running, or that something else is broken on your 
system. Recent documents and alike will not work!
KActivities: FATAL ERROR: Failed to contact the activity manager daemon



The last message of these is also filling up mi .xsession-errors, so I
figure it's the same error that is causing the hangs.



-nik


I think that means that the kactivities database is broken, you might want to 
try moving ~/.local/share/kactivitymanagerd.


Happy hacking,
--
"When explaining a command, or language feature, or hardware widget, first 
describe the problem it is designed to solve."

-- David Martin
Saludos /\/\ /\ >< `/


signature.asc
Description: PGP signature


Bug#898338: plasma-workspace: Different components hang, high CPU load

2018-05-10 Thread Dominik George
OK, I found something:

When I kill plasmashell and start it again, in a terminal, I get the
following several times per second:

KActivities: Database can not be opened in WAL mode. Check the SQLite version 
(required >3.7.0). And whether your filesystem supports shared memory
Closing SQL connection:  "kactivities_db_resources_139838218086080_readonly"
KActivities ERROR: There is no database. This probably means that you do not 
have the Activity Manager running, or that something else is broken on your 
system. Recent documents and alike will not work!
KActivities: FATAL ERROR: Failed to contact the activity manager daemon

The last message of these is also filling up mi .xsession-errors, so I
figure it's the same error that is causing the hangs.

-nik


signature.asc
Description: PGP signature


Bug#898338: plasma-workspace: Different components hang, high CPU load

2018-05-10 Thread Dominik George
Interesting observation:

When the panel catches up and does something, it seems to still be stuck
somewhere back in time: It froze at 21:52, when I noticed, my wall clock
showed 22:12.  At 22:17, the panel clock jumped to 21:59, some task
switching requests got handled and my sound volume exploded (because some
5-6 minutes back, I used the volume up key).

All applications not linked directly to Plasma work absolutely flawlessly
and fast.


signature.asc
Description: PGP signature


Bug#898338: plasma-workspace: Different components hang, high CPU load

2018-05-10 Thread Dominik George
Heisann,

> You might want to try using a 4.15 kernel till:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898021
> gets fixed. If the issue solves itself using a 4.15 kernel please send
> a mail to this bug with line saying Control: block 898338 with 898021

Unfortunately, the issue persists, even with kernels as old as 4.13 (I did
not test older ones).

Cheers,
Nik


signature.asc
Description: PGP signature


Bug#898338: plasma-workspace: Different components hang, high CPU load

2018-05-10 Thread Maximiliano Curia

¡Hola Dominik!

El 2018-05-10 a las 14:05 +0200, Dominik George escribió:

Package: plasma-workspace
Version: 4:5.12.5-1
Severity: important



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256



Since one of the three recent updates, the Plasma workspace is close to 
unusable.



* Panel hangs completely, windows in the panel do not change, menu is
  unresponsive, clock is stuck
* Window switcher reacts minutes after pressing Alt-Tab
* Sometimes, some component triggered minutes before start popping up, drawing 
only their
  borders but no content



The plasmashell process is constantly consuming between 100% and 150% of CPU
time, and the Xorg process also uses around 100% when doing nothing special
UI-wise, but only sometimes.



- -- System Information:
Debian Release: buster/sid
 APT prefers unstable-debug
 APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386



Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)


You might want to try using a 4.15 kernel till:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898021
gets fixed. If the issue solves itself using a 4.15 kernel please send a mail 
to this bug with line saying Control: block 898338 with 898021


Happy hacking,
--
"If the code and the comments disagree, then both are probable wrong."
-- Norm Schryer
Saludos /\/\ /\ >< `/


signature.asc
Description: PGP signature


Bug#898338: plasma-workspace: Different components hang, high CPU load

2018-05-10 Thread Dominik George
Package: plasma-workspace
Version: 4:5.12.5-1
Severity: important

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Since one of the three recent updates, the Plasma workspace is close to 
unusable.

 * Panel hangs completely, windows in the panel do not change, menu is
   unresponsive, clock is stuck
 * Window switcher reacts minutes after pressing Alt-Tab
 * Sometimes, some component triggered minutes before start popping up, drawing 
only their
   borders but no content

The plasmashell process is constantly consuming between 100% and 150% of CPU
time, and the Xorg process also uses around 100% when doing nothing special
UI-wise, but only sometimes.

- -- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8), 
LANGUAGE=nb:en_GB:en_US (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages plasma-workspace depends on:
ii  dbus-x11 1.12.8-2
ii  drkonqi  5.12.5-1
ii  frameworkintegration 5.45.0-1
ii  gdb  7.12-6+b1
ii  iso-codes3.79-1
ii  kactivitymanagerd5.12.5-1
ii  kde-cli-tools4:5.12.5-1
ii  kded55.45.0-1
ii  kinit5.45.0-1
ii  kio  5.45.0-1
ii  kpackagetool55.45.0-1
ii  kwin-common  4:5.12.5-1
ii  libappstreamqt2  0.12.0-3
ii  libc62.27-3
ii  libcln6  1.3.4-4
ii  libcolorcorrect5 4:5.12.5-1
ii  libgcc1  1:8.1.0-1
ii  libgps23 3.17-5
ii  libice6  2:1.0.9-2
ii  libkf5activities55.45.0-1
ii  libkf5auth5  5.45.0-1
ii  libkf5baloo5 5.45.0-1
ii  libkf5bookmarks5 5.45.0-1
ii  libkf5calendarevents55.45.0-1
ii  libkf5completion55.45.0-1
ii  libkf5config-bin 5.45.0-1
ii  libkf5configcore55.45.0-1
ii  libkf5configgui5 5.45.0-1
ii  libkf5configwidgets5 5.45.0-1
ii  libkf5coreaddons55.45.0-1
ii  libkf5crash5 5.45.0-1
ii  libkf5dbusaddons55.45.0-1
ii  libkf5declarative5   5.45.0-1
ii  libkf5globalaccel-bin5.45.0-1
ii  libkf5globalaccel5   5.45.0-1
ii  libkf5guiaddons5 5.45.0-1
ii  libkf5holidays5  1:5.45.0-1
ii  libkf5i18n5  5.45.0-1
ii  libkf5iconthemes55.45.0-1
ii  libkf5idletime5  5.45.0-1
ii  libkf5itemviews5 5.45.0-1
ii  libkf5jobwidgets55.45.0-1
ii  libkf5js55.45.0-1
ii  libkf5jsembed5   5.45.0-1
ii  libkf5kdelibs4support5   5.45.0-1
ii  libkf5kiocore5   5.45.0-1
ii  libkf5kiofilewidgets55.45.0-1
ii  libkf5kiogui55.45.0-1
ii  libkf5kiowidgets55.45.0-1
ii  libkf5networkmanagerqt6  5.45.0-1
ii  libkf5newstuff5  5.45.0-1
ii  libkf5notifications5 5.45.0-1
ii  libkf5notifyconfig5  5.45.0-1
ii  libkf5package5   5.45.0-1
ii  libkf5plasma55.45.0-1
ii  libkf5plasmaquick5   5.45.0-1
ii  libkf5prison55.45.0-1
ii  libkf5quickaddons5   5.45.0-1
ii  libkf5runner55.45.0-1
ii  libkf5service-bin5.45.0-1
ii  libkf5service5   5.45.0-1
ii  libkf5solid5 5.45.0-1
ii  libkf5texteditor55.45.0-1
ii  libkf5textwidgets5   5.45.0-1
ii  libkf5wallet-bin 5.45.0-1
ii  libkf5wallet55.45.0-1
ii  libkf5waylandclient5 4:5.45.0-1
ii  libkf5widgetsaddons5 5.45.0-1
ii  libkf5windowsystem5  5.45.0-1
ii  libkf5xmlgui55.45.0-1
ii  libkscreenlocker