Bug 354291

Summary: Remove panel cause crash in plasmashell
Product: [Plasma] plasmashell Reporter: Anthony Fieroni <bvbfan>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: 5.4.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Anthony Fieroni 2015-10-24 05:02:33 UTC
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f673d110840 (LWP 30904))]

Thread 9 (Thread 0x7f673c4ce700 (LWP 30907)):
#0  0x0000003ae5edf59d in poll () from /lib/libc.so.6
#1  0x0000003aed60aac2 in ?? () from /usr/lib/libxcb.so.1
#2  0x0000003aed60c69f in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f673cd70679 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x000000341a8a572f in ?? () from /usr/lib/libQt5Core.so.5
#5  0x0000003ae6207374 in start_thread () from /lib/libpthread.so.0
#6  0x0000003ae5ee832d in clone () from /lib/libc.so.6

Thread 8 (Thread 0x7f673a594700 (LWP 30911)):
#0  0x0000003ae5edb5bd in read () from /lib/libc.so.6
#1  0x0000003ae8e8ae80 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x0000003ae8e48c8c in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x0000003ae8e49128 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x0000003ae8e4928c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x000000341aada9cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x000000341aa82022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#7  0x000000341a8a085c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#8  0x00000034216df1f5 in ?? () from /usr/lib/libQt5Qml.so.5
#9  0x000000341a8a572f in ?? () from /usr/lib/libQt5Core.so.5
#10 0x0000003ae6207374 in start_thread () from /lib/libpthread.so.0
#11 0x0000003ae5ee832d in clone () from /lib/libc.so.6

Thread 7 (Thread 0x7f6730aff700 (LWP 30912)):
#0  0x0000003ae620c9af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f67339e3a5b in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so
#2  0x00007f67339e3197 in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so
#3  0x0000003ae6207374 in start_thread () from /lib/libpthread.so.0
#4  0x0000003ae5ee832d in clone () from /lib/libc.so.6

