Bug 405659

Summary: Plasma segfault when removing widget
Product: [Plasma] plasmashell Reporter: Ron <ron.atkins>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED WORKSFORME    
Severity: crash CC: alvaro.prata.filho, justin.zobel, plasma-bugs-null
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.13.5   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Ron 2019-03-19 19:32:25 UTC
Application: plasmashell (5.13.5)

Qt Version: 5.11.1
Frameworks Version: 5.50.0
Operating System: Linux 4.18.0-16-generic x86_64
Distribution: Ubuntu 18.10

-- Information about the crash:
- What I was doing when the application crashed:
I noticed that my weather widget was missing from the system tray.  I turned it back on in the configuration settings but it didn't show.  I then add the weather widget directly on the panel.  It then occurred to me that what I needed to do was logout and in.  After a log cycle the weather came back under the system tray so I attempted to remove the duplicate that was on the panel directly and Plasma crashed.

- Unusual behavior I noticed: Missing both the weather widget and MS Teams widget.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe1e7d47840 (LWP 62853))]

Thread 7 (Thread 0x7fe13b297700 (LWP 63915)):
#0  0x00007fe1eb9360f1 in g_private_get () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe1eb918610 in g_thread_self () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe1eb8eff5d in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe1ee79515b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe1ee74216b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe1ee5910b6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe14024c8b7 in KCupsConnection::run() () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007fe1ee59ac87 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fe1ee104164 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007fe1ee27edef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fe143073700 (LWP 63863)):
#0  0x00007fe1ee2726d9 in __GI___poll (fds=0x7fe13c004e10, nfds=1, timeout=9483) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe1eb8efe46 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe1eb8eff6c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe1ee79515b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe1ee74216b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe1ee5910b6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe1ee59ac87 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe1ee104164 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007fe1ee27edef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fe14de87700 (LWP 63189)):
#0  0x00007fe1ee2726d9 in __GI___poll (fds=0x7fe148005590, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe1eb8efe46 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe1eb8eff6c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe1ee79515b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe1ee74216b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe1ee5910b6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe1f015d396 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fe1ee59ac87 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fe1ee104164 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007fe1ee27edef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fe1def91700 (LWP 63123)):
#0  0x00007fe1ee10a2eb in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fe1f0ba1fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fe1ee10a2eb in __pthread_cond_wait_common (abstime=0x0, mutex=0x7fe1f0ba1f68, cond=0x7fe1f0ba1f90) at pthread_cond_wait.c:502
#2  0x00007fe1ee10a2eb in __pthread_cond_wait (cond=0x7fe1f0ba1f90, mutex=0x7fe1f0ba1f68) at pthread_cond_wait.c:655
#3  0x00007fe1f0aaae2a in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007fe1f0aaae49 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007fe1ee104164 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fe1ee27edef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe1dffff700 (LWP 62901)):
#0  0x00007fe1ee28d9d0 in __GI___clock_gettime (clock_id=1, tp=0x7fe1dfffea80) at ../sysdeps/unix/clock_gettime.c:115
#1  0x00007fe1ee794a81 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fe1ee7932b9 in QTimerInfoList::updateCurrentTime() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fe1ee7938b5 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe1ee794ede in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe1eb8ef379 in g_main_context_prepare () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fe1eb8efd7b in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fe1eb8eff6c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fe1ee79515b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fe1ee74216b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fe1ee5910b6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fe1efed81f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007fe1ee59ac87 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fe1ee104164 in start_thread (arg=<optimized out>) at pthread_create.c:486
#14 0x00007fe1ee27edef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe1e5732700 (LWP 62872)):
#0  0x00007fe1ee58de6f in QMutex::unlock() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fe1ee795625 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fe1eb8ef821 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe1eb8efdf0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe1eb8eff6c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe1ee79515b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe1ee74216b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe1ee5910b6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fe1ef8dd545 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fe1ee59ac87 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fe1ee104164 in start_thread (arg=<optimized out>) at pthread_create.c:486
#11 0x00007fe1ee27edef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe1e7d47840 (LWP 62853)):
[KCrash Handler]
#6  0x00007fe1f0224a46 in QQuickItem::~QQuickItem() () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fe14e372ecd in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#8  0x00007fe14e3729a3 in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#9  0x00007fe1f021da73 in QQuickItemPrivate::itemChange(QQuickItem::ItemChange, QQuickItem::ItemChangeData const&) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007fe1f021dff5 in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007fe1f021df0f in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007fe1f021df0f in QQuickItemPrivate::setEffectiveVisibleRecur(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007fe1f022362b in QQuickItem::setParentItem(QQuickItem*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007fe1f0224a78 in QQuickItem::~QQuickItem() () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#15 0x00007fe14e370bf0 in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#16 0x00007fe14e36c5c0 in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#17 0x00007fe1f0bd8066 in PlasmaQuick::AppletQuickItem::~AppletQuickItem() () at /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#18 0x00007fe1df1d7e09 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#19 0x00007fe1ee76a6ab in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fe1ee7733a4 in QObject::~QObject() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fe1df1d3dc4 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#22 0x00007fe1f05097cb in  () at /usr/lib/x86_64-linux-gnu/libKF5Plasma.so.5
#23 0x00007fe1f05099d9 in  () at /usr/lib/x86_64-linux-gnu/libKF5Plasma.so.5
#24 0x00007fe1f04f56d9 in Plasma::Applet::~Applet() () at /usr/lib/x86_64-linux-gnu/libKF5Plasma.so.5
#25 0x00007fe1df02a909 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/applets/plasma_applet_weather.so
#26 0x00007fe1ee76cfb0 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fe1ef1df4a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007fe1ef1e6ae0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007fe1ee743499 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007fe1ee74648b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fe1ee795b23 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fe1eb8efc3e in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fe1eb8efed8 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fe1eb8eff6c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fe1ee795143 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fe1e7705e51 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#37 0x00007fe1ee74216b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007fe1ee74a2e2 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x000055716bcd032b in  ()
#40 0x00007fe1ee18809b in __libc_start_main (main=0x55716bccf820, argc=1, argv=0x7ffe9c6ef1c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe9c6ef1b8) at ../csu/libc-start.c:308
#41 0x000055716bcd077a in _start ()
[Inferior 1 (process 62853) detached]

Reported using DrKonqi
Comment 1 Alvaro Prataviera Filho 2019-11-13 15:47:34 UTC
Created attachment 123892 [details]
New crash information added by DrKonqi

plasmashell (5.17.2) using Qt 5.13.2

- What I was doing when the application crashed:
I was excluding some notes widgets (that was created because I've put my notebook above another notebook, but I'm not sure if that was the cause) and I was also excluding the notification ballons.
- Unusual behavior I noticed:
The screen went black and when the system came back, the note widgets that I had excluded came back to my desktop

-- Backtrace (Reduced):
#6  0x00007f36cebf2725 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#7  0x00007f36d31afe99 in Plasma::FrameSvg::~FrameSvg() () at /usr/lib/libKF5Plasma.so.5
#8  0x00007f36cebe8c7e in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#9  0x00007f36cebf286f in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#10 0x00007f36d2a6da59 in QQuickItem::~QQuickItem() () at /usr/lib/libQt5Quick.so.5
Comment 2 Justin Zobel 2020-12-06 21:16:57 UTC
Thank you for the report.

As this was reported on an older version of plasmashell, can you please test on a recent and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 3 Bug Janitor Service 2020-12-21 04:34:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!