Bug 345859

Summary: Plasmashell crashes when you click on different systemtray entry
Product: [Plasma] plasmashell Reporter: Bhushan Shah <bhush94>
Component: System TrayAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: atalanttore, kde
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bhushan Shah 2015-04-04 11:22:43 UTC
I can not reproduce this 100% everytime,

Steps to reproduce :

1) Click on network manager
2) Click on klipper icon
3) crash

Thread 1 (Thread 0x7f8fc95dd7c0 (LWP 489)):
[KCrash Handler]
#6  0x00007f8fc7081174 in QQmlContext::isValid() const () from
/usr/lib/libQt5Qml.so.5
#7  0x00007f8fc7071df9 in
QQmlExpression::QQmlExpression(QQmlScriptString const&, QQmlContext*,
QObject*, QObject*) () from /usr/lib/libQt5Qml.so.5
#8  0x00007f8fc7557bbc in ?? () from /usr/lib/libQt5Quick.so.5
#9  0x00007f8fc7139c65 in
QAbstractAnimationJob::setState(QAbstractAnimationJob::State) () from
/usr/lib/libQt5Qml.so.5
#10 0x00007f8fc713b4dc in
QSequentialAnimationGroupJob::activateCurrentAnimation(bool) () from
/usr/lib/libQt5Qml.so.5
#11 0x00007f8fc713b5bc in
QSequentialAnimationGroupJob::uncontrolledAnimationFinished(QAbstractAnimationJob*)
() from /usr/lib/libQt5Qml.so.5
#12 0x00007f8fc713912f in QAbstractAnimationJob::finished() () from
/usr/lib/libQt5Qml.so.5
#13 0x00007f8fc7139d48 in
QAbstractAnimationJob::setState(QAbstractAnimationJob::State) () from
/usr/lib/libQt5Qml.so.5
#14 0x00007f8fc759f341 in
QQuickAnimatorProxyJob::setWindow(QQuickWindow*) () from
/usr/lib/libQt5Quick.so.5
#15 0x00007f8fc4a91309 in QMetaObject::activate(QObject*, int, int,
void**) () from /usr/lib/libQt5Core.so.5
#16 0x00007f8fc7601302 in QQuickItem::windowChanged(QQuickWindow*) ()
from /usr/lib/libQt5Quick.so.5
#17 0x00007f8fc760f71f in QQuickItemPrivate::derefWindow() () from
/usr/lib/libQt5Quick.so.5
#18 0x00007f8fc761073b in QQuickItem::setParentItem(QQuickItem*) ()
from /usr/lib/libQt5Quick.so.5
#19 0x00007f8fc7610c06 in QQuickItem::~QQuickItem() () from
/usr/lib/libQt5Quick.so.5
#20 0x00007f8fc762abc6 in ?? () from /usr/lib/libQt5Quick.so.5
#21 0x00007f8fc4a920a8 in QObject::event(QEvent*) () from
/usr/lib/libQt5Core.so.5
#22 0x00007f8fc760d2eb in QQuickItem::event(QEvent*) () from
/usr/lib/libQt5Quick.so.5
#23 0x00007f8fc5559acc in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007f8fc555ef10 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libQt5Widgets.so.5
#25 0x00007f8fc4a60d1b in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/libQt5Core.so.5
#26 0x00007f8fc4a62d5b in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
() from /usr/lib/libQt5Core.so.5
#27 0x00007f8fc4ab8c83 in ?? () from /usr/lib/libQt5Core.so.5
#28 0x00007f8fc0f8f71d in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#29 0x00007f8fc0f8fa08 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007f8fc0f8fabc in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#31 0x00007f8fc4ab9077 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt5Core.so.5
#32 0x00007f8fc4a5e7b2 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#33 0x00007f8fc4a6618c in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#34 0x0000000000432dc0 in main (argc=<optimized out>, argv=<optimized
out>) at /home/bshah/aur/plasma-workspace-git/src/plasma-workspace/shell/main.cpp:154
Comment 1 David Edmundson 2015-04-25 23:41:56 UTC
*** Bug 346676 has been marked as a duplicate of this bug. ***
Comment 2 David Edmundson 2015-04-26 20:26:46 UTC
From the code it seems:
an item being removed, the animator having the window set to 0, then trying to stop the animator.

The crash involves a SequentialAnimator, the only place that's used in the system tray is if one of the applets was pulsing. i.e low battery or an SNI needing attention.

Could that be the relevant part in working out a pattern?

Bhushan can you install debug symbols for libqtdeclarative please.
Comment 3 David Edmundson 2015-04-26 22:12:41 UTC

*** This bug has been marked as a duplicate of bug 346740 ***