Thread 6 (Thread 0x7f672992b700 (LWP 30914)):
#0  0x0000003ae8e48bf8 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#1  0x0000003ae8e49128 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x0000003ae8e4928c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x000000341aada9cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x000000341aa82022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x000000341a8a085c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00000034216df1f5 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x000000341a8a572f in ?? () from /usr/lib/libQt5Core.so.5
#8  0x0000003ae6207374 in start_thread () from /lib/libpthread.so.0
#9  0x0000003ae5ee832d in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7f6723c06700 (LWP 30917)):
#0  0x0000003ae5edf59d in poll () from /lib/libc.so.6
#1  0x0000003ae8e49184 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x0000003ae8e4928c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x000000341aada9cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x000000341aa82022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x000000341a8a085c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00000034216df1f5 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x000000341a8a572f in ?? () from /usr/lib/libQt5Core.so.5
#8  0x0000003ae6207374 in start_thread () from /lib/libpthread.so.0
#9  0x0000003ae5ee832d in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7f67225ba700 (LWP 30918)):
#0  0x0000003ae620c9af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x000000341cb7d294 in ?? () from /usr/lib/libQt5Script.so.5
#2  0x000000341cb7d2d9 in ?? () from /usr/lib/libQt5Script.so.5
#3  0x0000003ae6207374 in start_thread () from /lib/libpthread.so.0
#4  0x0000003ae5ee832d in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7f669b91b700 (LWP 30919)):
#0  0x0000003ae5edf59d in poll () from /lib/libc.so.6
#1  0x0000003ae8e49184 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x0000003ae8e4928c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x000000341aada9cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x000000341aa82022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x000000341a8a085c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x0000003090efe392 in ?? () from /usr/lib/libQt5Quick.so.5
#7  0x000000341a8a572f in ?? () from /usr/lib/libQt5Core.so.5
#8  0x0000003ae6207374 in start_thread () from /lib/libpthread.so.0
#9  0x0000003ae5ee832d in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f668c86f700 (LWP 30927)):
#0  0x0000003ae5edb5bd in read () from /lib/libc.so.6
#1  0x0000003ae8e8ae80 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x0000003ae8e48c8c in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x0000003ae8e49128 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x0000003ae8e4928c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x000000341aada9cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x000000341aa82022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#7  0x000000341a8a085c in QThread::exec() () from /usr/lib/libQt5Core.so.5
#8  0x00007f668e3d67d7 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#9  0x000000341a8a572f in ?? () from /usr/lib/libQt5Core.so.5
#10 0x0000003ae6207374 in start_thread () from /lib/libpthread.so.0
#11 0x0000003ae5ee832d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f673d110840 (LWP 30904)):
[KCrash Handler]
#5  0x00007f673d3e5180 in Plasma::Applet::destroyed() const () from /usr/lib/libKF5Plasma.so.5
#6  0x0000000000446124 in ?? ()
#7  0x000000341aab3db2 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#8  0x000000308b2fbb38 in QWindow::event(QEvent*) () from /usr/lib/libQt5Gui.so.5
#9  0x0000003090fa637b in QQuickWindow::event(QEvent*) () from /usr/lib/libQt5Quick.so.5
#10 0x000000000044535b in PanelView::event(QEvent*) ()
#11 0x000000308bd5afbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x000000308bd60130 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x000000341aa84483 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#14 0x000000341aa866f3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#15 0x000000341aada5c3 in ?? () from /usr/lib/libQt5Core.so.5
#16 0x0000003ae8e48f3d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x0000003ae8e491e8 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x0000003ae8e4928c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x000000341aada9b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#20 0x000000341aa82022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#21 0x000000308beb59d0 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f6723c28c5f in ?? () from /usr/lib/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#23 0x0000003090f8cf58 in QQuickItem::event(QEvent*) () from /usr/lib/libQt5Quick.so.5
#24 0x00007f6723c1c0b6 in ?? () from /usr/lib/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#25 0x000000308bd5afbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#26 0x000000308bd60130 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#27 0x000000341aa84483 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x0000003090f9d58d in QQuickWindow::sendEvent(QQuickItem*, QEvent*) () from /usr/lib/libQt5Quick.so.5
#29 0x0000003090f9d8be in QQuickWindowPrivate::deliverInitialMousePressEvent(QQuickItem*, QMouseEvent*) () from /usr/lib/libQt5Quick.so.5
#30 0x0000003090f9d810 in QQuickWindowPrivate::deliverInitialMousePressEvent(QQuickItem*, QMouseEvent*) () from /usr/lib/libQt5Quick.so.5
#31 0x0000003090f9d810 in QQuickWindowPrivate::deliverInitialMousePressEvent(QQuickItem*, QMouseEvent*) () from /usr/lib/libQt5Quick.so.5
#32 0x0000003090f9da27 in QQuickWindowPrivate::deliverMouseEvent(QMouseEvent*) () from /usr/lib/libQt5Quick.so.5
#33 0x0000003090f9da8f in QQuickWindow::mousePressEvent(QMouseEvent*) () from /usr/lib/libQt5Quick.so.5
#34 0x000000308b2fb855 in QWindow::event(QEvent*) () from /usr/lib/libQt5Gui.so.5
#35 0x0000003090fa637b in QQuickWindow::event(QEvent*) () from /usr/lib/libQt5Quick.so.5
#36 0x000000000043f1e6 in DesktopView::event(QEvent*) ()
#37 0x000000308bd5afbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#38 0x000000308bd60130 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#39 0x000000341aa84483 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#40 0x000000308b2f323b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#41 0x000000308b2f4d55 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#42 0x000000308b2d970f in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#43 0x00007f673cd9b580 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#44 0x0000003ae8e48f3d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#45 0x0000003ae8e491e8 in ?? () from /usr/lib/libglib-2.0.so.0
#46 0x0000003ae8e4928c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#47 0x000000341aada9b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#48 0x000000341aa82022 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#49 0x000000341aa89b9d in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#50 0x0000000000430953 in main ()


Reproducible: Always

Steps to Reproduce:
1. Add default panel (it's not needed)
2. Right click on panel
3. Remove it
4. Wait some time for DrKonqi

Actual Results:  
Crash every time on remove panel.

Expected Results:  
Remove panel must be safe operation.

It has one more issue with panel, but it's difficult to explain, but it happens every time. I don't perform restart, shutdown, logout/in nor kquitapp5 plasmashell, just suspend/resume/use and so on. After use couple of days, panel has a leak or something wrong, in systemsettings-> desktop behavior -> workspace -> show information tips are enabled, animations of this tips makes performans issue to plasmashell. Animations are slow and ugly and makes plasmashell to use more cpu, but if add new panel, you can see smooth working animations on new panel and perfomance issue on old. Then i try to remove panel old panel and crash happens :)
Comment 1 David Edmundson 2015-10-24 12:38:08 UTC

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