Bug 345723 - Plasmashell crashes on panel removal notification timeout
Summary: Plasmashell crashes on panel removal notification timeout
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 354291 360445 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-31 12:47 UTC by Bhushan Shah
Modified: 2016-03-14 13:47 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bhushan Shah 2015-03-31 12:47:16 UTC
Thread 1 (Thread 0x7f10867bd7c0 (LWP 513)):
[KCrash Handler]
#6  Plasma::Applet::destroyed (this=0x0) at /home/bshah/aur/plasma-framework-git/src/plasma-framework/src/plasma/applet.cpp:269
#7  0x0000000000442328 in operator() (this=<optimized out>, obj=<optimized out>) at /home/bshah/aur/plasma-workspace-git/src/plasma-workspace/shell/panelview.cpp:981
#8  call (f=..., arg=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:494
#9  call<QtPrivate::List<QObject*>, void> (f=..., arg=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:551
#10 QtPrivate::QFunctorSlotObject<PanelView::containmentChanged()::$_6, 1, QtPrivate::List<QObject*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=<optimized out>, this_=0x624b1f0, r=0x5d9cdd0, a=0x62608a0, ret=0x0) at /usr/include/qt/QtCore/qobject_impl.h:192
#11 0x00007f1081c7206a in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#12 0x00007f1081f781d8 in QWindow::event(QEvent*) () from /usr/lib/libQt5Gui.so.5
#13 0x00007f1084805223 in QQuickWindow::event(QEvent*) () from /usr/lib/libQt5Quick.so.5
#14 0x000000000044107b in PanelView::event (this=0x549b690, e=0x477c180) at /home/bshah/aur/plasma-workspace-git/src/plasma-workspace/shell/panelview.cpp:777
#15 0x00007f1082739acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f108273ef10 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007f1081c40d1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#18 0x00007f1081c42d5b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#19 0x00007f1081c98c83 in ?? () from /usr/lib/libQt5Core.so.5
#20 0x00007f107e16f71d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0x00007f107e16fa08 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007f107e16fabc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0x00007f1081c99077 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#24 0x00007f1081c3e7b2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#25 0x00007f1081c4618c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#26 0x0000000000432d90 in main (argc=<optimized out>, argv=<optimized out>) at /home/bshah/aur/plasma-workspace-git/src/plasma-workspace/shell/main.cpp:154

Reproducible: Always

Steps to Reproduce:
1. Remove panel
2. Wait
3.
Comment 1 Marco Martin 2015-04-01 11:19:02 UTC
looks like a destroyed() signal is emitted when the object is already destroyed? (it's supposed to be still valid in the signal handler)
Comment 2 Marco Martin 2015-04-13 12:02:38 UTC
Bhushan: can you still reproduce this?
does it happen every time or only sometimes?
Comment 3 Bhushan Shah 2015-05-12 11:59:21 UTC
Seems to work now a days..
Comment 4 David Edmundson 2015-10-24 12:38:02 UTC
Clearly it's still a problem. We've just got a bug report.

Marking that as a dupe of this as this has a better trace
Comment 5 David Edmundson 2015-10-24 12:38:08 UTC
*** Bug 354291 has been marked as a duplicate of this bug. ***
Comment 6 Anthony Fieroni 2016-03-04 19:07:24 UTC
Git commit 6bb02c88ebece5c732bbacd861002bd00999d3bc by Anthony Fieroni.
Committed on 04/03/2016 at 19:06.
Pushed by anthonyfieroni into branch 'master'.

[Applet] Don't crash on remove panel

REVIEW: 127240

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

M  +15   -10   src/plasma/private/applet_p.cpp

http://commits.kde.org/plasma-framework/6bb02c88ebece5c732bbacd861002bd00999d3bc
Comment 7 Marco Martin 2016-03-14 13:47:24 UTC
*** Bug 360445 has been marked as a duplicate of this bug. ***