Bug 312075 - plasma in 4.10 RC1 crashes on start when Paste widget is added to the tray
Summary: plasma in 4.10 RC1 crashes on start when Paste widget is added to the tray
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-paste (show other bugs)
Version: 4.10.0
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: David E. Narvaez
URL:
Keywords:
: 313925 314510 314541 314555 314771 315457 315797 316193 319185 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-22 15:55 UTC by Jakub Caban
Modified: 2013-06-06 11:15 UTC (History)
21 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.1


Attachments
Crash log (4.60 KB, text/plain)
2012-12-22 16:46 UTC, Jakub Caban
Details
New crash information added by DrKonqi (13.91 KB, text/plain)
2012-12-26 19:46 UTC, Jaime Torres
Details
the one that produces the crash (96.64 KB, text/plain)
2012-12-27 09:30 UTC, Jaime Torres
Details
New crash information added by DrKonqi (7.36 KB, text/plain)
2013-02-07 00:23 UTC, brett
Details
New crash information added by DrKonqi (3.44 KB, text/plain)
2013-02-08 12:39 UTC, CisBug
Details
New crash information added by DrKonqi (8.02 KB, text/plain)
2013-02-09 18:21 UTC, Roman Bysh
Details
New crash information added by DrKonqi (8.22 KB, text/plain)
2013-02-10 06:46 UTC, Henrique Sant'Anna
Details
New crash information added by DrKonqi (8.24 KB, text/plain)
2013-02-10 06:55 UTC, Henrique Sant'Anna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Caban 2012-12-22 15:55:04 UTC
I had series of plasma crashes during start and have narrowed it down to the problem with one widget - "Paste". Whenever I will add "Paste" widget to the tray I got plasma crash on next start. Simply removing this one widget solves the issue.

Reproducible: Always

Steps to Reproduce:
1. Unlock widgets
2. Add Paste to the system Tray
3. Log out
4. Log in
Actual Results:  
Plasma desktop crash

Expected Results:  
Normal desktop start
Comment 1 Jekyll Wu 2012-12-22 16:39:07 UTC
Backtrace, please. Never assume other people can reproduce  the crash happening to you .
Comment 2 Jakub Caban 2012-12-22 16:46:50 UTC
Created attachment 75971 [details]
Crash log

Sorry should've done that at first.

Here you go. If I can provide any more useful details please just point me to them.
Comment 3 Jekyll Wu 2012-12-22 17:32:50 UTC
Paste part of backtrace inline so that it can be searched for 


Thread 1 (Thread 0x7fcc77757780 (LWP 10954)):
[KCrash Handler]
#5  0x00007fcc6b69d159 in Plasma::PopupAppletPrivate::popupConstraintsEvent(QFlags<Plasma::Constraint>) () from /usr/lib64/libplasma.so.3
#6  0x00007fcc6b648157 in Plasma::Applet::flushPendingConstraintsEvents() [clone .part.142] () from /usr/lib64/libplasma.so.3
#7  0x00007fcc59db5b66 in SystemTray::PlasmoidTask::forwardConstraintsEvent(QFlags<Plasma::Constraint>) () from /usr/lib64/kde4/plasma_applet_systemtray.so
#8  0x00007fcc59db43b4 in SystemTray::PlasmoidProtocol::forwardConstraintsEvent(QFlags<Plasma::Constraint>, Plasma::Applet*) () from /usr/lib64/kde4/plasma_applet_systemtray.so
#9  0x00007fcc59dace49 in SystemTray::Manager::forwardConstraintsEvent(QFlags<Plasma::Constraint>, Plasma::Applet*) () from /usr/lib64/kde4/plasma_applet_systemtray.so
#10 0x00007fcc59dbbac9 in SystemTray::Applet::constraintsEvent(QFlags<Plasma::Constraint>) () from /usr/lib64/kde4/plasma_applet_systemtray.so
#11 0x00007fcc6b648170 in Plasma::Applet::flushPendingConstraintsEvents() [clone .part.142] () from /usr/lib64/libplasma.so.3
Comment 4 Jaime Torres 2012-12-26 19:46:36 UTC
Created attachment 76026 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.10.60 using Qt 4.8.5

- What I was doing when the application crashed:

starting session

kdelibs git hash is 9b3529961ff02f7266b218874b52b776c5d1fae9  (25 dic)
kde-runtime git hash is 058c9bdcd8ab5d212f7b9173265c771141b0d1c8 (24 dic)
kde-workspace git hash is f0001c7d1e88ad30ad406d7001e740fe6505c349 (26 dic)


