Bug 307048 - plasma-desktop panel freezing after upgrade
Summary: plasma-desktop panel freezing after upgrade
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasma4
Classification: Plasma
Component: panel (show other bugs)
Version: 4.8.5
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-19 14:21 UTC by kenorb
Modified: 2013-06-07 06:34 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 kenorb 2012-09-19 14:21:58 UTC
I did my dist-upgrade today, but after reboot, the KDE panel is freezing all the time.
It works for the first 1-2 minutes when system is the desktop starting.
After that it's frozen and when I click on it, it takes few minutes to respond.
Then the menu is obstructing other elements, until I'll click again and wait another few minutes.
Also it doesn't show any tasks. I can't use it at all.


Reproducible: Always

Steps to Reproduce:
1. Reboot the machine.
2. Log-in
3. First few minutes it works.
4. After system is fully booted, plasma-desktop panel is freezed.
That means it doesn't react on click, and if it does, it takes few minutes to respond.



Expected Results:  
I expect it to work as before the upgrade.

$ grep kde-plasma /var/log/dpkg.log | grep 2012-09-19
2012-09-19 12:41:35 upgrade kde-plasma-desktop 5:71~pre15ubuntu12.3 5:71~pre15ubuntu12.4
2012-09-19 12:41:35 status half-configured kde-plasma-desktop 5:71~pre15ubuntu12.3
2012-09-19 12:41:35 status unpacked kde-plasma-desktop 5:71~pre15ubuntu12.3
2012-09-19 12:41:35 status half-installed kde-plasma-desktop 5:71~pre15ubuntu12.3
2012-09-19 12:41:35 status half-installed kde-plasma-desktop 5:71~pre15ubuntu12.3
2012-09-19 12:41:35 status unpacked kde-plasma-desktop 5:71~pre15ubuntu12.4
2012-09-19 12:41:35 status unpacked kde-plasma-desktop 5:71~pre15ubuntu12.4
2012-09-19 12:41:36 upgrade kde-plasma-netbook 5:71~pre15ubuntu12.3 5:71~pre15ubuntu12.4
2012-09-19 12:41:36 status half-configured kde-plasma-netbook 5:71~pre15ubuntu12.3
2012-09-19 12:41:36 status unpacked kde-plasma-netbook 5:71~pre15ubuntu12.3
2012-09-19 12:41:36 status half-installed kde-plasma-netbook 5:71~pre15ubuntu12.3
2012-09-19 12:41:36 status half-installed kde-plasma-netbook 5:71~pre15ubuntu12.3
2012-09-19 12:41:36 status unpacked kde-plasma-netbook 5:71~pre15ubuntu12.4
2012-09-19 12:41:36 status unpacked kde-plasma-netbook 5:71~pre15ubuntu12.4
2012-09-19 12:50:02 configure kde-plasma-desktop 5:71~pre15ubuntu12.4 <none>
2012-09-19 12:50:02 status unpacked kde-plasma-desktop 5:71~pre15ubuntu12.4
2012-09-19 12:50:03 status half-configured kde-plasma-desktop 5:71~pre15ubuntu12.4
2012-09-19 12:50:03 status installed kde-plasma-desktop 5:71~pre15ubuntu12.4
2012-09-19 12:50:03 configure kde-plasma-netbook 5:71~pre15ubuntu12.4 <none>
2012-09-19 12:50:03 status unpacked kde-plasma-netbook 5:71~pre15ubuntu12.4
2012-09-19 12:50:03 status half-configured kde-plasma-netbook 5:71~pre15ubuntu12.4
2012-09-19 12:50:03 status installed kde-plasma-netbook 5:71~pre15ubuntu12.4

$ lsb_release -d
Description:	Ubuntu 12.04.1 LTS

$ uname -a
Linux kenorb-HP-Compaq-8100-Elite-SFF-PC 3.5.0-15-generic #20-Ubuntu SMP Tue Sep 18 05:51:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


$ dpkg -l | grep plasma-desktop
ii  kde-plasma-desktop                     5:71~pre15ubuntu12.4                                                    KDE Plasma Desktop and minimal set of applications
ii  plasma-desktop                         4:4.8.5-0ubuntu0.1                                                      KDE Plasma workspace for desktop and laptop computers
ii  plasma-desktopthemes-artwork           4:4.8.5-0ubuntu0.1                                                      desktop themes for KDE Plasma Workspaces


$ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x20001ca "plasma-desktop"

  Absolute upper-left X:  0
  Absolute upper-left Y:  1052
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 1920
  Height: 28
  Depth: 32
  Visual: 0x82
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x2000001 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+1052  -1920+1052  -1920-0  +0-0
  -geometry 1920x28+0-0
Comment 1 kenorb 2012-09-19 14:29:32 UTC
Additional details:

