Application: plasmashell (5.7.2) Qt Version: 5.7.0 Frameworks Version: 5.24.0 Operating System: Linux 4.4.23 x86_64 Distribution (Platform): Slackware Packages -- Information about the crash: - What I was doing when the application crashed: Uninstalling widget Weather Widget. I'm using Slackware Current and kernel 4.4.23 Uninstallation made by the widget panel on the desktop The crash can be reproduced sometimes. -- Backtrace: Application: Plasma (plasmashell), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f00c7105080 (LWP 2277))] Thread 15 (Thread 0x7efff4c85700 (LWP 3410)): #0 0x00007f00b7906854 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0 #1 0x00007f00b78c390d in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f00b78c3b4c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f00bfb8703b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007f00bfb34d5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f00bf96a7bc in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #6 0x00007efff5e00805 in () at /usr/lib64/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so #7 0x00007f00bf96f139 in () at /usr/lib64/libQt5Core.so.5 #8 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #9 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 14 (Thread 0x7eff3aba2700 (LWP 2843)): #0 0x00007f00b7906839 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0 #1 0x00007f00b78c34cc in g_main_context_check () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f00b78c39e8 in () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f00b78c3b4c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #4 0x00007f00bfb8703b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f00bfb34d5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #6 0x00007f00bf96a7bc in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #7 0x00007f00bf96f139 in () at /usr/lib64/libQt5Core.so.5 #8 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #9 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 13 (Thread 0x7eff3b3a3700 (LWP 2838)): #0 0x00007f00bed60cdd in poll () at /lib64/libc.so.6 #1 0x00007f00b78c3a44 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f00b78c3b4c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f00bfb8703b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007f00bfb34d5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f00bf96a7bc in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #6 0x00007f00bf96f139 in () at /usr/lib64/libQt5Core.so.5 #7 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #8 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 12 (Thread 0x7eff3bba4700 (LWP 2837)): #0 0x00007f00be0c547f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007eff7f3d6d24 in () at /usr/lib64/libQt5WebKit.so.5 #2 0x00007eff7f3d6f66 in () at /usr/lib64/libQt5WebKit.so.5 #3 0x00007eff8047b611 in () at /usr/lib64/libQt5WebKit.so.5 #4 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #5 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 11 (Thread 0x7eff3c3a5700 (LWP 2836)): #0 0x00007f00bfb8531f in QTimerInfoList::timerWait(timespec&) () at /usr/lib64/libQt5Core.so.5 #1 0x00007f00bfb8666e in () at /usr/lib64/libQt5Core.so.5 #2 0x00007f00b78c306d in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f00b78c3973 in () at /usr/lib64/libglib-2.0.so.0 #4 0x00007f00b78c3b4c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #5 0x00007f00bfb8703b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #6 0x00007f00bfb34d5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #7 0x00007f00bf96a7bc in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #8 0x00007f00bf96f139 in () at /usr/lib64/libQt5Core.so.5 #9 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #10 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 10 (Thread 0x7effacb76700 (LWP 2835)): #0 0x00007f00be0c547f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007eff8044ca6b in () at /usr/lib64/libQt5WebKit.so.5 #2 0x00007eff8044caa9 in () at /usr/lib64/libQt5WebKit.so.5 #3 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 9 (Thread 0x7effad377700 (LWP 2696)): #0 0x00007f00b78c2fb0 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0 #1 0x00007f00b78c3973 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f00b78c3b4c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f00bfb8703b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007f00bfb34d5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f00bf96a7bc in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #6 0x00007f00bf96f139 in () at /usr/lib64/libQt5Core.so.5 #7 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #8 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 8 (Thread 0x7f0006d6e700 (LWP 2386)): #0 0x00007f00b78c0c61 in () at /usr/lib64/libglib-2.0.so.0 #1 0x00007f00b78c300b in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f00b78c3973 in () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f00b78c3b4c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #4 0x00007f00bfb8703b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f00bfb34d5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #6 0x00007f00bf96a7bc in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #7 0x00007f00c479c592 in () at /usr/lib64/libQt5Quick.so.5 #8 0x00007f00bf96f139 in () at /usr/lib64/libQt5Core.so.5 #9 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #10 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 7 (Thread 0x7f009a6e0700 (LWP 2343)): #0 0x00007f00be0c547f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f00c6801484 in () at /usr/lib64/libQt5Script.so.5 #2 0x00007f00c68014c9 in () at /usr/lib64/libQt5Script.so.5 #3 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 6 (Thread 0x7f009b787700 (LWP 2342)): #0 0x00007f00b7906854 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0 #1 0x00007f00b78c34b9 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f00b78c39e8 in () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f00b78c3b4c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #4 0x00007f00bfb8703b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f00bfb34d5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #6 0x00007f00bf96a7bc in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #7 0x00007f00bf96f139 in () at /usr/lib64/libQt5Core.so.5 #8 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #9 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 5 (Thread 0x7f00a5fc0700 (LWP 2328)): #0 0x00007f00bed60cdd in poll () at /lib64/libc.so.6 #1 0x00007f00b78c3a44 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f00b78c3b4c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f00bfb8703b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007f00bfb34d5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f00bf96a7bc in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #6 0x00007f00c3c1e085 in () at /usr/lib64/libQt5Qml.so.5 #7 0x00007f00bf96f139 in () at /usr/lib64/libQt5Core.so.5 #8 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #9 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 4 (Thread 0x7f00a7fff700 (LWP 2287)): #0 0x00007f00b7906854 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0 #1 0x00007f00b78c3b56 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f00bfb8703b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #3 0x00007f00bfb34d5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007f00bf96a7bc in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #5 0x00007f00c3c1e085 in () at /usr/lib64/libQt5Qml.so.5 #6 0x00007f00bf96f139 in () at /usr/lib64/libQt5Core.so.5 #7 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #8 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 3 (Thread 0x7f00ada42700 (LWP 2282)): #0 0x00007f00bed60cdd in poll () at /lib64/libc.so.6 #1 0x00007f00b78c3a44 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f00b78c3b4c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f00bfb8703b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007f00bfb34d5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f00bf96a7bc in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #6 0x00007f00c070b505 in () at /usr/lib64/libQt5DBus.so.5 #7 0x00007f00bf96f139 in () at /usr/lib64/libQt5Core.so.5 #8 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #9 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7f00af44d700 (LWP 2279)): #0 0x00007f00bed60cdd in poll () at /lib64/libc.so.6 #1 0x00007f00c514e102 in () at /usr/lib64/libxcb.so.1 #2 0x00007f00c514fc8f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1 #3 0x00007f00b194b9e9 in () at /usr/lib64/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5 #4 0x00007f00bf96f139 in () at /usr/lib64/libQt5Core.so.5 #5 0x00007f00be0bf6a4 in start_thread () at /lib64/libpthread.so.0 #6 0x00007f00bed6cbff in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7f00c7105080 (LWP 2277)): [KCrash Handler] #6 0x00007f00c447c01f in () at /usr/lib64/libKF5Package.so.5 #7 0x00007f00c4482417 in () at /usr/lib64/libKF5Package.so.5 #8 0x00007f00c447f17d in KPackage::Package::setPath(QString const&) () at /usr/lib64/libKF5Package.so.5 #9 0x00007f00c4489ed0 in () at /usr/lib64/libKF5Package.so.5 #10 0x00007f00bfb60721 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5 #11 0x00007f00c0d0ae2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #12 0x00007f00c0d12246 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #13 0x00007f00bfb367e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #14 0x00007f00bfb38ddb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5 #15 0x00007f00bfb86c13 in () at /usr/lib64/libQt5Core.so.5 #16 0x00007f00b78c3877 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #17 0x00007f00b78c3aa8 in () at /usr/lib64/libglib-2.0.so.0 #18 0x00007f00b78c3b4c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #19 0x00007f00bfb8701f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #20 0x00007f00bfb34d5a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #21 0x00007f00bfb3cd8d in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5 #22 0x000000000041ce0d in () #23 0x00007f00bec85350 in __libc_start_main () at /lib64/libc.so.6 #24 0x000000000041d039 in _start () Reported using DrKonqi
Better trace Thread 1 (Thread 0x7f2edc01cf40 (LWP 26890)): [KCrash Handler] #6 0x00007f2ed939df46 in std::__atomic_base<int>::operator++ (this=0x7f2ed8892c33 <QQmlGuard<QObject>::setObject(QObject*)+59>) at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.2.1/../../../../include/c++/6.2.1/bits/atomic_base.h:296 #7 0x00007f2ed939df15 in QAtomicOps<int>::ref<int> (_q_value=...) at /opt/qt5/include/QtCore/qatomic_cxx11.h:265 #8 0x00007f2ed939def5 in QBasicAtomicInteger<int>::ref (this=0x7f2ed8892c33 <QQmlGuard<QObject>::setObject(QObject*)+59>) at /opt/qt5/include/QtCore/qbasicatomic.h:110 #9 0x00007f2ed939ecc4 in QWeakPointer<QObject>::QWeakPointer (this=0x7ffdf7952d30, other=...) at /opt/qt5/include/QtCore/qsharedpointer_impl.h:583 #10 0x00007f2ed939ec53 in QWeakPointer<QObject>::operator= (this=0x6074098, other=...) at /opt/qt5/include/QtCore/qsharedpointer_impl.h:596 #11 0x00007f2ed939d6af in QPointer<KPackage::PackageStructure>::operator= (this=0x6074098) at /opt/qt5/include/QtCore/qpointer.h:53 #12 0x00007f2ed939ad3a in KPackage::PackagePrivate::operator= (this=0x6074090, rhs=...) at /home/david/projects/kde5/src/frameworks/kpackage/src/kpackage/package.cpp:854 #13 0x00007f2ed939accd in KPackage::PackagePrivate::PackagePrivate (this=0x6074090, other=...) at /home/david/projects/kde5/src/frameworks/kpackage/src/kpackage/package.cpp:834 #14 0x00007f2ed939fe96 in QExplicitlySharedDataPointer<KPackage::PackagePrivate>::clone (this=0x7ffdf7950b50) at /opt/qt5/include/QtCore/qshareddata.h:248 #15 0x00007f2ed939fdf9 in QExplicitlySharedDataPointer<KPackage::PackagePrivate>::detach_helper (this=0x7ffdf7950b50) at /opt/qt5/include/QtCore/qshareddata.h:254 #16 0x00007f2ed939b8df in QExplicitlySharedDataPointer<KPackage::PackagePrivate>::detach (this=0x7ffdf7950b50) at /opt/qt5/include/QtCore/qshareddata.h:147 #17 0x00007f2ed9398437 in KPackage::Package::setPath (this=0x7ffdf7950b48, path=...) at /home/david/projects/kde5/src/frameworks/kpackage/src/kpackage/package.cpp:456 #18 0x00007f2ed93ab17f in KPackage::PackageJob::PackageJob(KPackage::Package*, QObject*)::$_0::operator()(QString const&) const (this=0x77d2ea0, installPath=...) at /home/david/projects/kde5/src/frameworks/kpackage/src/kpackage/private/packagejob.cpp:46 #19 0x00007f2ed93ab131 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, KPackage::PackageJob::PackageJob(KPackage::Package*, QObject*)::$_0>::call(KPackage::PackageJob::PackageJob(KPackage::Package*, QObject*)::$_0&, void**) (f=..., arg=0x5d49550) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:137 #20 0x00007f2ed93ab101 in QtPrivate::Functor<KPackage::PackageJob::PackageJob(KPackage::Package*, QObject*)::$_0, 1>::call<QtPrivate::List<QString const&>, void>(KPackage::PackageJob::PackageJob(KPackage::Package*, QObject*)::$_0&, void*, void**) (f=..., arg=0x5d49550) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:194 #21 0x00007f2ed93ab0ad in QtPrivate::QFunctorSlotObject<KPackage::PackageJob::PackageJob(KPackage::Package*, QObject*)::$_0, 1, QtPrivate::List<QString const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x77d2e90, r=0x7bb6050, a=0x5d49550, ret=0x0) at /opt/qt5/include/QtCore/qobject_impl.h:168 #22 0x00007f2ed519a587 in QtPrivate::QSlotObjectBase::call (this=0x77d2e90, r=0x7bb6050, a=0x5d49550) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/kernel/qobject_impl.h:101 #23 0x00007f2ed518f9f1 in QMetaCallEvent::placeMetaCall (this=0x67331b0, object=0x7bb6050) at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:500 #24 0x00007f2ed5190ae2 in QObject::event (this=0x7bb6050, e=0x67331b0) at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:1263 #25 0x00007f2ed5c7c460 in QApplicationPrivate::notify_helper (this=0x2443500, receiver=0x7bb6050, e=0x67331b0) at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3741 #26 0x00007f2ed5c7984a in QApplication::notify (this=0x7ffdf7954690, receiver=0x7bb6050, e=0x67331b0) at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3101 #27 0x00007f2ed5156568 in QCoreApplication::notifyInternal2 (receiver=0x7bb6050, event=0x67331b0) at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:988 #28 0x00007f2ed515a5d4 in QCoreApplication::sendEvent (receiver=0x7bb6050, event=0x67331b0) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/kernel/qcoreapplication.h:231 #29 0x00007f2ed5157987 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2439980) at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1636 #30 0x00007f2ed5157304 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1490 #31 0x00007f2ed51d2c2c in postEventSourceDispatch (s=0x2497900) at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:276 #32 0x00007f2ecd603e67 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #33 0x00007f2ecd6040d0 in ?? () from /usr/lib/libglib-2.0.so.0 #34 0x00007f2ecd60417c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #35 0x00007f2ed51d33e3 in QEventDispatcherGlib::processEvents (this=0x24a2f30, flags=...) at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:423 #36 0x00007f2ec9092b1e in QPAEventDispatcherGlib::processEvents (this=0x24a2f30, flags=...) at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:121 #37 0x00007f2ed5152f4a in QEventLoop::processEvents (this=0x7ffdf7953ed0, flags=...) at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:134 #38 0x00007f2ed5153246 in QEventLoop::exec (this=0x7ffdf7953ed0, flags=...) at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:212 #39 0x00007f2ed5156cb2 in QCoreApplication::exec () at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1261 #40 0x00007f2ed55996c6 in QGuiApplication::exec () at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1653 #41 0x00007f2ed5c79225 in QApplication::exec () at /run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:2917 #42 0x00000000004224c3 in main (argc=1, argv=0x7ffdf7954798) at /home/david/projects/kde5/src/kde/workspace/plasma-workspace/shell/main.cpp:166
Git commit cfb69e21fb0aad92f403487b4c8a75b2b0bc8041 by David Edmundson. Committed on 16/10/2016 at 12:13. Pushed by davidedmundson into branch 'master'. Fix dangling pointer in KPackageJob A KPackage::Package object uses qexplicitlyshareddata, and it designed to be kept on the stack and copied. However, PackageJob takes a pointer to a package, which it later updates, which is expected to exist for the lifecycle of the job. This means Package p = PackageLoader::self()->loadPackage(..); p.install(); will crash. Given that, I don't think this is an application error, and but a library bug. Both plasmashell installation and uninstallation have this problem: Related: bug 369935 As Package is not a QObject we can't just use a QWeakPointer, and we can't just copy the Package in the packagejob as we need to detatch and update the \*original\* KPackage instance. Also to match behaviour we need to do this without changing any other KPackage instances sharing the same shareddata. Not a neat fix at all, but there aren't many options that work without breaking API or behaviour. REVIEW: 129187 M +31 -1 autotests/plasmoidpackagetest.cpp M +1 -0 autotests/plasmoidpackagetest.h M +9 -0 src/kpackage/package.cpp M +20 -0 src/kpackage/private/package_p.h M +12 -1 src/kpackage/private/packagejob.cpp http://commits.kde.org/kpackage/cfb69e21fb0aad92f403487b4c8a75b2b0bc8041
*** Bug 371992 has been marked as a duplicate of this bug. ***