.xsession-errors messages related
plasma-desktop(19645)/plasma SystemTray::PlasmoidProtocol::addApplet: Registering task with the manager "notifier"
plasma-desktop(19645)/libplasma Plasma::PluginLoader::loadApplet: we have a script using the "declarativeappletscript" AP
I
plasma-desktop(19645)/plasma SystemTray::Manager::addTask: "Device Notifier" ( "notifier" )
plasma-desktop(19645)/plasma SystemTray::PlasmoidProtocol::addApplet: Registering task with the manager "org.kde.notifica
tions"
plasma-desktop(19645)/libplasma Plasma::PluginLoader::loadApplet: we have a script using the "declarativeappletscript" AP
I
plasma-desktop(19645)/plasma SystemTray::Manager::addTask: "Notifications" ( "org.kde.notifications" )
plasma-desktop(19645)/plasma SystemTray::PlasmoidProtocol::addApplet: Registering task with the manager "weather"
plasma-desktop(19645)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
 
plasma-desktop(19645)/plasma SystemTray::Manager::addTask: "Weather Forecast" ( "weather" )
plasma-desktop(19645)/plasma SystemTray::PlasmoidProtocol::addApplet: Registering task with the manager "paste"
plasma-desktop(19645)/plasma SystemTray::Manager::addTask: "Paste" ( "paste" )
plasma-desktop(19643): Communication problem with  "plasma-desktop" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "

-- Backtrace (Reduced):
#6  Plasma::PopupAppletPrivate::popupConstraintsEvent (this=0x43bde90, constraints=...) at /g/kdegit/kdelibs/plasma/popupapplet.cpp:240
#7  0x00007f7710bd0fa6 in Plasma::Applet::flushPendingConstraintsEvents (this=0x3d006d0) at /g/kdegit/kdelibs/plasma/applet.cpp:1361
#8  0x00007f76fceb8078 in SystemTray::PlasmoidTask::forwardConstraintsEvent (this=<optimized out>, constraints=...) at /g/kdegit/kde-workspace/plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtask.cpp:126
#9  0x00007f76fceb620d in SystemTray::PlasmoidProtocol::forwardConstraintsEvent (this=<optimized out>, constraints=..., host=0x2bf71c0) at /g/kdegit/kde-workspace/plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:54
#10 0x00007f76fceab48e in SystemTray::Manager::forwardConstraintsEvent (this=0x2a74220, constraints=..., host=<optimized out>) at /g/kdegit/kde-workspace/plasma/generic/applets/systemtray/core/manager.cpp:99
Comment 5 Jaime Torres 2012-12-27 09:30:28 UTC
Created attachment 76030 [details]
the one that produces the crash

With this .kde/share/config/plasma-desktop-appletsrc file, the crash is there. When I remove manually the config lines of applet 98 (systemtray), the crash is gone:
Comment 6 Tamás Gere 2013-01-21 10:56:27 UTC
Same here with RC2. After manually removed the systray applet from config file, the crash gone. The systray works when I re-create the applet. Seems there is something obsolete and unhandled in the config file.
Comment 7 Martin Flöser 2013-01-26 17:44:12 UTC
*** Bug 313925 has been marked as a duplicate of this bug. ***
Comment 8 brett 2013-02-07 00:23:22 UTC
Created attachment 76959 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.10.00 using Qt 4.8.2

added system tray (including essentially all sub-widgets), and rebooted.  crashed when it was loading desktop

-- Backtrace (Reduced):
#6  Plasma::PopupAppletPrivate::popupConstraintsEvent (this=0x29fb9e0, constraints=...) at ../../plasma/popupapplet.cpp:241
#7  0x00007fa36672ec5e in Plasma::Applet::flushPendingConstraintsEvents (this=0x2983300) at ../../plasma/applet.cpp:1361
#8  0x00007fa34902b8f6 in SystemTray::PlasmoidTask::forwardConstraintsEvent (this=<optimized out>, constraints=...) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtask.cpp:126
#9  0x00007fa349029d8d in SystemTray::PlasmoidProtocol::forwardConstraintsEvent (this=<optimized out>, constraints=..., host=0x214c5a0) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:54
#10 0x00007fa3490223e9 in SystemTray::Manager::forwardConstraintsEvent (this=<optimized out>, constraints=..., host=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:99
Comment 9 Jekyll Wu 2013-02-07 18:30:29 UTC
*** Bug 314510 has been marked as a duplicate of this bug. ***
Comment 10 Jekyll Wu 2013-02-07 18:30:43 UTC
*** Bug 314541 has been marked as a duplicate of this bug. ***
Comment 11 Jekyll Wu 2013-02-08 01:53:36 UTC
*** Bug 314555 has been marked as a duplicate of this bug. ***
Comment 12 CisBug 2013-02-08 12:39:24 UTC
Created attachment 77010 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.10.00 "release 546" using Qt 4.8.4