kenorb    2173  0.0  2.1 1364812 83972 ?       Sl   13:42   0:03 /usr/bin/plasma-desktop
$ sudo strace -s0 -fp 2173
Process 2173 attached with 6 threads - interrupt to quit
[pid  2183] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
[pid  2181] futex(0x7f1094616f54, FUTEX_WAIT_PRIVATE, 1, NULL <unfinished ...>
[pid  2177] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
[pid  2176] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
[pid  2174] select(5, [4], NULL, NULL, NULL <unfinished ...>
[pid  2173] restart_syscall(<... resuming interrupted call ...>) = 0
[pid  2173] write(3, ""..., 8)          = 8
[pid  2173] recvfrom(7, ""..., 4096, 0, NULL, NULL) = 4096
[pid  2173] recvfrom(7, ""..., 4096, 0, NULL, NULL) = 3392
[pid  2173] recvfrom(7, 0x19a36d4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid  2173] poll([...], 11, 0)          = 2 ([...])
[pid  2173] read(3, ""..., 16)          = 8
[pid  2173] write(3, ""..., 8)          = 8
[pid  2173] write(3, ""..., 8)          = 8
[pid  2173] poll([...], 1, -1)          = 1 ([...])
[pid  2173] writev(7, [...], 3)         = 4
[pid  2173] poll([...], 1, -1)          = 1 ([...])
[pid  2173] recvfrom(7, ""..., 4096, 0, NULL, NULL) = 32
[pid  2173] recvfrom(7, 0x19a36d4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid  2173] recvfrom(7, 0x19a36d4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid  2173] sendmsg(5, {msg_name(0)=NULL, msg_iov(2)=[...], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 176
[pid  2173] poll([...], 1, 25000)       = 0 (Timeout)
[pid  2173] write(3, ""..., 8)          = 8
[pid  2173] sendmsg(5, {msg_name(0)=NULL, msg_iov(2)=[...], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 176
[pid  2173] poll([...], 1, 25000)       = ? ERESTART_RESTARTBLOCK (To be restarted)

-HUP signal kill the process. When executing it manually, I've the following errors:
/usr/bin/plasma-desktop &

QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusObjectPath: invalid path ""
plasma-desktop(7387)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability 
plasma-desktop(7387)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability 

plasma-desktop(7387)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability 
plasma-desktop(7387)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability 
plasma-desktop(7387)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability 
plasma-desktop(7387)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability 
plasma-desktop(7387)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability 
plasma-desktop(7387)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
link XMLID_34_ hasn't been detected!
link XMLID_34_ hasn't been detected!
link XMLID_36_ hasn't been detected!
plasma-desktop(7387) MessageIndicator::adjustViewSize: No parentWidget for applet widget()! 
plasma-desktop(7387) MessageIndicator::adjustViewSize: No parentWidget for applet widget()! 
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
file:///usr/share/kde4/apps/plasma/plasmoids/notifier/contents/ui/devicenotifier.qml:166:5: QML QDeclarativeListView_QML_20: Possible anchor loop detected on vertical anchor.
QGraphicsScene::addItem: item has already been added to this scene
link XMLID_34_ hasn't been detected!
link XMLID_34_ hasn't been detected!
link XMLID_36_ hasn't been detected!
QGridLayoutEngine::addItem: Cell (0, 1) already taken
(process:7387): GLib-GIO-WARNING **: Received property menu with type s does not match expected type o in the expected interface

After 5 minutes it appeared, but the problem is the same.
Comment 2 kenorb 2012-09-19 14:39:17 UTC
New errors:
link XMLID_34_ hasn't been detected!
link XMLID_34_ hasn't been detected!
link XMLID_36_ hasn't been detected!
QGridLayoutEngine::addItem: Cell (0, 1) already taken

(process:7387): GLib-GIO-WARNING **: Received property menu with type s does not match expected type o in the expected interface
void DBusMenuImporter::slotGetLayoutFinished(QDBusPendingCallWatcher*): "No such interface `com.canonical.dbusmenu' on object at path /" 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x5600012
Comment 3 kenorb 2012-09-19 14:40:39 UTC
Errors follow-up:
link XMLID_34_ hasn't been detected!
link XMLID_34_ hasn't been detected!
link XMLID_36_ hasn't been detected!
QGridLayoutEngine::addItem: Cell (0, 1) already taken

(process:7387): GLib-GIO-WARNING **: Received property menu with type s does not match expected type o in the expected interface
void DBusMenuImporter::slotGetLayoutFinished(QDBusPendingCallWatcher*): "No such interface `com.canonical.dbusmenu' on object at path /" 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x5600012
Comment 4 kenorb 2012-09-19 14:49:06 UTC
Recent link with the similar problem which I found:
http://www.mail-archive.com/active@kde.org/msg00243.html
Comment 5 kenorb 2012-09-20 10:32:42 UTC
Related dbus bug:
https://bugs.freedesktop.org/show_bug.cgi?id=55136
Comment 6 kenorb 2012-09-21 07:48:27 UTC
Before I was using Unity, but it was even worse, it was freezing all the time, crashing, lots of missing options, just a nightmare. So KDE plasma is kind of relief for me, but it's still not perfect.
Comment 7 kenorb 2012-09-21 09:51:33 UTC
Current follow-up:
https://bugs.launchpad.net/ubuntu/+source/kde-baseapps/+bug/1053910
Comment 8 Martin Flöser 2013-06-07 06:34:09 UTC
bug is marked as fixed in the downstream bug tracker