- What I was doing when the application crashed:
Plasma crashed just after logging in.
OpenSuse 12.2 i586 with KDE 4.10.00.

-- Backtrace (Reduced):
#7  0xb47e70d0 in Plasma::PopupAppletPrivate::popupConstraintsEvent (this=0x9492588, constraints=...) at /usr/src/debug/kdelibs-4.10.0/plasma/popupapplet.cpp:241
#8  0xb4789c4e in flushPendingConstraintsEvents (this=0x958f660) at /usr/src/debug/kdelibs-4.10.0/plasma/applet.cpp:1361
#9  Plasma::Applet::flushPendingConstraintsEvents (this=0x958f660) at /usr/src/debug/kdelibs-4.10.0/plasma/applet.cpp:1204
#10 0xaa75d5f1 in SystemTray::PlasmoidTask::forwardConstraintsEvent (this=0x8fae068, constraints=...) at /usr/src/debug/kde-workspace-4.10.0/plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtask.cpp:126
#11 0xaa75bc05 in SystemTray::PlasmoidProtocol::forwardConstraintsEvent (this=0x8eb7b10, constraints=..., host=0x8fae158) at /usr/src/debug/kde-workspace-4.10.0/plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:54
Comment 13 Jekyll Wu 2013-02-09 16:27:38 UTC
*** Bug 314771 has been marked as a duplicate of this bug. ***
Comment 14 Roman Bysh 2013-02-09 18:21:38 UTC
Created attachment 77060 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.10.00 "release 1" using Qt 4.8.4

This crashes when adding Plasma applet to systray.

After logging and logging in the crashed happened.

-- Backtrace (Reduced):
#6  0x00007eff1b72e811 in Plasma::PopupAppletPrivate::popupConstraintsEvent (this=0x1907e40, constraints=...) at /usr/src/debug/kdelibs-4.10.0/plasma/popupapplet.cpp:241
#7  0x00007eff1b6da118 in Plasma::Applet::flushPendingConstraintsEvents (this=0x1e2cd90) at /usr/src/debug/kdelibs-4.10.0/plasma/applet.cpp:1361
#8  0x00007eff0a2c7556 in SystemTray::PlasmoidTask::forwardConstraintsEvent (this=0x1e2cd90, constraints=<error reading variable: Cannot access memory at address 0x2>) at /usr/src/debug/kde-workspace-4.10.0/plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtask.cpp:126
#9  0x00007eff0a2c5d84 in SystemTray::PlasmoidProtocol::forwardConstraintsEvent (this=0x16e35f0, constraints=..., host=0x1704760) at /usr/src/debug/kde-workspace-4.10.0/plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:54
#10 0x00007eff0a2be809 in SystemTray::Manager::forwardConstraintsEvent (this=<optimized out>, constraints=..., host=<optimized out>) at /usr/src/debug/kde-workspace-4.10.0/plasma/generic/applets/systemtray/core/manager.cpp:99
Comment 15 Henrique Sant'Anna 2013-02-10 06:46:23 UTC
Created attachment 77078 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.10.00 using Qt 4.8.3

- What I was doing when the application crashed:
Loged in just after upgrade to KDE 4.10 (from Ubuntu backport repository.)

It will crash also if I do Alt+F2 and tupe plasma-desktop 

- Unusual behavior I noticed:
plasma-desktop crashed and the desktop didn't showed up.


- Custom settings of the application:
Packages upgraded from Ubuntu Backports

-- Backtrace (Reduced):
#6  0x00007f7ec0c30c11 in Plasma::PopupAppletPrivate::popupConstraintsEvent (this=0x2ad6290, constraints=...) at ../../plasma/popupapplet.cpp:241
#7  0x00007f7ec0bdc748 in Plasma::Applet::flushPendingConstraintsEvents (this=0x2ba6460) at ../../plasma/applet.cpp:1361
#8  0x00007f7ea4279116 in SystemTray::PlasmoidTask::forwardConstraintsEvent (this=0x2ba6460, constraints=<error reading variable: Cannot access memory at address 0x2>) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtask.cpp:126
#9  0x00007f7ea4277944 in SystemTray::PlasmoidProtocol::forwardConstraintsEvent (this=0x1f60e30, constraints=..., host=0x221e6c0) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:54
#10 0x00007f7ea42703c9 in SystemTray::Manager::forwardConstraintsEvent (this=<optimized out>, constraints=..., host=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:99
Comment 16 Henrique Sant'Anna 2013-02-10 06:55:07 UTC
Created attachment 77079 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.10.00 using Qt 4.8.3

-- Information about the crash:
- What I was doing when the application crashed:
Loged in just after upgrade to KDE 4.10 (from Ubuntu backport repository.)

It will crash also if I do Alt+F2 and tupe plasma-desktop 

- Unusual behavior I noticed:
plasma-desktop crashed and the desktop didn't showed up.


- Custom settings of the application:
Packages upgraded from Ubuntu Backports

-- Backtrace (Reduced):
#6  0x00007f7de299cc11 in Plasma::PopupAppletPrivate::popupConstraintsEvent (this=0x33adbe0, constraints=...) at ../../plasma/popupapplet.cpp:241
#7  0x00007f7de2948748 in Plasma::Applet::flushPendingConstraintsEvents (this=0x331bfe0) at ../../plasma/applet.cpp:1361
#8  0x00007f7dc5fe5116 in SystemTray::PlasmoidTask::forwardConstraintsEvent (this=0x331bfe0, constraints=<error reading variable: Cannot access memory at address 0x2>) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtask.cpp:126
#9  0x00007f7dc5fe3944 in SystemTray::PlasmoidProtocol::forwardConstraintsEvent (this=0x28708f0, constraints=..., host=0x29df140) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:54
#10 0x00007f7dc5fdc3c9 in SystemTray::Manager::forwardConstraintsEvent (this=<optimized out>, constraints=..., host=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:99
Comment 17 Hrvoje Senjan 2013-02-14 22:45:48 UTC
(In reply to comment #5)
> With this .kde/share/config/plasma-desktop-appletsrc file, the crash is
> there. When I remove manually the config lines of applet 98 (systemtray),
> the crash is gone:

No need to remove whole systray snippet,  just the paste part, e.g.
[Containments][1][Applets][45][Configuration][Applets][58]
geometry=0,0,24,24
immutability=1
plugin=paste
zvalue=0
Comment 18 Jakub Caban 2013-02-18 15:49:05 UTC
4.10.1 is getting closer and closer... Do we have any chances to get this fixed by than?

I'm really willing to help any way possible if only pointed in the right direction. So - is there anything more I can do to help fight this bug?
Comment 19 Joon Ro 2013-02-18 16:08:23 UTC
I'm having this issue as well. I'm using openSUSE 12.2 x64 with KDE 4.10.
Comment 20 Jekyll Wu 2013-02-19 16:07:31 UTC
*** Bug 315457 has been marked as a duplicate of this bug. ***
Comment 21 Roman Bysh 2013-02-19 17:31:43 UTC
It's time to mark this bug as "confirmed". Yes?
We need a patch for this bug this week. We have openSUSE 12.3 RC2 scheduled for release next week.
Comment 22 Mark Rose 2013-02-19 19:04:23 UTC
I can confirm removing paste from the plasma desktop configuration file
resolved my issue. This bug is certainly confirmed.
On Feb 19, 2013 12:31 PM, "Roman Bysh" <rb03884@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=312075
>
> --- Comment #21 from Roman Bysh <rb03884@gmail.com> ---
> It's time to mark this bug as "confirmed". Yes?
> We need a patch for this bug this week. We have openSUSE 12.3 RC2
> scheduled for
> release next week.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>
Comment 23 Alexandre Bonneau 2013-02-19 21:46:47 UTC
I can confirm the bug and the workaround (removing the paste plugin) on 4.10.
Comment 24 David E. Narvaez 2013-02-20 02:12:53 UTC
Git commit 51900bb85fa19ca4c008b4b242b2edc7b5f46789 by David E. Narváez.
Committed on 20/02/2013 at 03:10.
Pushed by narvaez into branch 'KDE/4.10'.

Initialize m_list Variable
FIXED-IN: 4.10.1

M  +1    -1    applets/paste/paste.cpp

http://commits.kde.org/kdeplasma-addons/51900bb85fa19ca4c008b4b242b2edc7b5f46789
Comment 25 michael.armbrecht 2013-02-26 10:20:31 UTC
*** Bug 315797 has been marked as a duplicate of this bug. ***
Comment 26 Roman Bysh 2013-02-26 15:52:22 UTC
Thank you for getting this resolved.
Comment 27 Christoph Feck 2013-03-05 22:22:42 UTC
*** Bug 316193 has been marked as a duplicate of this bug. ***
Comment 28 Jakub Caban 2013-03-06 00:03:43 UTC
I can confirm it's totally fixed for me with 4.10.1
Comment 29 Martin Flöser 2013-06-06 11:15:41 UTC
*** Bug 319185 has been marked as a duplicate of this bug. ***